[uf-discuss] Mark-up for vCard in table rows

Jason Garber jason at sixtwothree.org
Sun Mar 25 11:47:59 PST 2007


You "should" be able to put class="adr" in multiple times and still get 
a complete and/or valid address.

I did a real brief test using multiple spans with classes of "adr" and 
Operator didn't blow up and Tails still recognizes a complete address.

In Operator, though, it does list out multiple objects under the "object 
adr". The one hangup I did find was importing the contact into Address 
Book (mac) results in multiple addresses, so this may not be the perfect 
solution.

Jason
jason at sixtwothree.org

Andy Mabbett wrote:
> I'm advising someone on marking up some content, where each table row
> refers to a specific place.
>
> Stripped of extraneous detail, the markup looks like:
>
>         <tr>
>
>         <td><a href="...">Visitor Center</a></td>
>
>         <td><img alt="" src="flag.png" />  <a href="...">Nepal</a></td>
>
>         <td>Okhaldhunga (40 km) <a href="...">map</a></td>
>
>         </tr>
>
> Okhaldhunga is a place ("locality") and Nepal, obviously, the
> "country-name". "Visitor Center" will be the "fn org".
>
> The URLs are to maps, and need not be marked-up in the hCard.
>
> Given that the only place class="vcard" can go is the <tr>, where can I
> put class="adr"?
>
>   


More information about the microformats-discuss mailing list