Re: [greenstone-users] Need help to get Lists of metadata

From Michael Dewsnip
DateMon, 23 Feb 2004 15:38:41 +1300
Subject Re: [greenstone-users] Need help to get Lists of metadata
In-Reply-To (1076511460-402a42e433066-IMP-Lehigh-EDU)
Hi,

Try using an AZCompactList instead of a List. This groups documents with the same
metadata value together, and the classifier nodes should be formatted as you
expect.

All the best,

Michael

miz2@lehigh.edu wrote:

> Hi,
>
> I need help to get lists of some metadata: for example, a list of "Excavation
> Site". Then, documents that have the same "Excavation Site" can be listed by
> clicking on one name in the list.
>
> Courrently, what I get is a list of "document names"(title in the HTML file)
> instead of "Excavation site names". Also, the list is not correct, because it
> contains the documents that have no "excavation site name".
>
> Related part of the collect.cfg is shown below (some Chinese words in the
> file):
> -----------------------------------------------------------------------------
> indexes document:DC.ID document:DC.Radical document:DC.Source
> document:DC.Transcription document:DC.ExcSite document:DC.VslDate
> document:DC.CreatedWordId
> document:DC.ID,DC.Radical,DC.Source,DC.Transcription,DC.ExcSite,DC.VslDate,DC.Cr
> eatedWordId
>
> defaultindex
> document:DC.ID,DC.Radical,DC.Source,DC.Transcription,DC.ExcSite,DC.VslDate,DC.Cr
> eatedWordId
>
> collectionmeta .document:DC.ID "Vessel ID □□□□□*□?□"
> collectionmeta .document:DC.Radical "Radical □f□□□-"
> collectionmeta .document:DC.Source "Bibliographic Source □?-□□*"
> collectionmeta .document:DC.Transcription "Transcription □?S□-? "
> collectionmeta .document:DC.ExcSite "Excavation Site □?□□?Y□?□□??"
> collectionmeta .document:DC.VslDate "Date of Vessel □?□□?,□"
> collectionmeta .document:DC.CreatedWordId "Created Word ID: □? □□-□
> □□*□?Y"
> collectionmeta .document:DC.ID,DC.Radical,DC.Source,DC.Transcription,DC.ExcSite,
> DC.VslDate,DC.CreatedWordId "All Fields □??□??□ ?□□"
>
> plugin GMLPlug
> plugin HTMLPlug -
> metadata_fields "Title,DC.ID,DC.Radical,DC.Source,DC.Transcription,DC.ExcSite,DC
> .VslDate,DC.CreatedWordId" -assoc_files png|jpg|pdf|gif|tif|css -input_encoding
> utf8
>
> plugin ArcPlug
> plugin RecPlug
>
> classify AZList metadata=Title
> classify List metadata=DC.Radical
> classify List metadata=DC.ExcSite
>
> ------------------------------------------------------------------------------
>
> And an example of a HTML file:
>
> ===============================
>
> <HEAD>
> <TITLE>Vessel No. A497</TITLE>
> <META NAME="DC.ID" CONTENT="A497">
> <META NAME="DC.Radical" CONTENT="□□Y">
> <META NAME="DC.Source" CONTENT=" □?? □^? 4 9 7 □?□ □ □?? □□^ 1 9 5 6 □□? 1
> 2 3 □ ? 5 A 4">
> <META NAME="DC.Transcription" CONTENT=" □□Y □□? □^□ □□? □?,">
> <META NAME="DC.ExcSite" CONTENT=" □,□ 1 9 2 6 □ □ □?- □□? □?□ □,? □ □?-
> □□?">
> <META NAME="DC.VslDate" CONTENT=" □ □?□ □-□ □?Y">
> <META NAME="DC.Statement" CONTENT=" □ □,□ □ □??">
> <META NAME="DC.CreatedWordId" CONTENT="
> ">
> </HEAD>
>
> ================================
>
> Thank you,
>
> Min Zhang
>
> -------------------------------------------------
> This mail sent through IMP: http://horde.org/imp/
>
> _______________________________________________
> greenstone-users mailing list
> greenstone-users@list.scms.waikato.ac.nz
> https://list.scms.waikato.ac.nz/mailman/listinfo/greenstone-users