Microformat support

On 16 May 2007, at 04:50, Maciej Stachowiak wrote:

> Here are some specific prominent sites using microformats based at  
> least partly on @class:
>
> http://upcoming.org/ (hCalendar)
> http://facebook.com/ (hCalendar)
> http://last.fm/ (hCalendar, hCard)
..

Maybe microformats deserve a tag of their own ...?

Wouldn't it be easier to import events directly from files, messages,  
devices and applications in this way:

<microformat type="text/calendar" class="myevent">
     BEGIN:VCALENDAR
      BEGIN:VEVENT
      UID:guid-1.host1.com
      DTSTAMP:19980309T231000Z
      DESCRIPTION:Project XYZ Review Meeting
      SUMMARY:XYZ Project Review
      DTSTART:19980312T133000Z
      DTEND:19980312T143000Z
      LOCATION:1CP Conference Room 4350
      END:VEVENT
      END:VCALENDAR
</microformat>

Instead of having to transform them into something like this:

<div class="vevent">
<h3 class="summary">XYZ Project Review</h3>
<p class="description">Project XYZ Review Meeting</p>
<p>To held on <abbr class="dtstart"  
title="1998-03-12T08:30:00-05:00">12 March 1998 from 8:30am EST</ 
abbr> until <abbr class="dtend"  
title="1998-03-12T09:30:00-05:00">9:30am EST</abbr></p>
<p>Location: <span class="location">1CP Conference Room 4350</span></p>
<small>Booked by: <span class="uid">guid-1.host1.com</span> on
<abbr class="dtstamp" title="19980309T231000Z">9 Mar 1998 6:00pm</ 
abbr></small>
</div>

I guess we could even use the <object>-tag for this.

--
Henrik

Received on Wednesday, 16 May 2007 12:04:15 UTC