[greenstone-devel] Importing a XML file containing metadata encoded in simple dublin core

From Skalk van der Merwe
DateMon, 15 May 2006 11:18:25 +1200
Subject [greenstone-devel] Importing a XML file containing metadata encoded in simple dublin core
Hi there

I would like to know / have some tips on, how to importing a XML file containing metadata encoded in simple dublin core into a Greenstone library using the command line?

Can this be done? Where can I find information / documentation about this? How should I go about it?

When I have build it I will summarise for the list and may contribute the end result on the Greenstone Wiki.

The objects files (.pdf and .doc) resides on a different server and I would like to have the URL in the dc:resource tag.

I have a setup that can produce a file containing the following XML (Metadata in Dublin Core)

<?xml version="1.0" encoding="UTF-8" ?>
<!DOCTYPE rdf:RDF>
<rdf:RDF
xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
xmlns:dc="http://purl.org/dc/elements/1.1/">
<rdf:Description>
<dc:title>Title change</dc:title>
<dc:creator>Creators</dc:creator>
<dc:subject>Subject 1 - Cat, first occurrence</dc:subject>
<dc:subject>Subject 2 - Dog, second occurrence</dc:subject>
<dc:description>Description</dc:description>
<dc:date>2005-05-01</dc:date>
<dc:format>format/pdf</dc:format>
<dc:language>eng</dc:language>
<dc:publisher>Publishers</dc:publisher>
<dc:resource identifier>
http://www.vuw.ac.nz/library/instruction/cat-userguide.pdf
</dc:resource identifier>
</rdf:Description>
</rdf:RDF>


Regards,
 
Skalk van der Merwe
System Support Librarian
Victoria University of Wellington Library
Tel (04) 463-5692
Cell +64-27-563-5692