Ah okay, I'm with ya.  Misunderstanding of that on my part, of the type
value.  Corrected now.  Thanks.

Still don't really understand why the parser doesn't pick it up
sometimes.   I grabbed the hCard from my own site, which when displayed,
does trigger the icon to show and work (GM extension), but when I insert
it into the page I'm working on with the example below, it doesn't.


Frances


-----Original Message-----
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Drew
McLellan
Sent: 13 July 2006 10:27
To: Microformats Discuss
Subject: Re: [uf-discuss] hCard implementation - Check for accuracy

On 13 Jul 2006, at 10:15, Frances Berriman wrote:

> Can someone take a
> quick look, and let me know if this is the correct way to mark-up a UK
> company address?  I checked myself against a few implementations in  
> the
> wild, and the problem continues to elude me (if there is one). :

On the whole it looks fine, Frances. Just one minor problem  
(shouldn't affect a parser finding the hCard though):

>           <div class="tel">
>                    <span class="work">
>                              <span
> class="value">+44(0)1344865555</span></span>
>                    <span class="fax">
>                              <span class="value">+44(0)1344
> 865555</span></span>
>           </div>

The 'work' and 'fax' are actually values for the 'type' property, not  
properties in themselves.

So you should have something more like:

<div class="tel">
<span class="type">Fax:</span> <span class="value">+44(0)1344 865555</ 
span>
</div>

There are more examples of how this works here:
http://microformats.org/wiki/hcard#type_subproperty_values


drew.
_______________________________________________
microformats-discuss mailing list
[email protected]
http://microformats.org/mailman/listinfo/microformats-discuss

______________________________________________________________________
This email has been scanned by the MessageLabs Email Security System.
For more information please visit http://www.messagelabs.com/email 
______________________________________________________________________
_______________________________________________
microformats-discuss mailing list
[email protected]
http://microformats.org/mailman/listinfo/microformats-discuss

Reply via email to