Re: [greenstone-devel] Greenstone Help text

From xiaohu@uiuc.edu
DateThu, 8 Apr 2004 12:45:22 -0500
Subject Re: [greenstone-devel] Greenstone Help text
Hi Greg,

The text in help page is generated by the macros in help.dm. This only works
for greenstone default classifier fields, such as title, source,... However, "period"
and other fields are not greenstone default ones, that's why the automatically
generated help page can only recognize them as "unknown".

One thing you can do is to modify the help.dm. It requires patience to read
those macros in that file. ( sometimes you need to refer to base.dm to see what
the macros stand for.) I remember there is a macro _simplehelp_, and you
probably need to change the wording in that macro to whatever you need.

Hope it helps!

-Xiao
University of Illinois

---- Original message ----
>Date: Wed, 7 Apr 2004 16:34:50 -0700
>From: "Gregory S. Williamson" <gsw@globexplorer.com>
>Subject: [greenstone-devel] Greenstone Help text
>To: <greenstone-devel@list.scms.waikato.ac.nz>
>
>
>Dear peoples,
>
>I have several metadata tags that I use and they all build proper indexes and
retrieve the proper icon image for the respective indexes.
>
>I have:
>indexes document:text document:Title document:Source document:
Subject document:Author document:Period
>...
>plugin HTMLPlug -metadata_fields Subject,Title,Author,Period
>...
>classify AZList -metadata Title
>classify AZList -metadata Source
>classify AZCompactList -metadata Subject -mingroup 1
>classify AZCompactList -metadata Author -mingroup 1 -buttonname
"Contributors"
>classify AZCompactList -metadata Period -mingroup 1
>...
>collectionmeta .document:text "text"
>collectionmeta .document:Title "titles"
>collectionmeta .document:Source "filenames"
>collectionmeta .document:Subject "subjects"
>collectionmeta .document:Period "time periods"
>...
>
>Title, Source (original source file name) and Subject all have corresponding
texts in the "Help" page that are sensible. The help text that is generated for
"Author" and "Period" references unknown a lot.
>
>I have looked at the macro that genereates the help texts and I am baffled ... is
there a section of the documentaion I have missed ? Or other pointers/ideas ?
>
>Thanks !
>
>Greg Williamson
>
>_______________________________________________
>greenstone-devel mailing list
>greenstone-devel@list.scms.waikato.ac.nz
>https://list.scms.waikato.ac.nz/mailman/listinfo/greenstone-devel