hreview-cheatsheet: Difference between revisions

From Microformats Wiki
Jump to navigation Jump to search
mNo edit summary
m (Reverted edits by AltrcNarac (Talk) to last version by Brian)
 
(10 intermediate revisions by 7 users not shown)
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'''
[[hreview|hReview]] properties and how to use them.
 
'''This page is work in progress and should not be relied up on until this notice is removed'''


==Properties  (Class Names)==
==Properties  (Class Names)==
Line 21: Line 23:


===Notes===
===Notes===
*???
*{{rfc-2119-intro}}


==Related pages==
==Related pages==
{{hreview-related-pages}}
{{hreview-related-pages}}
*{{cheatsheets}}
*{{cheatsheets}}

Latest revision as of 19:42, 3 January 2009

hReview cheatsheet

hReview properties and how to use them.

This page is work in progress 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

  • The key words "MUST", "MUST NOT", "REQUIRED", "SHALL", "SHALL NOT", "SHOULD", "SHOULD NOT", "RECOMMENDED", "MAY", and "OPTIONAL" in this document are to be interpreted as described in RFC 2119.

Related pages