HCalendar
   HOME

TheInfoList



OR:

hCalendar (short for ''HTML iCalendar'') is a
microformat Microformats (μF) are predefined HTML markup (like HTML classes) created to serve as descriptive and consistent metadata about elements, designating them as representing a certain type of data (such as contact information, geographic coor ...
standard for displaying a semantic (X)HTML representation of
iCalendar The Internet Calendaring and Scheduling Core Object Specification (iCalendar) is a media type which allows users to store and exchange calendaring and scheduling information such as events, to-dos, journal entries, and free/busy information, ...
-format
calendar A calendar is a system of organizing days. This is done by giving names to periods of time, typically days, weeks, months and years. A calendar date, date is the designation of a single and specific day within such a system. A calendar is ...
information about an event, on
web pages A web page (or webpage) is a World Wide Web, Web document that is accessed in a web browser. A website typically consists of many web pages hyperlink, linked together under a common domain name. The term "web page" is therefore a metaphor of pap ...
, using HTML classes and ''rel'' attributes. It allows parsing tools (for example other websites, or browser add-ons like
Firefox Mozilla Firefox, or simply Firefox, is a free and open-source web browser developed by the Mozilla Foundation and its subsidiary, the Mozilla Corporation. It uses the Gecko rendering engine to display web pages, which implements curr ...
'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.


Example

Consider 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:

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
HTML element An HTML element is a type of HTML (HyperText Markup Language) document component, one of several types of HTML nodes (there are also text nodes, comment nodes and others). The first used version of HTML was written by Tim Berners-Lee in 199 ...
s 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.


Accessibility concerns

Concerns have been expressed that, where it occurs, the use of the abbr element (using the so-calle
abbr-design-pattern
in the above manner causes accessibility problems, not least for users of screen readers and aural browsers. The newe
h-event
microformat therefore uses the
HTML5 HTML5 (Hypertext Markup Language 5) is a markup language used for structuring and presenting hypertext documents on the World Wide Web. It was the fifth and final major HTML version that is now a retired World Wide Web Consortium (W3C) recommend ...
element time instead:


Geo

The 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.


Attributes

For a full list of attributes, see th
hCalendar cheat-sheet


Users

Notable organisations and other websites using hCalendar include: * Birmingham Town Hall and Symphony Hall *
Facebook Facebook is a social media and social networking service owned by the American technology conglomerate Meta Platforms, Meta. Created in 2004 by Mark Zuckerberg with four other Harvard College students and roommates, Eduardo Saverin, Andre ...
*
Google Google LLC (, ) is an American multinational corporation and technology company focusing on online advertising, search engine technology, cloud computing, computer software, quantum computing, e-commerce, consumer electronics, and artificial ...
(in Google maps and in Search Engine Results Pages ) *The
Opera Opera is a form of History of theatre#European theatre, Western theatre in which music is a fundamental component and dramatic roles are taken by Singing, singers. Such a "work" (the literal translation of the Italian word "opera") is typically ...
web browser website *The
Radio Times ''Radio Times'' is a British weekly listings magazine devoted to television and radio programme schedules, with other features such as interviews, film reviews and lifestyle items. Founded in September 1923 by John Reith, then general manage ...
*The
University of Bath The University of Bath is a public research university in Bath, England. Bath received its royal charter in 1966 as Bath University of Technology, along with a number of other institutions following the Robbins Report. Like the University ...
hCalendar Examples in the wild · Microformats Wiki
/ref> *The
University of Washington The University of Washington (UW and informally U-Dub or U Dub) is a public research university in Seattle, Washington, United States. Founded in 1861, the University of Washington is one of the oldest universities on the West Coast of the Uni ...
* Upcoming.org *
Wikipedia Wikipedia is a free content, free Online content, online encyclopedia that is written and maintained by a community of volunteers, known as Wikipedians, through open collaboration and the wiki software MediaWiki. Founded by Jimmy Wales and La ...
Wikipedia:Microformats *Yahoo!, on Yahoo! Local


References


External links


hCalendar at the Microformats Wiki
{{DEFAULTSORT:Hcalendar Microformats