[uf-discuss] hCard - nesting fn within email?
Tantek Ç elik
tantek at cs.stanford.edu
Sat Jun 10 16:03:42 PDT 2006
On 6/10/06 2:22 PM, "Drew McLellan" <lists at allinthehead.com> wrote:
> So I've got a company called "mycompany.com", and I'm wonder if I can
> reuse the domain portion of the email address as the "fn org" like so:
>
> <div class="vcard">
> <a href="mailto:info at mycompany.com" class="email">info@<span
> class="fn org">mycompany.com</span></a>
> </div>
>
> Any reason why not? The markup's valid as far as I can see, but I'm
> wondering if there's any reason it might cause an hCard parser to
> convulse.
That should work just fine. Per hcard-parsing[1], it will grab the email
address from the href since you have specified it there.
Have you tried running it through http://feeds.technorati.com/contact/ and
see what gets imported into your address book?
Thanks,
Tantek
http://microformats.org/wiki/hcard-parsing
More information about the microformats-discuss
mailing list