Skip to content

Instantly share code, notes, and snippets.

@jessotron
Created September 25, 2015 00:26
Show Gist options
  • Star 1 You must be signed in to star a gist
  • Fork 1 You must be signed in to fork a gist
  • Save jessotron/6cc655a523db5d01b8a7 to your computer and use it in GitHub Desktop.
Save jessotron/6cc655a523db5d01b8a7 to your computer and use it in GitHub Desktop.
Sample Rating Schema
<div itemscope itemtype="http://schema.org/Thing">
<h2 itemprop="name"> Super Book </h2>
<div itemprop="description">Ultra interesting. Super impressive.</div>
<div itemprop="aggregateRating" itemscope itemtype="http://schema.org/AggregateRating">
<div>Book rating:
<span itemprop="ratingValue">9</span>
<meta itemprop="bestRating" content="10"/>
<meta itemprop="worstRating" content="1"/>
based on <span itemprop="ratingCount">20</span> ratings
</div>
</div>
</div>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment