In message <[EMAIL PROTECTED]>, Ryan Cannon <[EMAIL PROTECTED]> writes
>If a an element with class=vcard does not have any hCard class names, >imply the entire content as an fn field, and attempt to apply the >implied "n" optimization. > >Optionally, if the root element has @href, imply a class="url". > >For example: > ><a class="vcard" href="http://ryancannon.com/">Ryan Cannon</a> > >becomes > >BEGIN:VCARD >N:Cannon;Ryan;;; >FN:Ryan Cannon >URL:http\://www.perich.com >END:VCARD That seems like a good idea, so long as non-http hrefs (mailto:, tel:, etc.) are parsed correctly: <a href="mailto:[EMAIL PROTECTED]" class="vcard"> Ryan Cannon <\a> would be OK, but what about: <a href="mailto:[EMAIL PROTECTED]" class="vcard"> [EMAIL PROTECTED] <\a> ? How would existing parsers treat those examples? Would they simply ignore them? -- Andy Mabbett Say "NO!" to compulsory ID Cards: <http://www.no2id.net/> Free Our Data: <http://www.freeourdata.org.uk> _______________________________________________ microformats-discuss mailing list [email protected] http://microformats.org/mailman/listinfo/microformats-discuss
