Configuration file options

This page gives options available to the Greenstone 2 collection configuration file collect.cfg. This file is generated by GLI, however, if you are doing command line building you may want to edit it manually. Also, a few options here are not available through GLI.

Options only available in the configuration file
If marked as multiple, this means that you can have more than one specification of that option.

Options also available as options to import.pl and buildcol.pl
Some options can be specified on the command line to import.pl and/or buildcol.pl. In general, the syntax is the same for both cases, except for on/off options: In the config file, they must have a value (true), which in the command line they are just flags (-optionname), where setting the flag makes it true, and not setting it makes it false.

Collectionmeta options
There are some standard collectionmeta options: Other collection metadata is based on indexes, subcollections and languages. The keys must match the index names, preceded by a '.' dot. Here are some examples:

 indexes document:text,Title section:text collectionmeta .document:text,Title [l=en] "text and titles" collectionmeta .section:text [l=en] "section text" indexes text Title Subject (MGPP indexes) collectionmeta .text [l=en] "full text" collectionmeta .Title [l=en] "titles" collectionmeta .Subject [l=en] "subjects" levels document section collectionmeta .document [l=en] "document" collectionmeta .section [l=en] "chapter" languages en fr es en,fr,es collectionmeta .en [l=en] "english" collectionmeta .fr [l=en] "french" collectionmeta .es [l=en] "spanish" collectionmeta .en,fr,es [l=en] "all" 