|From||Gregory S. Williamson|
|Date||Sun, 24 Aug 2003 17:13:58 -0700|
|Subject||[greenstone-devel] Document Metadata visible in macros/collection icons|
|I've been flailing around trying to reformat the actual output to a user of greenstone pages, and have two reasonably simple questions that I can't seem to find answers to; perhaps someone out there could shed some light.
1) Is it possible to change the collection icon on the flt(for instance, based on a given metadata element in a page) ?
2) Is it possible for the code in a macro to know the value of a metadata tag in a given page ? I have tried this in the document.dm file (headres/footers section):
Consistantly I get "no subject found" comment in the output html file both for page where I would not expect it to be set (e.g. a page where I am selecting from a list of documents) and it is also inserted on pages where the metadata tag "Subject" is defined when the DocumentText macro (from the collect.cfg file) is executed.
Thanks for any advice !