each "adr" is its own address (was Re: [uf-discuss] Mark-up for vCard in table rows)

Tantek Ç elik tantek at cs.stanford.edu
Sun Mar 25 13:56:11 PST 2007


On 3/25/07 2:37 PM, "Andy Mabbett" <andy at pigsonthewing.org.uk> wrote:

> In message <4606D1EF.9040604 at sixtwothree.org>, Jason Garber
> <jason at sixtwothree.org> writes
> 
>> You "should" be able to put class="adr" in multiple times and still get
>> a complete and/or valid address.

vCards can contain multiple ADR properties for multiple addresses.  Thus in
hCard, multiple class="adr" instances are for multiple addresses, not
concatenation into a single address.  Each class="adr" indicates a separate
address.

Added to FAQ:

http://microformats.org/wiki/hcard-faq#How_do_I_markup_multiple_addresses

>> 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".
> 
> If your interpretation of multiple "adr" being concatenated to one
> address is correct, than that is "blowing up".

The concatenation interpretation of "adr" is incorrect.

Thanks,

Tantek



More information about the microformats-discuss mailing list