[uf-discuss] hCard - nesting fn within email?

Drew McLellan lists at allinthehead.com
Mon Jun 12 15:43:26 PDT 2006


On 11 Jun 2006, at 00:03, Tantek Çelik wrote:

> 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?

Update: works just fine.

Page in question -
http://www.edgeofmyseat.com/contact.php

Through the sudarator -
http://feeds.technorati.com/contacts/http://www.edgeofmyseat.com/ 
contact.php

awesome.


drew.


More information about the microformats-discuss mailing list