Re: [greenstone-users] html book icon does not show up

From Katherine Don
DateWed, 30 Mar 2005 09:35:58 +1200
Subject Re: [greenstone-users] html book icon does not show up
In-Reply-To (ISP-GO0970CuDknz9jh000f1103-isp-go-FPT-NET)
Hi

HTML files do not have srclink/srcicon metadata, so you need to use
link/icon for them.

Try
{If}{[srclink],[srclink][srcicon][/srclink],[link][icon][/link]}

Then you will hide the icon to the extracted text if a better version is
available, but show it otherwise (for html files).

Note that [link][Title][/link] will link to the extracted version.

Regards,
Katherine Don

Tran wrote:
> Hi,
> Please help with my case:
>
> In my testing collection, a book in html format, tagged properly as
> required shows up with all icons and sections. On the other hand, in
> other collection with pdf, doc... files the icons does not appear.
>
> I've checked: the file was imported properly because I can see the
> extracted text.
>
> In my testing collection the following line of format is applied
> (default by GSDL):
> format VList "<td valign=top>[link][icon][/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}[/highlight]{If}{[ex.Source],<br><i>([ex.Source])</i>}</td>"
>
> In my understanding, a format line such as: <td
> valign=top>[link][icon][/link]<td valign=top>[link][Title][/link]</td>
> would show the icons linking to the extracted texts. Because I would
> like to hide this kind of icons, I should change the format line to: <td
> valign=top>[srclink][srcicon][/srclink]<td
> valign=top>[link][Title][/link]</td> or <td
> valign=top>[ex.srclink]{Or}{[ex.thumbicon],[ex.srcicon]}[ex./srclink]</td><td
> valign=top>[link][Title][/link]</td>.
>
> I've tried to use the format line of the testing collection for the
> other collection and ended with two icons for each document except with
> only one icon linking to the extracted text from the html file. On the
> other hand, with the following format line:
> <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}[/highlight]{If}{[ex.Source],<br><i>([ex.Source])</i>}</td>
> no icon would appear.
>
> It's understandale that if in the first case the book icon does not show
> up then in the second no icon would not appear. The question is why the
> book icons of the html file does not appear?
>
> Best regard,
>
> --
> No virus found in this outgoing message.
> Checked by AVG Anti-Virus.
> Version: 7.0.308 / Virus Database: 266.8.4 - Release Date: 3/27/2005
>
>
> ------------------------------------------------------------------------
>
> _______________________________________________
> greenstone-users mailing list
> greenstone-users@list.scms.waikato.ac.nz
> https://list.scms.waikato.ac.nz/mailman/listinfo/greenstone-users