Re: [greenstone-users] Alphabtical separation of documents

From Jack Eapen
DateFri, 8 Jul 2005 16:19:35 +0530
Subject Re: [greenstone-users] Alphabtical separation of documents
In-Reply-To (42CDA6EF-5070300-cs-waikato-ac-nz)

Thanks for your kind reply.

Sorry to confuse you (and others). I wanted to say that

"I don't want all the 200 documents appear in a single page while browsing by title or author”

 

now I used the GenericList plugin. But then in my title classifier I’m getting documents only starting with A. there’s no link to documents with other letters.

Plz see my collect.cfg file.

 

Jack

 -----Original Message-----
From: Michael Dewsnip [mailto:mdewsnip@cs.waikato.ac.nz]
Sent
:
Friday, July 08, 2005 3:35 AM
To: Jack Eapen
Cc: greenstone-users@list.scms.waikato.ac.nz
Subject: Re: [greenstone-users] Alphabtical separation of documents

 

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


<<attachment>>
Type: application/octet-stream
Filename: collect.cfg

download