[uf-discuss] [hCard] Implied type=work

Marek Pawłowski lockoom at gmail.com
Thu Jul 12 01:51:44 PDT 2007


Hello,

I would like to ask shouldn't the type=work be implied on properties
"tel", "url" and "adr" if properties "fn" and "org" are of the same
value.
For example:
<div class="vcard">
   <a class="url fn org" href="http://example.com/">Example Corp.</a>
    <div> Phone:<span class="tel">+1.111.111.1111</span></div>
</div>

All existing implementations I've tested converted such hCard into
vCard with "phone" and "url" set as private (home).

I don't see such optmisation being mentioned in hcard spec so maybe
it's intentional. If so - why?

And second question, how you'd markup "url" property as "type=work"?

-- 
Best regards,
Marek Pawlowski


More information about the microformats-discuss mailing list