Difference between revisions 607060 and 607174 on knwiki{{lowercase}} {{About||details of hCalendar used on Wikipedia|:Wikipedia:Microformats}} '''hCalendar''' (short for '''''HTML iCalendar''''') is a [[Microformats|microformat]] standard for displaying a semantic [[HTML|(X)HTML]] representation of [[iCalendar]]-format [[calendar]] information about an event, on [[World Wide Web|web pages]], using HTML classes and [[Rel attribute|''rel'' attributes]]. It allows parsing tools (for example other websites, or browser add-ons<ref>[http://microformats.org/wiki/browsers Microformats.org: Browser Support for Microformats]</ref> like [[Firefox]]'s [[Operator (extension)|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. ==Example== Consider this semi-fictional example: <pre> The English Wikipedia was launched on 15 January 2001 with a party from 2-4pm at Jimmy Wales' house (more information). </pre> The HTML mark-up might be: <pre> <nowiki> <p> The English Wikipedia was launched on 15 January 2001 with a party from 2-4pm at Jimmy Wales' house (<a href="http://en.wikipedia.org/wiki/History_of_Wikipedia">more information</a>) </p> </nowiki> </pre> hCalendar mark-up may be added using <code>span</code> [[HTML element]]s and the [[HTML#Attributes|classes]] <code>vevent</code>, <code>summary</code>, <code>dtstart</code> (start date), <code>dtend</code> (end date), <code>location</code> and <code>url</code>: <pre> <nowiki> <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="http://en.wikipedia.org/wiki/History_of_Wikipedia">more information</a>) </p> </nowiki> </pre> Note the use of the <code>abbr</code> element to contain the machine readable, [[ISO8601]], date-time format for the start and end times. ==Accessibility concerns== (contracted; show full)*[[Wikipedia]]<ref>[[Wikipedia:Microformats]]</ref> *Yahoo!, on [[Yahoo!|Yahoo! Local]]<ref name="uf-wild" /> ==References== {{reflist}} ==External links== * [http://microformats.org/wiki/hcalendar hCalendar at the Microformats Wiki] {{DEFAULTSORT:Hcalendar}} [[Category:Microformats]] All content in the above text box is licensed under the Creative Commons Attribution-ShareAlike license Version 4 and was originally sourced from https://kn.wikipedia.org/w/index.php?diff=prev&oldid=607174.
![]() ![]() This site is not affiliated with or endorsed in any way by the Wikimedia Foundation or any of its affiliates. In fact, we fucking despise them.
|