RE: [greenstone-users] First page of the document as the icon link

From Dep.Gestión Documental
DateWed, 28 Jun 2006 18:26:50 +0200
Subject RE: [greenstone-users] First page of the document as the icon link
Thank you for your kind help, Katherine.

If I try to manually add an image to greenstone/collect/xxx/archives/HASHxxxx.dir/xxx.jpg when I have the Greenstone library closed, and then I open the collection and CREATE it, when I go back to these files they are disappeared, after this creation.

On the other hand, I have checked in the archive files (greenstone/collect/xxx/archives), and I compared mine with an example collection.
After checking the metadata, I have found some differences. But I haven't been able to change those metadata, since they are the ones that are extracted by Greenstone. To be precise, I have tried to modify
<Metadata name="srcicon">View the PDF document</Metadata>

How can I resolve this?
Thank you very much,
Blanca


-----Mensaje original-----
De: Katherine Don [mailto:kjdon@cs.waikato.ac.nz]
Enviado el: lunes, 26 de junio de 2006 23:10
Para: Dep.Gestión Documental
CC: Greenstone-users (E-mail)
Asunto: Re: [greenstone-users] First page of the document as the icon
link


Hi

That looks fine.
One thing I forgot to ask in the last email was how are you processing
your PDF documents? This will only work if you have converted to images.
If you are converting to html then it won't work, as there won't be an
image for the first page, and also you may not even have sections.

You can check in the archive files (greenstone/collect/xxx/archives)
what metadata you have.

Another way of doing this would be to manually save the first page of
the PDF as a JPEG image, give it the same name as the document, and use
the cover image mechanism.

E.g. for book1.pdf you'd save an image as book1.jpg. This would get
associated with the PDF file as a cover image (cover.jpg). The
[DocImage] format element is a link to the cover image.
So you could use eg
[srclink]<img src="[DocImage]" height="40"/>[/srclink]

Hope this helps,
Katherine

Dep.Gestión Documental wrote:
> Hi,
> I guess I should write this sequence, by only changing the xxxx by the name of my collection. Is this right? It doesn't work. What am I writing incorrectly?
>
> <td valign="top">[link][icon][/link]</td>
> <td valign="top">[ex.srclink]<img
> src='/gsdl/collect/xxxx/index/assoc/[assocfilepath]/[child(first):Image]'
> height='60' width='40'/>[ex./srclink]</td>
> <td valign="top">[highlight]
> {Or}{[dls.Title],[dc.Title],[ex.Title],Untitled}
> [/highlight]{If}{[ex.Source],<br><i>([ex.Source])</i>}</td>
>
> Thanks!
> Blanca
>
> -----Mensaje original-----
> De: Katherine Don [mailto:kjdon@cs.waikato.ac.nz]
> Enviado el: viernes, 23 de junio de 2006 7:33
> Para: Dep.Gestión Documental
> CC: Greenstone-users (E-mail)
> Asunto: Re: [greenstone-users] First page of the document as the icon
> link
>
>
> Hi
>
> In your SearchVList format statement, try e.g.
>
> [srclink][child(first):srcicon][/srclink]
> (will display full size)
>
> or [srclink]<img
> src='/gsdl/collect/[collection]/index/assoc/[assocfilepath]/[child(first):Image]'
> height='60' width='40'/>[/srclink]
> (will display specified size)
>
> Regards,
> Katherine
>
> Dep.Gestión Documental wrote:
>
>>Dear friends,
>>When you are in the results page, how can you see the image of the first page of the document, instead of the pdf icon? As well, this image of the first page would be the link to the whole pdf document.
>>
>>Thank you very much!
>>
>>Blanca Muyo Redondo
>>Documentalista- Departamento de Operaciones
>>Fructuós Gelabert 2-4 08970 Sant Joan Despí
>>Barcelona (Spain) - Saniline -
>>Tel. +34 93 477 62 60 Fax +34 93 477 62 40
>>Mail: bmuyo@saniline.com ; Web: www.saniline.com
>>
>>
>>_______________________________________________
>>greenstone-users mailing list
>>greenstone-users@list.scms.waikato.ac.nz
>>https://list.scms.waikato.ac.nz/mailman/listinfo/greenstone-users
>>
>>
>
>
>