Warning: This tool or project is no longer maintained and kept available only for archival purposes. Since GoodRelations and schema.org have evolved significantly in the past years, the current status available on this page is unlikely to function as expected. We take no responsibility for any damage caused by the use of this outdated work, to the extent legally possible.

Due to a lack of resources, we are unable to provide support for this project outside of consulting projects or sponsored research. Please contact us if you can contribute resources to update and enhance these resources.

GoodRelations - The Web Vocabulary for E-Commerce

This is the archive of the goodrelations dicussion list

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.

[goodrelations] Reviews / Bug in Google's documentation

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#"
	  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>

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

More information about the goodrelations mailing list