hcalendar-cheatsheet

From Microformats Wiki
Revision as of 09:07, 17 January 2008 by AndyMabbett (talk | contribs) (sp.)
Jump to navigation Jump to search
The printable version is no longer supported and may have rendering errors. Please update your browser bookmarks and please use the default browser print function instead.

hCalendar cheatsheet

hCalendar properties and how to use them.

Properties (Class Names)

  • vevent {1}
    • category*
    • class?
    • description?
    • dtend (ISO date)?
    • dtstart (ISO date) {1}
    • duration?
    • geo?
      • latitude?
      • longitude?
    • location?
    • status?
    • summary {1}
    • uid?
    • url?
    • last-modified?
    • rdate !
    • rrule !
    • attendee !
    • contact !
    • organiser !

Key

Based on Perl's standard quantifiers:

bold {1} MUST be present exactly once
italic* OPTIONAL, and MAY occur more than once
+ MUST be present, and MAY occur more than once
? OPTIONAL, but MUST NOT occur more than once
[square brackets] list of common values
(parentheses) data format
# comment
! awaiting documentation

Notes

Geo

  • Coordinates MUST use the datum of WGS84.
  • If latitude is present, so MUST be longitude, and vice versa.
  • Coordinates MAY be combined a single <abbr> element; then the latitude and longitude MUST be separated by a semicolon in the title attribute and latitude MUST be first:
<abbr class="geo" title="37.386013;-122.082932">home</abbr>

Related pages

This specification is a work in progress. As additional aspects are discussed, understood, and written, they will be added. These thoughts, issues, and questions are kept in separate pages.