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

From jens wille
DateSun, 06 Feb 2005 15:20:26 +0100
Subject Re: [greenstone-users] display or e-mail of recently added item
In-Reply-To (4206168E-6010900-univie-ac-at)
hi birgit!

[replying to list in order to allow others to contribute/benefit as
well ;-)]

Birgit Kellner wrote:
> thank you very much, but I guess I'm doing something wrong. The
> AZCompactList on -lastmodified doesn't display entries properly;
> it actually creates a big mess (and the document.xml that
> underlies the records is ok).
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]


> In addition, could you tell me exactly where to put the above
> javascript, so that it shows up in the standard header of my
> collection? The macro file structure is still beyond me, I'm
> afraid.

----- $GSDLHOME/macros/ -----

package document


[...custom javascript goes here...]



i can only repeat that it works for me. btw, which greenstone
version are you using? i did this with 2.52.

best regards