On Thu, 12 Apr 2001, Anthony E. wrote:
> It is coming from an empty "alt" attribute in the
> <img> html tag.
This is, in fact, a bug.
> If I add a value for "alt=value", the word "value"
> will show up repeatedly.
>
> Anyway to disable using the image "alt" tag in the
> indexing?
This isn't a bug. Most people *want* the alt tags indexed. If you don't,
you could try putting in a space, e.g. alt=" " or if you are willing to
change the code, open up htdig/HTML.cc and look for:
if (conf["alt"])
{
char *alttxt = transSGML(conf["alt"]);
...
if (doindex && !in_title && head.length() < max_head_length)
head << alttxt << " ";
Put "//" in front of each of the last two lines and then rebuild htdig. It
will no longer add ALT attributes to the excerpts.
--
-Geoff Hutchison
Williams Students Online
http://wso.williams.edu/
_______________________________________________
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