Visit this page and follow the instructions. Note: this is only necessary for Greenstone v2.62 and earlier (newer versions use CSS to generate the navigation bar automatically).
By default, the Title of a classifier is used as the button label in the navigation bar. The Title given to a classifier depends on the options used when creating it. In general, the -buttonname option will be used first, or the -metadata option if no buttonname is specified. The library looks for alternative text or translations in the macro files. If the Title is XXX, if the macro _labelXXX_ is defined, then this will be used for the label. If it is not defined, then the Title will be used as is. _textXXX_ and _textdescrXXX_ are used for the roll over text and help text on the about page. Provide translations of these macros to get translations of the label and help text.
GenericList is the only classifier that supports non [a-z0-9] metadata values. It will handle creating horizontal lists using different scripts. Support for Unicode collection has been added to GenericList since 2.73. To set this up, you need to do the following:
Only available for Greenstone version 2.81 and later. This feature is not available from GLI yet, you'll need to edit the collect.cfg file by hand.
infodbtype sqlite
Dynamic classifiers are created at runtime, so no more rebuilding is required for classifier modifications.
To add a classifier, edit the collect.cfg file and add a line like dynamic_classifier Subjects "dc.Subject"
The first option, Subjects is the name of the classifier: this is the identifier for format statements, and the name that appears in the navigation bar. This is not translatable yet. The second option "dc.Subject" is the options for the classifier. The first part specifies the metadata that it should be built on.
Further options to the classifier include
These need to be added to the classifier specification inside the quotes, for example
dynamic_classifier Subjects "dc.Subject -split_using_hierarchy_specifier | -use_hlist_at_top"
After each change you can go directly to the classifier web page and refresh to see your changes.
Formatting is done in the same way as for standard classifiers, with format statements. The format statements are specified based on the classifier name, for example, SubjectsVList and SubjectsHList (instead of CL1VList etc).
In addition, dynamic classifiers can optionally use a few new format statements:
The situation: You have a nested folder structure which you have dragged and dropped into Greenstone, and you want to have this folder available for browsing in the built collection.
To achieve this:
Otherwise create such a collection by dragging and dropping your nested folder structure into the right-hand panel of GLI's Gather tab.
Next you'll be creating metadata that specify a relative directory path, so that the folder structure is mirrored in the browsing classifier:
We're going to assign the directory structure as metadata now.
Click to select this folder and set the metadata for the field you chose in (4) above to be the relative directory path to this folder.
For instance, assume that the metadata field you wanted to set was dc.Resource Type. If one of the innermost folders you were working with was labelled "1ASCii" and was nested inside the folder structure Encodings/Ascii/, then you'd go down into the 1ASCii folder and type "Encodings/Ascii/1ASCii" as the value for the dc.Resource Type metadata. This is because the folder 1ASCii was nested inside folder Ascii which was located in Encodings.