hReview 0.4 XMDP profile
Author
As described in HTML4 Meta data profiles and XHTML Meta Data Profile (XMDP) description:
- rel
HTML4 definition of the 'rel' attribute.
Here are additional values as defined in the
rel-license and
rel-tag
specifications.
- license
- Indicates that the referred resource is a license for the referring hReview.
- self
- Indicates that the referred resource serves as a permalink, for the referring hReview.
- tag
- Indicates that the referred resource serves as a "tag",
or keyword/subject, for the referring page, or some portion of the referring page (such as an hReview).
- class
HTML4 definition of the 'class' attribute.
This meta data profile defines some 'class' attribute values (class names)
and their meanings as suggested by a
draft of "Hypertext Links in HTML".
All values are defined according to the semantics defined in the
hReview specification.
- hreview
- The root class name and container for a review.
- version
- This optional property permits hReview publishers to specify a particular version of hReview that their content uses. By omitting this property, the publisher is stating that implementations may interpret the hReviews according to any version of the hReview specification v0.2 or later. In practice the authors of this specification are committed to maintaining backward compatibility with content produced using earlier versions of the specification. This property is syntax compatible with, and thus reuses the semantics of "VERSION" as defined in vCard RFC2426 section "3.6.9 VERSION Type Definition".
- summary
- This optional property serves as a short synopsis, title, or name of the review. Re-used from hCalendar which re-uses it from iCalendar (section 4.8.1.12 of RFC 2445).
- type
- This optional property provides the type of the item being reviewed, one of several enumerated values listed here:
- product
- business
- place
- person
- event
- website
- url
- item
- The item the review is about. Depending on the type, it must be represented by a microformat on the item element itself:
hCard (for a business, place, or person),
adr (for a place),
geo (for a place), or
hCalendar event (for an event).
- fn
- item subproperty. The formatted name of an item. Re-used from hCard which re-uses it from vCard (section 3.1.1 of RFC 2426).
- url
- item subproperty. A URL of an item. This subproperty must be provided if the item is a "website" or "url". Re-used from hCard which re-uses it from vCard (section 3.6.8 of RFC 2426).
- photo
- item subproperty. A URL to a photo of an item. Re-used from hCard which re-uses it from vCard (section 3.1.4 of RFC 2426).
- reviewer
- This optional property provides information about the person who authored the review. If the value is provided then the same element that
has the class name of "reviewer" should use the class name of "vcard" and thus represent an embedded hCard.
- dtreviewed
- This optional property specifies the date and time (in ISO8601 date or date-time) that the review was written or otherwise authored.
- rating
- This optional property specifies a fixed point integer (one decimal point of precision) from 1.0 to 5.0 inclusive indicating a rating for the item, higher indicating a better rating by default.
Optionally a different integral "worst" value and/or "best" subproperty may be specified to indicate a different range (e.g. 6 from 0-10).
- worst
- rating subproperty. a rating value denoting the poorest rating possible for the item. default: 1.0.
- best
- rating subproperty. a rating value denoting the best rating possible for the item. The "best" value may be numerically smaller than the "worst" value. default: 5.0.
- description
- This optional property serves as a more detailed synopsis of the review than that provided by summary. Re-used from hCalendar which re-uses it from iCalendar (section 4.8.1.5 of RFC 2445.).
- category
- Category of the item.
Note: this property may be repeated (an item may belong in several categories). Re-used from hCalendar which re-uses it from iCalendar (section 4.8.1.2 of RFC 2445).
- value
- This class name is used to distinguish the actual value
of a property from any other cruft that may be in
the containing element representing the property.
See the
value-class-pattern for details.
- value-title
- This class name is used to distinguish the actual value
of a property, specifically in the 'title' attribute of the element,
from the element contents and the element representing
the containing property.
See the
value-class-pattern value-title description for details.
Changes from hReview 0.3
The 'value-title' class name has been incorporated from the value-class-pattern for improved accessibility, internationalization, and localization.
The 'category' property has been incorporated in order to provide more flexible tagging than just depending on rel-tag.
Copyright
Contributed to the public domain (PD) 2010 microformats.org, per the Creative Commons Public Domain License or any later version published by Creative Commons; with a waiver of rights, and an assertion that no rights attach to this particular work.