[greenstone-users] Re: How is the [icon] image set?

From Stephen DeGabrielle
DateTue, 31 Oct 2006 12:25:39 +0930
Subject [greenstone-users] Re: How is the [icon] image set?
In-Reply-To (595b9ab20610301709g5d5c1ee2v82a995da370cc41c-mail-gmail-com)
duh! Sorry if I have wasted anyones time: I meant [srcicon] not [icon]
. [icon] is used to refer to the extracted text, or more exactly
[link][/link] which brings you to a page whose contents are determined
by the contents of
format DocumentText
which is usually set at [Text] - the extracted text. I have the
followign statement which gives me the document text [Text] followed
by the full size image, with the [Title] metadata:
format DocumentText "[Text]<br /><img title="[Title]"
src="/gsdl/collect/gsarch/index/assoc/[assocfilepath]/[Image]" />"

What I really meant was _srcicon_ .
Answering my own question; the image that _srcicon_ returns is derived
from the filename extension in basplug
my $srcicon = "_icon".$doc_ext."_";

The next question I must ask myself is does my plugin pass the right
extension back to Basplug? I suspect not.



PS Building a 66000 image collection on my laptop - and it is starting
to get hot!

On 10/31/06, Stephen DeGabrielle <spdegabrielle@gmail.com> wrote:
> How is the [icon] image set?
> If it is a mapping between filetype metadata and the icon - where do I find
> it?
> Regards,
> Stephen
> --
> --
> Stephen De Gabrielle

Stephen De Gabrielle