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

From Skalk van der Merwe
DateMon, 29 May 2006 13:43:02 +1200
Subject RE: [greenstone-devel] Importing a XML file containing metadata encoded in simple dublin core
Hi there Michael

Thanks for the tip.

I will let the list know how I get on.

Regards,

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

-----Original Message-----
From: Michael Dewsnip [mailto:mdewsnip@cs.waikato.ac.nz]
Sent: Monday, 29 May 2006 10:46 AM
To: Skalk van der Merwe
Cc: greenstone-devel@list.scms.waikato.ac.nz
Subject: Re: [greenstone-devel] Importing a XML file containing metadata
encoded in simple dublin core

Hi Skalk,

Probably the easiest way to do this is to write an XSLT to convert your
XML files into Greenstone's metadata.xml file format (have a look at one
in the Greenstone demo collection to see what they're like).

Greenstone will not download remote files to index them, but you can
link to remote files in the collection.

All the best,

Michael

Skalk van der Merwe wrote:

>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
>
>
>_______________________________________________
>greenstone-devel mailing list
>greenstone-devel@list.scms.waikato.ac.nz
>https://list.scms.waikato.ac.nz/mailman/listinfo/greenstone-devel
>
>
>
>