Last active
August 29, 2015 14:00
-
-
Save kevinruscoe/a47655f745d82aea9bc7 to your computer and use it in GitHub Desktop.
microdata rating/review
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
<!-- The Review, this <div> is repeatable for more than 1 review --> | |
<div itemprop="review" itemscope itemtype="http://schema.org/Review"> | |
<h1 itemprop="about">This thing is brilliant!</h1> | |
<p><span itemprop="author">Kevin Ruscoe</span>'s review of <span property="v:itemreviewed">this thing</span> - <span itemprop="datePublished" content="2014-05-02">May 2nd 2014</span> | |
<p itemprop="reviewBody"> | |
This thing is question is awesome. It does so many things! | |
</p> | |
<p itemprop="reviewRating" itemscope itemtype="http://schema.org/Rating"> | |
Kevin gave this thing a rating of <span itemprop="ratingValue">5</span> out of <span itemprop="bestRating">5</span> | |
</p> | |
</div> | |
<!-- End Review --> | |
<!-- The Aggregate --> | |
<div itemscope itemtype="http://data-vocabulary.org/Review-aggregate"> | |
<h1 itemprop="itemReviewed">The Thing</h1> | |
<p itemprop="rating" itemscope itemtype="http://data-vocabulary.org/Rating"> | |
The Thing has an average rating of <span itemprop="average">5</span> out of <span itemprop="best">5</span> based on <span itemprop="count">1</span> review. | |
</p> | |
</div> | |
<!-- End Aggregate --> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment