Re: [greenstone-users] Alphabtical separation of documents

From Michael Dewsnip
DateFri, 08 Jul 2005 10:04:31 +1200
Subject Re: [greenstone-users] Alphabtical separation of documents
In-Reply-To (006101c58227$097bc950$3501a8c0-Jack)
Hi Jack,

> I’m making a collection of around 200 documents using Greenstone
>
> I want to make my title and author classifiers separated using the
> A-B-C-D- list so that all the 200 documents appear in a single page
> while browsing by title or author
>
I'm a bit confused about what you want here -- you seem to be asking for
contradictory things!

If you want all 200 documents to appear in a single page, you can use
AZCompactList's "-mincompact" option to set the minimum number of
documents to be displayed per page (some number larger than 200).

If you want the documents to be split into groups by their first letter,
you can use the new GenericList classifier:
http://www.cs.waikato.ac.nz/~mdewsnip/greenstone/GenericList.pm.zip.
Unzip this into your Greenstone "perllibclassify" folder, and delete
the C:Documents and Settings<Username>Application
DataGreenstoneGLIclassifiers.dat file if you're using the GLI. Then,
you can use the classifier like:

classify GenericList -metadata dc.Title -hlistgrouptype perletter

> Also some of my documents have more than one author.(as in the above
> given section)
>
> How can I display the names of all authors using the format string
>
> When I’m using {If}{[dc.Creator], <tr><td align=right
> valign=top>[dc.Creator]</td>}
>
> Only the first value of dc.Creator is being displayed
>
You can use "[sibling:dc.Creator]" to display all the dc.Creator values.
(See
http://www.greenstone.org/cgi-bin/library?a=p&p=faqcustomize#customizeformat
for a list of Greenstone's formatting options).

Regards,

Michael