[uf-discuss] geo shorthand in anchor

Sarven Capadisli info at csarven.ca
Wed Dec 30 12:50:49 PST 2009


On Sun, 2009-12-27 at 18:46 +0000, Brian Suda wrote:
> On Sun, Dec 27, 2009 at 5:51 PM, Sarven Capadisli <info at csarven.ca> wrote:
> > My question is, whether the following is, should, or should not be a
> > valid geo representation:
> >
> > <a href="http://www.geonames.org/6077243" title="45.5140800;-73.6111000"
> > class="geo">Montréal, Quebec, Canada</a>
> 
> --- that's a good question. Since the semantics of an "a" element are
> for the href, but GEO doesn't make sense as a URI, i would say that it
> would default to the visible text, just as if you had:
> 
> <span title="45.5140800;-73.6111000" class="geo">Montréal, Quebec, Canada</span>
> 
> There isn't a compelling argument to take the @title over the node
> value, "Montréal, Quebec, Canada"
> 
> does that make sense?
> -brian
> 

Yea, it does. Thanks for brining up the semantics of <a> for @href.

As far as geo links are concerned, I think it does make some sense as a
URI.

So, the next question is, should parsers pick up the geo data from the
anchor, ignore, or do whatever they want with it?

-Sarven




More information about the microformats-discuss mailing list