[microformats-discuss] adr and geo microformats finally written up
Tantek Ç elik
tantek at cs.stanford.edu
Fri Sep 23 10:00:20 PDT 2005
On 9/23/05 7:58 AM, "Danny Ayers" <danny.ayers at gmail.com> wrote:
> On 9/23/05, Tantek Çelik <tantek at cs.stanford.edu> wrote:
>> In the "I should have written this up a couple of months ago" department, I
>> give you the ridiculously simple, and 100% reused from previous work, adr
>> and geo microformats, to specifically provide a simple solution to the
>> problems raised and discussed in location-formats.
> Couple of questions:
> This, when embedded in a HTML page, will provide a location. But the
> location of what?
If you have to ask "of what?" for something specific then you should use
hCard instead, which lets you name the location as well.
I'll make that clear in the spec.
By separating geo out from hCard, we also enable other structures to use it
as a building block.
For example, something as simple as an ordered list of geos, implying a
path, which is quite commonly supported by GPS devices.
Or a blog post format could embed a geo (or an adr, which is actually more
likely to correspond to human input) to reference where the post was made.
> Same question again,
> plus what's the rationale behind the flipover
> between div and span?
Partially to demonstrate that the element name doesn't matter (which seems
to be a common misconception by "XML experts" when they first encounter
microformats, e.g. Norm Walsh's post), and partially to demonstrate that you
can use it as a cheap form of block/inline layout, since the semantics of
div and span are essentially the same - the semantic of not having any
semantic. You could use all spans or divs as well.
More information about the microformats-discuss