hreview-cheatsheet

From Microformats Wiki
Revision as of 23:14, 15 December 2006 by AndyMabbett (talk | contribs) (fixes)
Jump to navigation Jump to search

hCard cheatsheet

This page is work in process and should not be relied up on until this notice is removed

Properties (Class Names)

  • hReview (hreview)
    • version. optional. text.
    • summary. optional. text.
    • item type. optional. product | business | event | person | place | website | url.
    • item info. required. fn (url || photo ) | hCard (for person or business) | hCalendar (for event)
    • reviewer. optional. hCard.
    • dtreviewed. optional. ISO8601 absolute date time.
    • rating. optional. fixed point integer [1.0-5.0], with optional alternate worst (default:1.0) and/or best (default:5.0), also fixed point integers, and explicit value.
    • description. optional. text with optional valid XHTML markup.
    • tags. optional. keywords or phrases, using rel-tag, each with optional rating.
    • permalink. optional, using rel-bookmark and rel-self.
    • license. optional, using rel-license.

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

Related pages