Re: [greenstone-devel] Unable to get a list classifier to work --Resent

From Katherine Don
DateTue, 13 May 2003 08:49:30 +1200
Subject Re: [greenstone-devel] Unable to get a list classifier to work --Resent
In-Reply-To (5E03CAF3A57B2445BCD005D8423DAD452DE936-svrchmail-cityofhuntsville-com)
hi chris

This is because the AZList splits up the alpabetical categories, but not the numerical one - any items beginning with a number (ie all your Identifiers) get added into the 0-9 section, and there is no further subdivision of that.

if you know perl you could edit the AZList.pm file to also split up the 0-9 section.

katherine

Chris Vasquez wrote:

I currently have a collection of jpg images that are indexed by Titles A-Z, Dates, and Identifiers (a metadata element added to help identify each particular image).  OnTitles A-Z andDates, I get links at the top of the page as shown here:A-G H     -NO-U V-W 0-9   and 1873-1937 1940 1941-1966

Problem:  I cannot get these links to work on my Identifiers page.  It looks like it's trying to create the links at the top of the page but all I get is:0-9even though I have 100 images in the collection.

I've added the classify AZList -metadata Identifier to my collect.cfg as shown here:

classify             AZList               -metadata Title

classify             DateList            -bymonth

classify             AZList               -metadata Identifier 

During the build process I'm getting an error message stating: Useof uninitialized value in array dereference at /home/www/html/gsdl/perllib/classify/AZList.pm line 285.

To view the sample collection:http://www.ci.huntsville.tx.us/gsdl/cgi-bin/library?e=status-000-00---0--00-0-0-0prompt-14-Document---0-1l--1-en-50---20-welcome---001-001-1-0isoZz-8859Zz-1-0&a=p&p=about&c=test3

Can anyone help me figure this out?

Chris Vasquez