nevermind, you are right, I was only getting this with
<img alt src="..">
don't remember why that was showing up in the first
place, probably something to do with my stylesheet
tranformations.
i figured it was resulting in "true" due to the fact
"alt" existed...I still think the ability to remove
alt attributes in the indexing would be nice. But I
can live with removing alt completely.
--- "Anthony E." <[EMAIL PROTECTED]> wrote:
> > If you can demonstrate that htdig actually inserts
> > the word "true" in
> > the index even when you have <img alt="" ...> (as
> > opposed to
> > <img alt ...> as you reported in your earlier
> > message about 2 weeks
> > ago), then I'd agree there's a problem. However,
> > it's certainly not
> > happening on my system, as I use alt="" quite
> > heavily here.
>
> the only difference is that I am indexing an xsp
> page
> served by cocoon...however, the result is a static
> html page. I'm wondering if the html doctype
> declaration has anything to do with this, as it is
> different for my cocoon xhtml templates than it is
> for
> a static html page.
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
> --- Gilles Detillieux <[EMAIL PROTECTED]>
> wrote:
> > According to Anthony E.:
> > > alt is not a required attribute for img tag in
> > html,
> > > so if one doesn't want to use it, they can
> simply
> > > leave it out...however, this only works if coded
> > by
> > > hand in a plain text editor. The problem, in my
> > case,
> > > arose from homesite, which automatically sticks
> > and
> > > empty alt="" attribute for img tags. I have
> since
> > > removed all the alt="" tags, which removed the
> > > recurring "true" in results.
> > >
> > > I can see it as a bit cumbersome to have to do
> > this
> > > across all x/html files, especially on large
> > sites.
> > >
> > > I think a htdig.conf parameter for disabling alt
> > tags
> > > in indexing would be ideal.
> >
> > You're missing my point. htdig does not have
> > problem with tags like
> >
> > <img alt="" src="img.gif">
> >
> > nor
> >
> > <img src="img.gif">
> >
> > It's only when you have a tag like
> >
> > <img alt src="img.gif">
> >
> > where the alt is minimized, i.e. no ="value" or
> =""
> > after the word alt,
> > that the problem occurs. This is because a
> > minimized attribute implies
> > a boolean value to that attribute, so the
> attribute
> > parser in htdig
> > sets the attribute to "true", to indicate it as an
> > attribute that's
> > set in the tag.
> >
> > The reason htdig parses alt text in img tags
> should
> > be obvious. If you
> > have an image that contains text, that text is not
> > displayed if your
> > browser doesn't show the image. The whole point
> of
> > the alt attribute
> > is to provide a text alternative, e.g.:
> >
> > <img alt="The University of Manitoba"
> > src="UofMlogo.gif">
> >
> > Because htdig is a non-graphical web client, it
> uses
> > the alt text as
> > it should. If your HTML generator automatically
> > sticks alt attributes
> > with no value definition, rather than a proper
> empty
> > string definition,
> > i.e. alt="", then I'd say it's your HTML generator
> > that's buggy.
> >
> > If you can demonstrate that htdig actually inserts
> > the word "true" in
> > the index even when you have <img alt="" ...> (as
> > opposed to
> > <img alt ...> as you reported in your earlier
> > message about 2 weeks
> > ago), then I'd agree there's a problem. However,
> > it's certainly not
> > happening on my system, as I use alt="" quite
> > heavily here.
> >
> > --
> > Gilles R. Detillieux E-mail:
> > <[EMAIL PROTECTED]>
> > Spinal Cord Research Centre WWW:
> > http://www.scrc.umanitoba.ca/~grdetil
> > Dept. Physiology, U. of Manitoba Phone:
> > (204)789-3766
> > Winnipeg, MB R3E 3J7 (Canada) Fax:
> > (204)789-3930
> >
> > _______________________________________________
> > 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
>
>
> __________________________________________________
> Do You Yahoo!?
> Yahoo! Auctions - buy the things you want at great
> prices
> http://auctions.yahoo.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
__________________________________________________
Do You Yahoo!?
Yahoo! Auctions - buy the things you want at great prices
http://auctions.yahoo.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