hCalendar (short for HTML iCalendar) is a microformat standard for displaying a semantic HTML representation of iCalendar-format calendar information about an event, on web pages, using HTML classes and Rel attribute.
It allows parsing tools (for example other websites, or browser add-ons Microformats.org: Browser Support for Microformats like Firefox's Operator extension) to extract the details of the event, and display them using some other website, index or search them, or to load them into a calendar or diary program, for instance. Multiple instances can be displayed as timelines.
The English Wikipedia was launched
on 15 January 2001 with a party from
2-4pm at
Jimmy Wales' house
(more information).
The HTML mark-up might be:
The English Wikipedia was launched
on 15 January 2001 with a party from
2-4pm at
Jimmy Wales' house
(more information)
hCalendar mark-up may be added using span and the classes vevent, summary, dtstart (start date), dtend (end date), location and url:
The English Wikipedia was launched
on 15 January 2001 with a party from
2pm-
4pm at
Jimmy Wales' house
(more information)
Note the use of the abbr element to contain the machine readable, ISO8601, date-time format for the start and end times.
|
|