[greenstone-devel] Changing the Search interface

From Doug Carter
DateTue, 4 May 2004 10:57:59 -0700
Subject [greenstone-devel] Changing the Search interface
Hi all,

I'd like to change the search interface in my Greenstone setup. I
have some binary metadata, where the values are "yes" or "no". For
example, I'd like to have some metadata for "internal" or "external"
documents. In the search interface, I'd like to have a checkbox for
"internal", so that a user can enter some key words for searching,
then optionally check the "internal" box to find only those documents
that match the key words and are also "internal" documents.

I know that the produced html is all driven by macros and that it's
only a matter of defining some new macros to define this interface.

My question is, are they any good approaches to developing new macros?
I've found it a bit confusing to associate macros with html output,
due to the dynamic nature of Greenstone.

Is macro definition the right approach? Or is there a better way?


Doug Carter
Mercy Corps