[uf-discuss] locality sans adr;abbr for state/country etc?

David Janes -- BlogMatrix davidjanes at blogmatrix.com
Mon Jan 16 13:34:41 PST 2006

Ryan King wrote:
> On Jan 16, 2006, at 11:54 AM, B.K. DeLong wrote:
>> or should I simply make it
>> <p class="adr">Unbelievable. Yesterday's high temperature in <span 
>> class="locality">Salem</span> it was 57 degrees out. </p>
> But I'd say that his is more semantic, because you're reusing the 
> semantics of http://microformats.org/wiki/adr.

Why not:

Unbelievable. Yesterday's high temperature in
<span class="adr locality">Salem</span>
it was 57 degrees out.

>> i.e.
>> <span class="locality">Any Town</span>, <abbr class="region" 
>> title="California">CA</abbr>
> I don't think there's been any discussion of this, but I've seen 
> examples of people doing precisely this. So, you're not alone here.

If you were to do this (I'm not saying it's a good or bad idea) wouldn't 
you do it the other way, with the machine readable data inside the title?

<abbr class="region" title="CA">California</a>,
<abbr class="country" title="US">U.S.A.</abbr>

Regards, etc...

More information about the microformats-discuss mailing list