[uf-discuss] permalinks for microformat chunks of pages: use the 'id' attribute on root microformat elements

Dimitri Glazkov dimitri.glazkov at gmail.com
Fri Jun 23 03:51:47 PDT 2006


On 6/23/06, Drew McLellan <lists at allinthehead.com> wrote:
> One proposal would be to introduce a very simple pattern for groups
> of hCards - just like groups in address book programs (friends,
> family, collegues etc). In XHTML we already have a mechanism of
> grouping elements - the class attribute. So how about treating hCards
> that share a common class name other than 'vcard' as a loose group?
>
> <div class="vcard brighton">
>      <div class="fn">Jeremy Keith</div>
> </div>
>
> <div class="vcard brighton">
>      <div class="fn">Andy Budd</div>
> </div>
>
> <div class="vcard">
>      <div class="fn">Drew McLellan</div>
> </div>
>

I think it's only logical. However, using IDs is what gives the
capability to address a specific microformat content outside of the
context of the document (URL, in less fancy words). How would one use
classes to do the same?

:DG<


More information about the microformats-discuss mailing list