Re: collection building query

From Stefan Boddie
DateTue, 17 Sep 2002 20:00:45 +1200
Subject Re: collection building query
In-Reply-To (000e01c227f1$2cf4af70$6d809e89-cs-uct-ac-za)
> Is there any way I can change the images contained in documents
> to links to these images. With PDA's using pocket internet explorer
> it takes for ever to load if a document has lots of images. I want to
> replace these images to links that point to these images, but I think
> the only way to do this is to change some plugin that builds collections
> and then rebuild the collection. Is this correct? Are there any other
> ways of doing this? I suppose I could parse the html file and replace
> the links, but this adds an extra overhead and is not an elegant
> solution. any ideas?

I don't really think there's any nice way to do this. Your options are
either to do it at build time (a small change to the replace_images()
function of your gsdl\perllib\plugins\ file) or to do it at run
time by altering the C++ code to parse the output as you suggest (you'd
probably do that in the output_text() function of

Doing it at build time would be easier but would require the collection(s)
to be rebuilt. By doing it at runtime you could add a CGI argument to make
it possible to turn on/off the image replacement process when required.