[uf-discuss] hcard validation
Aaron R. Fulkerson
aaronf at mindtouch.com
Tue Apr 18 00:23:57 PDT 2006
I've searched about and have been unable to find a). a validator b). an
example as complex as my personal hcard. Take a look:
<div class="vcard" style="background-color: #FBFFBF; width:375px;
line-height: normal; padding: 5px;" >
<img src="http://ninje.com/images/e/ea/AaronFulkerson.png"
alt="photo" class="photo" style="float:left; margin:5px; margin-bottom:
10px; margin-right:10px; padding: 10px;"/>
<a class="url fn" href="http://www.ninje.com">Aaron R.
Fulkerson</a><br/>
<div class="title">Chief Encourager</div>
<a class="org" href="http://www.mindtouch.com">MindTouch</a>
<div class="adr">
<div class="street-address">413 Wacouta Street
#250</div>
<span class="locality">Saint Paul</span>,
<span class="region">MN</span>
<span class="postal-code">55101</span>
</div>
<div class="tel">
<span class="value">+1.651.793.0010</span> <span
class="type">work</span><br/>
<span class="value">+1.651.793.0011</span> <span
class="type">fax</span><br/>
<span class="value">+1.651.230.5082</span> <span
class="type">mobile</span></div>
<a class="email" href="mailto:aaronf[SPAM]@mindtouch.com">aaronf
at mindtouch dot com</a>
</div>
Now, I realize my middle initial may be a problem -- 'R.', but there are
plenty of other places this breaks Tails and some other parsers. For
example, I've not seen an instance yet that my phone numbers are recognized
nor one in which my full address is properly parsed. Is this a failing on my
part or is it the parsers? Could someone point me to an example this complex
because most of the examples I've seen are as trivial as:
<div class="vcard" >
<img src="http://ninje.com/images/e/ea/AaronFulkerson.png"
alt="photo" class="photo" style="float:left; margin:5px; margin-bottom:
10px; margin-right:10px; padding: 10px;"/>
<a class="url fn" href="http://www.ninje.com">Aaron
Fulkerson</a><br/>
<div class="title">Chief Encourager</div>
<div class="org">MindTouch</div>
<div class="tel">+1.651.793.0010</div>
</div>
Suggestions? Is someone working on a validator? Tools, tools, tools! :- )
Thanks.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://microformats.org/discuss/mail/microformats-discuss/attachments/20060418/ca91e65c/attachment.htm
More information about the microformats-discuss
mailing list