2012-05-05 7 views
0

ほとんどの例を使用してGoogleリッチスニペットでの単一の製品の評価を表示するには、どのように複数の評価Schema.org

私はグーグルでの評価を表示したいが、私が見つけたすべての評価例は、複数の人の投票を示しを示しています。これまでのところhttp://wordpress.org/extend/plugins/author-hreview/

:私は私が欲しいものONE著者の評価に

を見せたい

はこのURLでのスクリーンショットのように、サイトの後ろのチームによって作られた一つだけの評価を示すことです。 ..

これは私が欲しいものではないかもしれませんが、おそらくスタートです。

<div itemscope itemtype="http://schema.org/Product"> 
    <span itemprop="name">Test</span> 
    <div itemprop="aggregateRating" 
    itemscope itemtype="http://schema.org/AggregateRating"> 
    Rated <span itemprop="ratingValue">3.5</span>/5 
    based on <span itemprop="reviewCount">11</span> customer reviews 
    </div> 
</div> 

受け入れ答え

答えて

1

で動作するはずです!

<div itemtype="http://schema.org/Review" itemscope=""> 
    <meta content="admin" itemprop="author" /> 
    <div itemtype="http://schema.org/Rating" itemscope="" itemprop="reviewRating"> 
     <meta content="1" itemprop="worstRating" /> 
     <meta content="3.5" itemprop="ratingValue" /> 
     <meta content="5" itemprop="bestRating" /> 
    </div> 
</div> 
0

フォーマットは何度も何度も変化し続けます。その上に検索エンジンはレビューの検証を開始しました。私はmicroformats.org hproductを代わりに使用する予定です(2013)schema.orgは製品の非総計レビューを許可していません

<div id="review"> 
<div class="hproduct"> 
<div><a class="url" href="product.html"><span class="fn">Test</span></a></div> 
<div class="description pro contra">A short description</div> 
<div class="review hreview"> 
<abbr class="dtreviewed" title="2015-01-01"></abbr> 
<abbr class="best" title="5"></abbr> 
<abbr class="rating" title="3.5"></abbr> 
<abbr class="worst" title="1"></abbr> 
<div style="display:inline-block"> 
<input type="radio" name="total" title="Horrible!" class="star" disabled="disabled" /> 
<input type="radio" name="total" title="Very Bad!" class="star" disabled="disabled" /> 
<input type="radio" name="total" title="Not Good" class="star" disabled="disabled" /> 
<input type="radio" name="total" title="OK" class="star" disabled="disabled" /> 
<input type="radio" name="total" title="Not Bad" class="star" disabled="disabled" /> 
<input type="radio" name="total" title="Good" class="star" disabled="disabled" /> 
<input type="radio" name="total" title="Pretty Good" class="star" disabled="disabled" checked="checked" /> 
<input type="radio" name="total" title="Very Good" class="star" disabled="disabled" /> 
<input type="radio" name="total" title="Excellent!" class="star" disabled="disabled" /> 
<input type="radio" name="total" title="Perfect!" class="star" disabled="disabled" /> 
</div> 
<div style="display:inline-block" class="reviewer vcard"> 
<span class="fn" itemprop="name">Anonymous</span> 
</div> 
</div> 
</div> 
関連する問題