In message <[EMAIL PROTECTED]>, Tantek Çelik <[EMAIL PROTECTED]> writes

On 7/9/07 7:30 PM, "Manu Sporny" <[EMAIL PROTECTED]> 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

_______________________________________________
microformats-new mailing list
microformats-new@microformats.org
http://microformats.org/mailman/listinfo/microformats-new

Reply via email to