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

Chris Messina chris.messina at gmail.com
Thu Jun 22 12:26:04 PDT 2006


I've been suggesting this for awhile. There are numerous benefits,
besides addressing.

For one thing, I'd like to see an AJAX library that pulls out one or
more discontinuous DIVs from a remote webpage into the local page --
doing something like an iframe does, but using the remote page
essentially as a database.

This also is useful for the notion of including remote data by
reference (http://microformats.org/wiki/include-pattern).

Chris

On 6/22/06, Tantek Çelik <tantek at cs.stanford.edu> wrote:
> In my experience with both searching for microformats and revealing them and
> linking to them, I have found an interesting pattern that I would like to
> share with folks.
>
> The microformat chunks (e.g. hCards, hCalendar events, hReviews etc.) that
> have an "id" attribute are much easier to automatically reference (and thus
> link to and browser/scroll to from search results) than those without.
>
> I've done this with my hCard on my home page: http://tantek.com/
>
> E.g.
>
> <span class="vcard" id="myhcard">
>  <a class="url fn" href="http://andy.example.com">Andy Smith</a>
> </span>
>
>
> When you mark up people/companies as hCards or hCalendar events or hReviews,
> along with other things on a single page, try using an "id" attribute on the
> root element (the element with class="vcard" etc.) and report back how ti
> works with you.
>
> If this works for folks, I'll add it to hcard-authoring as a recommended
> good practice.
>
> Thanks,
>
> Tantek
>
> _______________________________________________
> microformats-discuss mailing list
> microformats-discuss at microformats.org
> http://microformats.org/mailman/listinfo/microformats-discuss
>


-- 
Chris Messina
Agent Provocateur, Citizen Agency &
  Open Source Ambassador-at-Large
Work  / citizenagency.com
Blog  / factoryjoe.com/blog
Cell  /  412 225-1051
Skype / factoryjoe
This email is:   [ ] bloggable    [X] ask first   [ ] private


More information about the microformats-discuss mailing list