[microformats-discuss] adr and geo microformats finally written up

Danny Ayers danny.ayers at gmail.com
Sat Sep 24 00:44:13 PDT 2005


On 9/23/05, Tantek Çelik <tantek at cs.stanford.edu> wrote:

> By separating geo out from hCard, we also enable other structures to use it
> as a building block.

It would be helpful to have a practical example or two. Say the blog
post was a restaurant review (using hReview). How would my software
determine that the location was that of the restaurant, rather than
the place where the blog post was made or where the person posting
lived?

> >>  http://microformats.org/wiki/adr
> >
> > Same question again,
>
> Same answer.

Same request for example(s) 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.

Sorry, I'm not entirely clear on this - would e.g. <p class="adr">,
still be acceptable? Or are <div>and <span> special cases?

Cheers,
Danny.

--

http://dannyayers.com


More information about the microformats-discuss mailing list