RE: [greenstone-users] Importing of Metadata

From Anson Parker
DateMon, 17 Sep 2007 08:19:34 -0400
Subject RE: [greenstone-users] Importing of Metadata
In-Reply-To (46EE4FD3-1010707-robinson-org-nz)
yup - the MetadataCSVPlug works well -

first off make certain that the first column has your pdf / word file name in it,

then add the database to your ingestion list and put the MetadataCSVPlug at the top of your plugins list.

 to simply output the data you can use whatever the first column's names are as the features

ie

file   title   author   description
1.pdf   waves   dude   a book about waves by a dude

would be formatted out with the {<tr><td>{title}<td>{author}...

however to use the metatdata in the database in the gli you'll need to "explode the metadata"  - to do this right click on the access database in the gli and select the "explode the metadata" option - now your column headers need to be linked to the metadata values
ie
file   dc.title   dc.author   dc.description

that last step has caused me some problems, so see how it goes from part one to part two - if you don't plan on adding metadata afterwards, or if you prefer adding it into your access database it wouldn't matter anyway...

Anson

Aloha ya'll


Date: Mon, 17 Sep 2007 21:58:43 +1200
From: e@robinson.org.nz
Subject: Re: [greenstone-users] Importing of Metadata
To: dtmartin@mail.com
CC: greenstone-users@list.scms.waikato.ac.nz

Look at MetadataCSVPlug and MetadataXMLPlug.
I'm sorry I can't recall where the instructions on the format of the csv file are.
Ed Robinson

DMartin wrote:

Hello,

 

I have an MS Access database with assigned Dublin Core Metadata Elements for about 1,000 PDF and MS Word files.  I would like to know the best way to import these files into a Greenstone Collection.

 

I could create an XML or CSV file of the data if that would help?  (Does Greenstone have an import facility?)

 

Do I have to use an extension of the DBPlugin to do this?  Is there another way?

 

Any help you can give will be greatly appreciated.

 

Regards,

 

Dwight Martin

 





Can you find the hidden words?  Take a break and play Seekadoo! Play now!