hreview-cheatsheet: Difference between revisions

From Microformats Wiki
Jump to navigation Jump to search
mNo edit summary
(hreview in the title)
Line 1: Line 1:
=hCard cheatsheet=
<h1>hReview cheatsheet</h1>


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

Revision as of 22:40, 26 December 2006

hReview 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