Created
September 25, 2015 00:26
-
-
Save jessotron/6cc655a523db5d01b8a7 to your computer and use it in GitHub Desktop.
Sample Rating Schema
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<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