Skip to content

Instantly share code, notes, and snippets.

@louisebolden
Created February 17, 2015 11:31
Show Gist options
  • Save louisebolden/1d21b1874511c81266e9 to your computer and use it in GitHub Desktop.
Save louisebolden/1d21b1874511c81266e9 to your computer and use it in GitHub Desktop.
Schema Markup (Review)
<div itemscope itemtype="http://schema.org/Product">
<span itemprop="name">Kenmore White 17" Microwave</span>
<img src="kenmore-microwave-17in.jpg" alt='Kenmore 17" Microwave' />
<div itemprop="offers" itemscope itemtype="http://schema.org/Offer">
<span itemprop="priceCurrency" content="GBP">£</span><span
itemprop="price" content="1000.00">800.00</span>
<link itemprop="availability" href="http://schema.org/InStock" />In stock
</div>
Product description:
<span itemprop="description">0.7 cubic feet countertop microwave.
Has six preset cooking categories and convenience features like
Add-A-Minute and Child Lock.</span>
Customer reviews:
<div itemprop="review" itemscope itemtype="http://schema.org/Review">
<span itemprop="name">Not a happy camper</span> -
by <span itemprop="author">Ellie</span>,
<meta itemprop="datePublished" content="2011-04-01">April 1, 2011
<div itemprop="reviewRating" itemscope itemtype="http://schema.org/Rating">
<meta itemprop="worstRating" content = "1">
<span itemprop="ratingValue">1</span>/
<span itemprop="bestRating">5</span>stars
</div>
<span itemprop="description">The lamp burned out and now I have to replace it.</span>
</div>
</div>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment