Re: [greenstone-users] question in classifiers

From Katherine Don
DateThu, 07 Sep 2006 10:10:31 +1200
Subject Re: [greenstone-users] question in classifiers
In-Reply-To (bcb5bdd80609050037k18613aa5yab8a08494f146033-mail-gmail-com)
This answer was posted on the Greenstone in India mailing list
(greenstonesupport@iimk.ac.in)- thanks Sree -, so I am copying it to
this list

Katherine
-----------------------------------------------------

If I understood your query correctly? They are as follows:

1. You want a date classifier (browsing classifier) to be configured. You
want the collection to be sorted based on date.
2. You want the ex.Date to be suppressed.

Please note for datewise listing, your DC dates should be in YYYYMMDD
format - i.e., say for 06 September 2006, it is 20060906 and so on.

Date Browsing Classifier:
-------------------------

1. In the Browsing Classifier, select "DateList" as the preferred
classifier and then click ADD Classifier. In the popup screen, select
dc.Date, and then enable 'reverse_sort', 'bymonth'
and 'no_special_formatting'.

2. Rebuild collection.

Format Features:
---------------

You cannot edit ex.Date. For suppressing the ex.Date in the display, you
need to edit / change the VLsit format (take it from the Format Features -
Affected Component - VList). A sample edited VList is given below:

<td valign="top">[link][dc.Title][/link]</td>
<td
valign="top">[ex.srclink]{Or}{[ex.thumbicon],[ex.srcicon]}[ex./srclink]</td>
<td valign="top">[highlight]
{Or}{[dls.Title],[dc.Title],[ex.Title],Untitled}<br>Description:
[dc.Description]<br>Date: [dc.Date]<br>
[/highlight]<!--{If}{[ex.Date],<br><i>([ex.Date])</i>} --></td>

You can specifically use the following lines in your VList for your
purpose we feel. Please try this, however it worked for us:

<br>Date: [dc.Date]<br>
[/highlight]<!--{If}{[ex.Date],<br><i>([ex.Date])</i>}

Rebuild colection.


Best
Sreekumar

rafram . chaddad wrote:
> good morning,
> i am working on the collection of www.israeli-left-archive.org
> <http://www.israeli-left-archive.org>
> and i am trying to define the "dates" classifier. every time i push
> "dates" i am also getting the date when i entered the file, instead of
> only the date the file belong to.
> i understood that it's got to do with ex.date and dc.date. that i can't
> change the ex.date, is there any way i can fix that?
> note that i am not really good in computers. a "simple" answer is required.
>
> thanks
> rafram
>
> p.s.
> i tried to define the dc.date in the preferences of the date classifier,
> did "build", but it didn't change the result.
>
>
> --
> rafram
> www.notes.co.il/rafram <http://www.notes.co.il/rafram>
> (my blog in hebrew)
>
>
>
> ------------------------------------------------------------------------
>
> _______________________________________________
> greenstone-users mailing list
> greenstone-users@list.scms.waikato.ac.nz
> https://list.scms.waikato.ac.nz/mailman/listinfo/greenstone-users