Google rich snippet aggregaterating using schema.org

Posted: June 11, 2014 in web
<div itemscope itemtype="http://schema.org/LocalBusiness" class="business-card-wrapper">
    <h1 itemprop="name">Spyglass Apartments</h1>
    <div itemscope="itemscope" itemtype="http://schema.org/AggregateRating" itemprop="aggregateRating" class="result-rating five ">
        <meta itemprop="ratingValue" content="5"/>
        <span itemprop="reviewCount" class="count">2</span>
    </div>

    <div itemscope="itemscope" itemtype="http://schema.org/Review" class="entry clearfix">
        <meta itemprop="itemReviewed" content="Spyglass Apartments"/>
        <span itemprop="reviewRating" itemscope="itemscope" itemtype="http://schema.org/Rating">
            <meta itemprop="ratingValue" content="5"/>
        </span>
    </div>
    <div itemscope="itemscope" itemtype="http://schema.org/Review" class="entry clearfix">
        <meta itemprop="itemReviewed" content="Spyglass Apartments"/>
        <span itemprop="reviewRating" itemscope="itemscope" itemtype="http://schema.org/Rating">
            <meta itemprop="ratingValue" content="5"/>
        </span>
    </div>

</div>

to test

http://www.google.com/webmasters/tools/richsnippets?q=uploaded:8004fb85df13746cb8bb6211b178462e

Advertisements

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s