World Library  
Flag as Inappropriate
Email this Article

HCalendar

Article Id: WHEBN0002784052
Reproduction Date:

Title: HCalendar  
Author: World Heritage Encyclopedia
Language: English
Subject: Infobox film awards, Infobox film awards/doc, Infobox film awards/sandbox, Infobox date field metadata/doc, Microformats
Collection: Microformats
Publisher: World Heritage Encyclopedia
Publication
Date:
 

HCalendar

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, using HTML classes and rel attributes.

It allows parsing tools (for example other websites, or browser add-ons[1] 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.

Contents

  • Example 1
  • Accessibility concerns 2
  • Geo 3
  • Attributes 4
  • Users 5
  • References 6
  • External links 7

Example

Consider this semi-fictional example:

   The English WorldHeritage 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 WorldHeritage 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 elements and the classes vevent, summary, dtstart (start date), dtend (end date), location and url:


The English WorldHeritage was launched on 15 January 2001 with a party from 2- 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[2] that, where it occurs, the use of the abbr element (using the so-called abbr-design-pattern) in the above manner causes accessibility problems, not least for users of screen readers and aural browsers. Work is underway to find an alternative method of presenting ISO8601 date-time information.[3]

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 the hCalendar cheat-sheet.

Users

Notable organisations and other websites using hCalendar include:

References

  1. ^ Microformats.org: Browser Support for Microformats
  2. ^ Web Standards Project, hAccessibility: Abbreviations in Microformats
  3. ^ Microformats Wiki: Assistive Technology
  4. ^ Microformats - Birmingham City Council
  5. ^ Protalinski, Emil (2011-02-18). "Facebook adds hCalendar and hCard microformats to Events". ZDNet. Retrieved 24 March 2011. 
  6. ^ Official Google Maps API Blog: Microformats in Google Maps
  7. ^ Microformats.org: Google adds support for hCalendar and hRecipe Rich Snippets
  8. ^ Google Webmaster Tools: Rich snippets - Events
  9. ^ David Storey - Microformats on Opera sites
  10. ^ a b c d e hCalendar Examples in the wild · Microformats Wiki
  11. ^

External links

  • hCalendar at the Microformats Wiki
This article was sourced from Creative Commons Attribution-ShareAlike License; additional terms may apply. World Heritage Encyclopedia content is assembled from numerous content providers, Open Access Publishing, and in compliance with The Fair Access to Science and Technology Research Act (FASTR), Wikimedia Foundation, Inc., Public Library of Science, The Encyclopedia of Life, Open Book Publishers (OBP), PubMed, U.S. National Library of Medicine, National Center for Biotechnology Information, U.S. National Library of Medicine, National Institutes of Health (NIH), U.S. Department of Health & Human Services, and USA.gov, which sources content from all federal, state, local, tribal, and territorial government publication portals (.gov, .mil, .edu). Funding for USA.gov and content contributors is made possible from the U.S. Congress, E-Government Act of 2002.
 
Crowd sourced content that is contributed to World Heritage Encyclopedia is peer reviewed and edited by our editorial staff to ensure quality scholarly research articles.
 
By using this site, you agree to the Terms of Use and Privacy Policy. World Heritage Encyclopedia™ is a registered trademark of the World Public Library Association, a non-profit organization.
 



Copyright © World Library Foundation. All rights reserved. eBooks from World eBook Library are sponsored by the World Library Foundation,
a 501c(4) Member's Support Non-Profit Organization, and is NOT affiliated with any governmental agency or department.