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

Drew McLellan lists at allinthehead.com
Sat Jun 10 16:54:58 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.

Ah, of course. That makes a lot of sense.

> Have you tried running it through http://feeds.technorati.com/ 
> contact/ and
> see what gets imported into your address book?

Should be live tomorrow, so I'll run it through its paces.


drew.


More information about the microformats-discuss mailing list