Re: [greenstone-users] Re: DateList

From Michael Dewsnip
DateThu, 16 Sep 2004 16:40:33 +1200
Subject Re: [greenstone-users] Re: DateList
In-Reply-To (p0611040bbd6cef6cada6-172-16-1-51)
Hi Rich,

Good question. It would be possible to extend DateList to split by day as
well, in the same way as John extended it to split by month. I don't know
what it would do to your other items that only need a year, though.

The only alternative I can think of is to use the Hierarchy classifier.
This allows you to create arbitrary hierarchies, so you can organise the
items however you want. For example, you might split by year, then month,
then day, or you might split by type (book/newspaper etc.) first, then
year, month, day etc. To use the Hierarchy classifier you need to create a
"hfile", like the ones in the demo collection's "etc" directory. You'd
certainly want to automate this, probably with a Perl or similar script.

All the best,

Michael

Rich Robinson wrote:

> I did this method on the DateList classifier but it only seems to
> have the option to display the month, not the day. Here's the
> situation: some items like newspaper articles, I'd like by year month
> day. Other items like books only need a year. What would you
> suggest for this sort of thing?
>
> Rich
>
> >Hi Rich,
> >
> >Yes, there is. The format required is "yyyymmdd", eg. "20040904" for
> >your example.
> >
> >All the best,
> >
> >Michael
> >
> >
> >
> >Rich Robinson wrote:
> >
> >> Hi,
> >>
> >> Is there a specific way to put dates in the Date Metadata field in
> >> order for the Browsing by Date to work properly? When I just had
> >> years it was fine (e.g., 2004, 1998), then on some entries I tried a
> >> format like 09-04-2004 and that did not work. Any insights?
> >>
> > > Thanks - Rich
>
> _______________________________________________
> greenstone-users mailing list
> greenstone-users@list.scms.waikato.ac.nz
> https://list.scms.waikato.ac.nz/mailman/listinfo/greenstone-users