From Microformats Wiki
Jump to navigation Jump to search

hReview FAQ

This page is for documenting Q&A about hReview. If you have a new question to ask, Please consider first asking your question on the microformats irc channel (preferably) or the microformats-discuss list.


  1. What is the purpose of the hReview microformat (i.e. why is it important for it to exist)?
  1. What are the advantages of using the hReview microformat?
  1. How do you specify more detail for the 'type' field, e.g. for an item of type "product" that is a book, or a movie (on DVD or in a theater), or a music CD? -- paraphrased from Dougal Campbell 11:54, 21 Jun 2005 (PDT)
  2. What is the difference between the 'website' and 'url' type? --Dougal Campbell 11:54, 21 Jun 2005 (PDT)
    • A 'website' presumably includes everything located on that site, whereas 'url' refers only to the particular page located at the given 'url'.
  3. What if I want to use hReview to review a podcast? Which type should I use?
    • As a podcast is typically a specific URL (often ending with ".mp3") the "url" item type should be used when publishing an hReview of a podcast.
  4. What is the proper 'type' to use for a restaurant?
    • A restaurant is a "business".
  5. Is there a standard way to add information that isn't in the default list of fields? It seems like book reviews should include the author's name, but there's no obvious way to add it to the markup. The example reviews include it in the text, but it's not part of their markup. Chris Hibbert
  6. How do I state the scale of the rating field? Kal Ström
  7. Is there some recommendation as to the url for movies, imdb perhaps? - Judson Dunn 12:40, 17 Dec 2005 (PST)
    • Many users use URLs to refer to movies. Others use or other DVD etc. product URLs to refer to movies. Some even use the URLs to specific movie sites themselves, e.g. Some also use URLs to movie traliers on movie trailer sites. You should use whatever you think best represents the specific item you are reviewing. does not make a recommendation to use one of the above in particular. - Tantek
  8. Can the item being reviewed have more than one photo?
    • Yes. In general if the specification does not explicitly forbid it, a property may take multiple values (or be specified multiple times).
  9. Is there a recommended way to use hReview to "rate" stocks?
    • Typically what you are rating is not the stock, but the company behind the stock, which would simply be an item of 'type' 'business', and you would include an hCard for the company. If you are actually rating a specific stock (for example in the case where a company has more than one type of stock for trade), then in essence you are reviewing a 'product' which is bought and sold. In that case, you can specify the item 'type' to be a 'product', and then use a standard stock market name for the stock symbol, e.g. "NYSE:T" for AT&T stock, "NasdaqNM:MSFT" for Microsoft stock, "DJI:^DJI" for the Dow Jones Industrial Average. More such scoped names for stocks can be found by looking them up on Yahoo! Finance, and you could even use a stock's Yahoo! Finance URL as the item's 'url' in the hReview, e.g. as linked from the examples listed.
    • In addition, see the FAQ#1 above. As a "stock" is a particular kind of product, you should probably tag the item in the hReview with a set of tags, e.g.:
      • <a href="" rel="tag">stock</a>
      • <a href="" rel="tag">msft</a>
      • ... etc.
  10. Should rated tags show up alongside other tags in an hReview?
    • Both rated tags and normal tags apply to the item being reviewed, and thus both are in the total set of tags for the item. As far as where they should show up, that is up to the user interface of the software or service that is displaying the hReviews.
  11. Are decimal-number ratings allowed? (ie 4.5)
    • One decimal point of precision is added in hReview 0.3 based on analysis of common rating behaviors on the Web.
  12. How do you markup a page for an item that has multiple reviews on that page (without having to repeat the information about the item in each review? Ning could use this, specifically in their default , see also
  13. For a music review, is there a standard for designating/tagging the Artist name separate from the Album name or Track name etc?
    • It depends on what specifically you are reviewing. If you are reviewing the Artist as a whole, then the Artist is the item. If you are reviewing a specific Album, then the Album is the item. If you are reviewing a particular Track, then the Track is the item. You can then just use tags for the rest of the information.
      1. Is there a standard way of specifying what the tag is addressing semantically? That is, say I were reviewing the album OK Computer from Radiohead - the item is of course OK Computer - and I can have a tag to Radiohead - but is there an accepted practice as marking it as an "artist" tag?
        • The short answer is no, tags are a relatively flat set of "aspects" of the item, and you can't give tags a "type" like that. The longer answer is, you could tag it Radiohead using a tagspace (see rel-tag for details) that specifically defined Radiohead as an artist, e.g. perhaps the Wikipedia page for Radiohead.
  14. Does anyone have a examples of hReview documents? I.e. both valid and invalid examples to test a parser against?

Related pages