Re: [greenstone-users] display or e-mail of recently added item

From Birgit Kellner
DateSun, 06 Feb 2005 18:21:02 +0100
Subject Re: [greenstone-users] display or e-mail of recently added item
In-Reply-To (420627AA-20400-gmx-net)
jens wille wrote:

>hi birgit!
>[replying to list in order to allow others to contribute/benefit as
>well ;-)]
sorry, I had forgotten to cc to the list last time :-)

I'm using version 2.52. The Javascript now works, thanks to your advice.

But I'm still having problems with building the list:

> well, here's what i did:
>----- $GSDLHOME/collect/<colname>/etc/collect.cfg: -----
>classify AZCompactList -metadata lastmodified -sort Title
>-buttonname "last modified" -mingroup 1
>format CL<number>VList
>"<td>[link][icon][/link]</td><td>{If}{[parent:Title], [highlight]<script
>type=text/javascript>my_date([Title])</script>[/highlight], [Title]
I'd like to sort on the date when the item was added. Shouldn't I write
"-sort lastmodified" then? In addition, the list should be sorted
descending, with the most recent date on top. I guess a look at the
manual would tell me how to control the number of items shown on the
list, but if you can answer that faster, I'd be much obliged :-)

The really puzzling thing is: For some reason I get lots of empty
records shown on the "last modified" list, with no file links; ranging
from about two to 20 empty records in between full ones ...

Thanks again, and best regards,