[greenstone-users] Image cover in cross collection search

From Eduardo del Valle Pérez
DateFri Jul 18 23:33:48 2008
Subject [greenstone-users] Image cover in cross collection search
Hello to everybody

In our digital library we have a set of pdf collections. For each pdf we show a cover.

In the format of the Search of each collection we have this line:

<div>[srclink]<img src="[DocImage]" >[/srclink]</div>

When we perform a search within the collection the result is ok and the cover is seen correctly.
But if we perform a cross-collection searching then we cannot see the image.

I have tried with the next formating line:

<div>[srclink]<img src="/collect/[collection]/index/assoc/[DocOID]/cover.jpg" >[/srclink]</div>

But with the formatstring item [DocOID] does not work.

What is the formatstring item that writes de directory name of the current document that I could use instead of [DocOID]?
Is there any other solution

Thanks a lot for your help

Eduard del Valle
Responsable de Digitalitzaci? i Web
Cra de Valldemossa, km 7.5
Servei de Biblioteca i Documentaci?
Edifici Ramon Llull
Universitat de les Illes Balears
07122 Palma de Mallorca

Tel. 971 17 33 56
Web: http://biblioteca.uib.es

La ?ltima hora de tu ciudad en MSN Noticias
-------------- next part --------------
An HTML attachment was scrubbed...
URL: https://list.scms.waikato.ac.nz/mailman/private/greenstone-users/attachments/20080718/325bd97d/attachment.html