|
hCalendar (short for HTML iCalendar) is a Microformat standard for displaying a semantic (X)HTML representation of iCalendar-format calendar information about an event, on web pages. It allows parsing tools (for example other websites, or 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.
ExampleConsider this semi-fictional example: 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:
<p>
The English Wikipedia was launched
on 15 January 2001 with a party from
2-4pm at
Jimmy Wales' house
(<a href="/redirect?url=aHR0cDovL2VuLndpa2lwZWRpYS5vcmcvd2lraS9IaXN0b3J5X29mX1dpa2lwZWRpYQ%3D%3D">more information</a>)
</p>
We can add hCalendar mark-up using
<p class="vevent">
The <span class="summary">English Wikipedia was launched</span>
on 15 January 2001 with a party from
<abbr class="dtstart" title="2001-01-15T14:00:00+06:00">2</abbr>-
<abbr class="dtend" title="2001-01-15T16:00:00+06:00">4</abbr>pm at
<span class="location">Jimmy Wales' house</span>
(<a class="url" href="/redirect?url=aHR0cDovL2VuLndpa2lwZWRpYS5vcmcvd2lraS9IaXN0b3J5X29mX1dpa2lwZWRpYQ%3D%3D">more information</a>)
</p>
Note the use of the Exclusive end-datesFor whole-day dates, where no time is specified, the end-date must be recorded as exclusive (i.e. the day after the event ends). For example: <abbr class="dtend" title="2001-02-01">31 January 2001</abbr> Accessibility concernsConcerns have been expressed [1] that the use of the GeoThe Geo microformat is a part of the hCalendar specification, and is often used to include the coordinates of the event's location within an hCalendar. AttributesFor a full list of attributes, see the hCalendar cheat-sheet. UsersNotable organisations and other websites using hCalendar include:
ReferencesExternal links |
This article is from Wikipedia. All text is available under the terms of the GNU Free Documentation License.
Mercedes Car
This site monitored by SitePinger.net