Re: [greenstone-users] Datelist

From John R. McPherson
DateWed, 6 Aug 2003 08:41:32 +1200
Subject Re: [greenstone-users] Datelist
In-Reply-To (NCEBLFHNNOFFNKDBBDPMAEKECBAA-djspano-jus-gov-ar)
On Tue, Aug 05, 2003 at 12:30:11PM -0300, Diego Spano wrote:
> Dear List...
>
>
> I use datelist to browse collection by dates but Greenstone doesn□t show
> hlist with year links in it...
>
> This is what I get from Greenstone interface...
>
> ************************************************
> 1999 diciembre Inician campa□a
> 2003 agosto Buscan nuevos chicos desparecidos
> 2004 abril La verdad es b□sica para tener una identidad
> mayo La identidad de los menores en riego
> Recuperan la libertad 8 chicos
>
>
> ************************************************
> I think that in the top of this list should appear shomething link 1999
> 2003 2004 but ....
>
> Do I have to configure Datelist in collect.cfg in an special way? See below
> a fragment of my collect.cfg.

Hi,
The DateList only splits up into years if there are too many entries
to fit on a single page. Currently, it won't split up into years if that
would mean there would be less than 10 items in one bin.

These numbers are hardcoded in perllib/classifiers/DateList.pm... there
are 2 lines saying
my $min = 10;
my $max = 30;
but the max is a bit misleading... it can have over 30 if it can't split
up because a new bin will have less than 10.

If you change this file, you will need to rebuild the collection to
see the effect.

Hope this helps
John McPherson