Re: [greenstone-users] Help : collage classifier

From Richard Managh
DateFri, 27 Apr 2007 14:26:18 +1200
Subject Re: [greenstone-users] Help : collage classifier
In-Reply-To (BAY143-F59C9229DE2555CBCCF78CBC5F0-phx-gbl)
Hi Sébastien,

Sébastien uyttenhoef wrote:
I have a question about the "Collage classifier". Is it possible to configure the feature of this?

You can view a classifiers options in Dos or Linux bash as follows:

First move to the greenstone install directory.

Secondly, set  up the greenstone environment:

In linux:
greenstone-install-dir $ . setup.bash
Your environment has successfully been set up to run Greenstone

or in Windows:

greenstone-install-dir $ setup.bat
Your environment has successfully been set up to run Greenstone


greenstone-install-dir $ Collage

Options may be passed to any classifier by including them in your collect.cfg configuration file.

Classifiers may take two types of options:

Specific options are defined within the classifier itself, and are available only to this particular classifier.

General options are inherited from parent classes of the classifier.

Collage info:

The Collage classifier plugin.

 Usage: classify Collage [options]

 specific options:
  -buttonname <string>        The label for the classifier screen and button in
                              navigation bar.
                              Default: Collage

  -geometry <string>          The dimensions of the Collage canvas. For a canvas
                              600 pixels wide by 400 pixels high, for example,
                              specify geometry as 600x400
                              Default: 600x300

  -verbosity <string>         Controls the quantity of output. 0=none, 3=lots.
                              Default: 5

  -maxDepth <string>          Images for collaging are drawn from mirroring the
                              underlying browse classifier. This controls the
                              maximum depth of the mirroring process.
                              Default: 500

  -maxDisplay <string>        The maximum number of images to show in the
                              collage at any one time.
                              Default: 25

  -imageType <string>         Used to control, by expressing file name
                              extensions, which file types are used in the
                              collage.  A list of file name extensions is
                              separated by the percent (%) symbol.
                              Default: .jpg%.png

  -bgcolor <string>           The background color of the collage canvas,
                              specified in hexadecimal form (for example #008000
                              results in a forest green background).
                              Default: #96c29a

  -refreshDelay <string>      Rate, in milliseconds, that the collage canvas is
                              Default: 1500

  -isJava2 <string>           Used to control which run-time classes of Java are
                              used. More advanced version of Java (i.e. Java 1.2
                              onwards) include more sophisticated support for
                              controlling transparency in images, this flag
                              helps control what happens, however the built-in
                              Java runtime for some browsers is version 1.1.
                              The applet is designed to, by default, auto-detect
                              which version of Java the browser is running and
                              act accordingly.
                              Default: auto

  -imageMustNotHave <string>  Used to suppress images that should not appear in
                              the collage, such as image buttons that make up
                              the navigation bar.

  -caption <string>           Optional captions to display below the collage

 general options (for BasClas):
  -buttonname <string>        The label for the classifier screen and button in
                              navigation bar. The default is the metadata
                              element specified with -metadata.

  -no_metadata_formatting     Don't do any automatic metadata formatting (for

  -builddir <string>          Where to put the built indexes.

  -outhandle <string>         The file handle to write output to.
                              Default: STDERR

  -verbosity <int>            Controls the quantity of output. 0=none, 3=lots.
                              Default: 2

Note: you add the options to your collection's collect.cfg file, or through the GLI (Greenstone Librarian Interface).

I've a second question because I would like build a bibligraphic digital library... Is it possible? But I dont use the MARC format.

Building a Bibliographic digital library is very possible. Heres an example found on this page:

Example Collection:

Richard Managh
DL Consulting
Greenstone Digital Library and Digitisation Specialists

Thanks you