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

From miz2@lehigh.edu
DateWed, 11 Feb 2004 09:57:40 -0500
Subject [greenstone-users] Need help to get Lists of metadata
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 部首"
collectionmeta .document:DC.Source "Bibliographic Source 著录"
collectionmeta .document:DC.Transcription "Transcription 释文 "
collectionmeta .document:DC.ExcSite "Excavation Site 出土é□ºå□€"
collectionmeta .document:DC.VslDate "Date of Vessel 器時代"
collectionmeta .document:DC.CreatedWordId "Created Word ID: 造字索
引號"
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="ç«Ÿ">
<META NAME="DC.Source" CONTENT=" 集 æˆ□ 4 9 7 懷 å±¥ å…‰ ( 1 9 5 6 ) 1
2 3 é □ 5 A 4">
<META NAME="DC.Transcription" CONTENT=" 竟 作 父 乙 。">
<META NAME="DC.ExcSite" CONTENT=" 傳 1 9 2 6 å¹´ æ²³ å□— æ´› 陽 é‚™ å±± è‹—
æº□">
<META NAME="DC.VslDate" CONTENT=" 西 周 早 期">
<META NAME="DC.Statement" CONTENT=" æ­¤ 為 人 å□□">
<META NAME="DC.CreatedWordId" CONTENT="
">
</HEAD>

================================

Thank you,


Min Zhang

-------------------------------------------------
This mail sent through IMP: http://horde.org/imp/