[uf-new] img alt content (was:hAudio implemented on Bitmunk
(with one snag))
Tantek Ç elik
tantek at cs.stanford.edu
Mon Jul 9 19:40:52 PDT 2007
On 7/9/07 7:30 PM, "Manu Sporny" <msporny at digitalbazaar.com> wrote:
> Mike, would it be possible to write a parseTagTextFromImages() function
> that would extract the 'alt' text from images? Therefore, running it
> over the following HTML:
>
> <a class="fn url" href="http://www.mikekaply.com/">
> <img src="uf.png" alt="Michael" /> Kaply
> </a>
>
> Would yield the text "Michael Kaply" for 'fn'. Using this approach would
> also solve the hAudio problem as well as the problems that have been
> raised thus far in this thread.
This would be non-compliant with hCard parsing and thus should be AVOIDED.
http://microformats.org/wiki/hcard-parsing
See the recent FAQ for more details.
http://microformats.org/wiki/hcard-faq#Why_is_IMG_alt_not_being_picked_up
Thanks,
Tantek
More information about the microformats-new
mailing list