[uf-new] img alt content (was:hAudio implemented on Bitmunk (with
one snag))
Andy Mabbett
andy at pigsonthewing.org.uk
Tue Jul 10 00:10:43 PDT 2007
In message <C2B83F76.91BAC%tantek at cs.stanford.edu>, Tantek Çelik
<tantek at cs.stanford.edu> writes
>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
In other words, the microformat parsing rules are non-compliant with the
HTML specification.
I think that's something which should be fixed.
--
Andy Mabbett
More information about the microformats-new
mailing list