> > Are there any other variables that get stored in the index
> that I could
> > use?
>
> See http://www.htdig.org/hts_templates.html for the list of values
> accessible through the standard template variables. Perhaps
> METADESCRIPTION  would be useful for what you are trying to
> do? If for
> each document you set up a meta tag of form
>
>    <meta name="description" content="image_filename">
>
> it should be possible to retrieve the file name with
> $%(METADESCRIPTION).
>
> Jim

I'll take that idea one further, with the new config option:
description_meta_tag_names

like so:

description_meta_tag_names:  description thumbnail

and in the doc:

<META name="description" content="a proper description">
<META name="thumbnail" content="the_thumbnail_image_file_name>


That way the description will get indexed and used by external search
engines (that still use metatags) and the thumbnail file name will be
stored by htdig as the metadescription, which i can pull out into the
search results, leaving me with a <title> tag to use as a link.

Brilliant!

Thanks for the nudge in the right direction.

Lets hope it all works as documented when I try it tomorrow.....

--
I love my NEO - Instantly organised e-mail
http://www.caelo.com/a/rl.php3?i=3NTVV




-------------------------------------------------------
This SF.net email is sponsored by: ApacheCon, November 18-21 in
Las Vegas (supported by COMDEX), the only Apache event to be
fully supported by the ASF. http://www.apachecon.com
_______________________________________________
htdig-general mailing list <[EMAIL PROTECTED]>
To unsubscribe, send a message to <[EMAIL PROTECTED]> with a 
subject of unsubscribe
FAQ: http://htdig.sourceforge.net/FAQ.html

Reply via email to