Last active
August 29, 2015 13:58
-
-
Save jmjpro/9956487 to your computer and use it in GitHub Desktop.
Microdata review without ratings attempt 1
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
<!DOCTYPE html> | |
<html lang="en"> | |
<head> | |
<title>Proper use of reviewCount</title> | |
<meta http-equiv="Content-Type" content="text/html;charset=utf-8"> | |
</head> | |
<body> | |
<div itemscope itemtype="http://schema.org/Article"> | |
<h1 itemprop="name">Proper use of reviewCount</h1> | |
<div itemprop="description">Don't use reviewCount when you should use ratingCount.</div> | |
<div itemprop="articleBody">When marking up something with reviewCount make sure the something in question has reviews. Otherwise, use ratingCount.</div> | |
<div itemprop="aggregateRating" itemscope itemtype="http://schema.org/AggregateRating">Rated <!--span itemprop="ratingValue">4</span-->/5 based on <span itemprop="reviewCount">2</span> reviews</div> | |
<div itemprop="review" itemscope itemtype="http://schema.org/Review"><span itemprop="name">A great article</span> - by <span itemprop="author">John</span>, <meta itemprop="datePublished" content="2013-10-16">October 26, 2013 | |
<!--div itemprop="reviewRating" itemscope itemtype="http://schema.org/Rating"><span itemprop="ratingValue">5</span>/5</div--> | |
<span itemprop="reviewBody">What I especially liked about this piece was that it contained only 17 words.</span> | |
</div> | |
<div itemprop="review" itemscope itemtype="http://schema.org/Review"><span itemprop="name">A bit brief</span> - by <span itemprop="author">Mary</span>, <meta itemprop="datePublished" content="2013-10-16">October 26, 2013 | |
<!--div itemprop="reviewRating" itemscope itemtype="http://schema.org/Rating"><span itemprop="ratingValue">3</span>/5</div--> | |
<span itemprop="reviewBody">It was okay, but I was hoping for something a bit more comprehensive.</span> | |
</div> | |
</div> | |
</body> | |
</html> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment