Skip to content

Instantly share code, notes, and snippets.

@thomasbennett
Created April 7, 2013 23:28
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save thomasbennett/5333083 to your computer and use it in GitHub Desktop.
Save thomasbennett/5333083 to your computer and use it in GitHub Desktop.
<div itemscope itemtype="http://schema.org/Product">
<a href="http://lbemuoil.com/ultra-emu-oil.html" title="{name}">
<img src="{img}.jpg" alt="{name}" title="{name}">
</a>
<span itemprop="name">{name}</span>
<div itemprop="aggregateRating" itemscope itemtype="http://schema.org/AggregateRating">
Rated <span itemprop="ratingValue">{rating}</span>/{totalStars} based on <span itemprop="reviewCount">{totalReviews}</span> customer reviews
</div>
Product description:
<span itemprop="description">{description}</span>
<div itemprop="offers" itemscope itemtype="http://schema.org/Offer">
<span itemprop="price">{price}</span>
<link itemprop="availability" href="http://schema.org/InStock" />{stock}
</div>
</div>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment