Download presentation
Presentation is loading. Please wait.
Published bySpencer Shelton Modified over 8 years ago
1
LIS654 lecture 4 more on omeka Thomas Krichel 2011-10-06
2
plugin example I demonstrating the CSV import plugin. I do this because I hate interacting with a computer.
3
CVS Comma-separated values are a simple text format to represent a table. The table is a sequence of lines. The first line contains field names. The next line contains field values.
4
comma separation The separation of fields is done by comma. If the value contains a comma, it has to be surrounded by double quotes. Example table of economists Name, Birthday “Krichel, Thomas”, 1965-06-05 “Marx, Karl Heinrich”, 1818-05-05
5
CSV plugin The CSV plugin allows you to upload a CSV file. That file will describe resources you want to include in your collection. The resources can then be included in bulk into your omeka installation.
6
install Local computer way – Download the plugin from its URL, say URL to your local machine. – Upload unzipped plugin directory to ssh://user@wotan.liu.edu/omeka/plugins On wotan – cd omeka/plugins – GET URL > csv.zip – unzip csv.zip – rm csv.zip
7
activate plugin From the main menu, look for “Manage Plugins”. Look for “CSV Import”. If this is not there, you have not put the plugin files into the right place. Click “install” next to it. Accept the defaults on the next screen. You now see the “CSV Import” option on the top.
8
compose and upload the csv file A sample csv file is at http://wotan.liu.edu/home/krichel/courses/ lis654/examples/csv/ manhattan.csv You have to place it into the omeka/plugins/CsvImport/csv_files/ folder of your home directory. Delete test.csv. I don’t think that the name matters, but avoid blanks and other exotic characters in the name and give it the ending “.csv”.
9
steps 1 Step 1: Select File and Item Settings – CSV File – Item Type – Collection After that step, the CSV file is read and checked to have the proper format. If that check fails you have to edit the file.
10
step 2 The name of your columns has been recognized and you are asked to match it to the omeka information. You have three option – match to a metadata element – match to tags – mach to a file
11
map to element Map To Element” – Dublin Core (common) – Item-type dependent fields “Use HTML” means interpret value as HTML – “File” Don’t map to metadata, interpret values as file You can match to several metadata field at once.
12
match to tags “Tags” Don’t map to element, interpret values as tags. Note that tag have to be separated by the tag separator that you have fixed in your general settings. Otherwise a tag string can not be parsed into separate tags.
13
match to file for uploads “File” values have to be URLs starting with http. – Pointers to files on wotan are not supported. – No big deal because Thomas has given you the web site. Omeka will fire up a browser and fetch the file from the web.
14
successful import If the import is successful, – go to the public interface with another web browser window – check you like the result If you don’t like what you see, hit the undo link in the csv import screen. That link may not be available later.
15
http://openlib.org/home/krichel Please shutdown the computers when you are done. Thank you for your attention!
Similar presentations
© 2024 SlidePlayer.com Inc.
All rights reserved.