hreview-cheatsheet
From Microformats
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
| Table of contents |
[edit]
Properties (Class Names)
- hReview (
hreview)-
version. optional. text. -
summary. optional. text. - item
type. optional. product | business | event | person | place | website | url. -
iteminfo. 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 alternateworst(default:1.0) and/orbest(default:5.0), also fixed point integers, and explicitvalue. -
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.
-
[edit]
Key
Based on Perl's standard quantifiers (http://www.perl.com/doc/manual/html/pod/perlre.html):
| 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 |
[edit]
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.
[edit]
Related pages
- hreview
- hReview creator (http://microformats.org/code/hreview/creator) (feedback) - create your own hReview.
- hReview authoring - learn how to add hReview mark-up to your existing contact info.
- hReview brainstorming - thoughts for improving hReview.
- hReview cheatsheet - hCard properties.
- hReview examples in the wild - an on-going list of websites which use hReview.
- hReview FAQ - If you have any questions about hReview, check here, and if you don't find answers, add your questions!
- hReview feedback - Feedback is encouraged!
- hReview implementations - websites or tools which either generate or parse hReviews.
- hReview issues - Please add any issues with the specification to the issues page.
- hReview parsing - Normatively details of how to parse hReviews.
- hReview profile - The XMDP profile for hReview.
- hReview tests - a wiki page with actual embedded hReviews to try parsing.
- hReview advocacy - encourage others to use hReview.
- review-examples
- review-formats
- review-brainstorming - where we brainstormed about review formats before coming up with hReview.
- currency - proposal for marking up amounts of money (e.g. prices of reviewed items).
- Other cheatsheets: hAtom cheatsheet, hCard cheatsheet (also adr cheatsheet + geo cheatsheet), hCalendar cheatsheet, hResume cheatsheet, hReview cheatsheet, PDF cheatsheet
