[uf-discuss] hCard implementation check please; plus use of common attribute

Ryan King ryan at technorati.com
Fri Jun 2 15:21:32 PDT 2006


On Jun 2, 2006, at 1:37 PM, Andy Mabbett wrote:
> In message <303EBD48-C57A-4E62-AD28-6AAD2C6AC6D5 at technorati.com>, Ryan
> King <ryan at technorati.com> writes
>>> I should be grateful for people's comments about the way I've added
>>> hCard markup to :
>>>
>>>         http://www.westmidlandbirdclub.com/club/executive.htm
>>>
>>> and especially how I might add the "organisation" component which
>>> is the same for every person listed.
>>
>>
>> http://microformats.org/wiki/include-pattern
>
> Thank you. I'm troubled by the (ab)use of the "object" tag - what  
> object
> is being embedded, in such cases?

The referenced node.

> I'm also troubled by the exhortation:
>
>         To avoid unsightly messes in Safari, you should include the
>         following style rule in a style sheet for the page:
>
>         object.include { width:0; height:0 }

Safari doesn't handle object elements correctly.

> and the effect on the page of not including something similar, when
> viewed using FireFox 1.5 (which has vast areas of white psace0 or ie6
> (which has markers not unlike those for missing images) - see:
>
>         http://www.westmidlandbirdclub.com/club/executiveVCARD.htm
>
> and compare with the original:
>
>         http://www.westmidlandbirdclub.com/club/executive.htm

Right, you should certainly apply the above styling to all browsers,  
as they each have their own difficulties with object elements.

> #~#~#~#~#~#~#~#~#~#~#
>
> Also, I marked up the text concerned as:
>
>         <span class="vcard"><span class="fn n" id="club"><span
>         class="org">West Midland Bird Club</span></span></span>
>
> but it seems to me that:
>
>         <span class="vcard fn n org" id="club">West Midland Bird
>         Club</span>
>
> should work. Thoughts?

No, it shouldn't. Just added to the FAQ: http://microformats.org/wiki/ 
faq#Nesting_of_elements

-ryan


More information about the microformats-discuss mailing list