[greenstone-users] Re: Hierarchical Metadata Sets

From David Bainbridge
DateMon, 30 Aug 2004 10:46:34 +1200
Subject [greenstone-users] Re: Hierarchical Metadata Sets
In-Reply-To (412AC430-4C993D0E-cs-waikato-ac-nz)
On Tue, Aug 24, 2004 at 04:29:36PM +1200, Michael Dewsnip wrote:
> Dynal Patel wrote:
> > HelloI was wondering if its possible to create Hierarchical metadata
> > sets using the Librarian. For Example: Type - Movie -
> > Image Jpeg tiffHow would one go about defining
> > this in the Librarian. What are possible work-arounds?thanksDynal
> >
> > ----------------------------------------------------------------


Excuse the formatting of your message above, got mangled through being
forwarded at some point. Have viewed an unmangled version, so understand
the question.

The Librarian interface does support the entry of hierarchical metadata,
using the "" character when the value is entered. Say we had the files:


and so on. Say we also had a metadata term "my.Category" then you can
define metadata values in GLI to the files as follows:

movie1.avi MovieAVI
audio1.mp3 AudioMP3
audio2.wav AudioWAV
image1.jpg ImageJPEG
image2.tiff ImageTIFF
image3.jpg ImageJPEG

As you do this, you will notice in the "Previous values" section of the
interface it will start creating folders for the items "Movie" "Audio"
and "Image" and if you open one of these folder, say "Image" then it
will contain "JPEG" and "TIFF". So in fact, by the time you're entering
the metadata for the third image, you don't have to type it in, you
can access it from the list of previous values.

The next step is a bit ugly:

Go to the Design panel, and select the "Browsing classifiers" zone.

Add a Hierarchical classifier. Select "my.Category" (or whatever you've
chosen to use, such as dc.Description) then enter "my.Category.txt" (or
whatever) into the value box for "hfile". That's the ugly bit.

Press "OK" down at the bottom of the popup window, and you're ready
to build.

Hope this helps.