Re: [greenstone-devel] GLI and DC metadata identifier problem

From John M Thompson
DateTue, 12 Aug 2003 15:51:31 +1200
Subject Re: [greenstone-devel] GLI and DC metadata identifier problem
In-Reply-To (OFC8373240-B12BB26B-ON69256D80-00141985-69256D80-00141998-ntu-edu-au)
Hi Stephen,

Your suggestion as to what is going wrong is spot on. The unique
identifier of a metadata element is called its name, while the language
specific label that appears in the GLI is known as its identifier,
however I had these two confused when I began programming GLI and its
taken awhile to track down all of the places I've got them the wrong way
round. I unfortunately missed three places in the beta release,
including a critical one which was meant to write the element name into
the collect.cfg. I'm fairly sure that there are only three left as the
Beta testers consistantly reported the same problems. I'll fix these
three for the next release, which shouldn't be to far away.

As a temporary solution you can edit the dls.mds file found in the
<gli_folder>/metadata/ and shorten 'Subject and Keywords' to just 'Subject'.

Thanks for the information,
John Thompson
Greenstone Digital Library, University of Waikato,
New Zealand wrote:

>The DC metadata set has an attributes for each element;
>In the case of the 'subject' element the identifier element value is
>'Subject and Keywords'. The spaces in this value cause the GLI/Greenstone
>to fail in building/delivering collections which use these fields. (See
>some collect cfg text below)
>While I am not an expert on DC but I believe the answer is to change the
>identifier values to their element names instead of the 'Label' as is
>currently being used with the few offending elements. (And I don't fancy
>trying to change the GLI/Greenstone)
>As I said before- I am not a DC expert so I am not sure this is the right
>solution. Am I the only one with this problem? Please let me know what you
>think - I can send my modified metadata set to anyone who is interested.
>None of the sources I was able to find used the label as the element
>My sources of information:
>Dublin Core Metadata Element Set, Version 1.1: Reference Description
> --
>Encoding Guidelines
> --
>Metabrowser DC tutorial
> --
>indexes document:dc.Resource Type document:dc.Subject and Keywords
>defaultindex document:text
>classify AZList -metadata ex.Title
>classify AZList -metadata ex.Source
>collectionmeta .document:dc.Resource Type "resource"
>collectionmeta .document:dc.Subject and Keywords "resource"
>greenstone-devel mailing list