GoodRelations is a standardized vocabulary for product, price, and company data that can (1) be embedded into existing static and dynamic Web pages and that (2) can be processed by other computers. This increases the visibility of your products and services in the latest generation of search engines, recommender systems, and other novel applications.
Martin Hepp
martin.hepp at ebusiness-unibw.org
Thu Jun 23 15:22:35 CEST 2011
Dear all: I just spotted a severe bug in the Google recipe for reviews, given at [1]. Please fix this in your implementations asap, because otherwise, the snippet in the Google search results may show less stars than it should. Instead of v:rating for the average, use v:average. If you use v:rating for aggregate reviews, Google seems to divide it by the number of reviews, so you may get only one star even if your average is 4.4. The following would be a correct review pattern that works with both Google and Yahoo in RDFa: <div xmlns:review="http://purl.org/stuff/rev#" xmlns:v="http://rdf.data-vocabulary.org/#" typeof="gr:Offering" about="#offer"> <div rel="review:hasReview v:hasReview"> <div typeof="v:Review-aggregate review:Review"> <div property="review:rating v:average" datatype="xsd:float" content="4"></div> <div property="review:minRating" datatype="xsd:integer" content="4"></div> <div property="review:maxRating" datatype="xsd:integer" content="5"></div> <div property="review:totalRatings v:count" datatype="xsd:integer" content="6"></div> </div> </div> </div> I have already asked Google to fix this in their documentation. So please fix it in your code asap. Thanks! Best wishes Martin Hepp [1] http://www.google.com/support/webmasters/bin/answer.py?answer=186036