hReview brainstorming

From Microformats Wiki
hreview-brainstorming /
Revision as of 16:27, 18 July 2020 by Aaronpk (talk | contribs) (Replace <entry-title> with {{DISPLAYTITLE:}})
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search


Editor/Author
Tantek Çelik

This document is for capturing thoughts on improving/iterating upon hReview.

hReview 0.4 thoughts

  • items of type place SHOULD use a nested Geo or adr or hCard as the item itself.
  • items of type url MUST specify a url property for the item (in hReview 0.3 having "url" property for the item is only a SHOULD)
  • note that in the future, items of type product SHOULD use a nested hProduct.
  • note and clarify that item type of "url" means the review applies to *only* the resource present at that URL, whether it is an HTML page, an image, an mp3, whatever. Whereas item type of "website" applies to everything at that URL and contained in any subdirectories thereof.
  • consider deprecating the version property. is the version property needed? currently it is optional and created invisibly by the hReview creator. It is not clear that it is necessary for parsing either, since all changes to hReview have been forward/backward compatible and it is our goal to continue to make compatible changes.
  • is the type property needed? It too is created invisibly by the hReview creator.
  • drop self from the permalink. Even hAtom just uses bookmark, so should hReview.
  • should allow multiple license - switch to using item-license.
  • item type fallback. If the expected encapsulated microformat for a given item type (e.g. business / hCard) is not present, then fall back to parsing for item sub properties and construct an implied encapsulated microformat from those subproperties. Alternative, just take the fn, url, photo subproperties that are present as is, and don't bother to imply an hCard.
  • implied "fn" inside item. if there is no "fn" then treat the entire "item" as an "fn".
  • if available the user shoul be able to specify a product id, such as an ISBN for books. (valid as long as no. 3 is open)


archive

hReview 0.3 thoughts

This iteration of hReview is directly in response to hreview-feedback and hreview-issues. See those documents for more details.

Changes from hReview 0.2:

  • MUST (instead of SHOULD) use hCard for the item description of a business
  • reviewer changes
    • make reviewer *optional* per feedback from Ryan King and Mark Nottingham
    • If reviewer is absent from the hReview, then look outside the hReview, in the context of the page, for the reviewer. If there is no "reviewer" outside either, then use the <address> for the page.
    • MUST (instead of SHOULD) use hCard to represent reviewer information
  • SHOULD use hCalendar to represent an item of 'type' 'event'
    • Accepted. We considered making this a MUST, and postponed it to the next version, based on publication experience with 0.3
  • add one decimal digit of precision to ratings' numerical values.
  • use the "value" construct from hCard (as it is used in "tel" properties for example) to more explicitly markup the rating value when also providing (marking up) the best/worst of a rating. need to also provide an example that does so.
  • add rel="license" to indicate the license of the hReview as a whole.
  • permit tags inside ratings to denote rated tags, the same as ratings inside tags per suggestion from Eran Globen.
  • add include-pattern support to allow multiple reviews for the same item to not repeat the item info.

Informative improvements:

  • Note that scalar/rated tags would ideally use a tag space that explain the ratings for that tag. E.g. what does Food:18/30 mean?


Related pages