0

ほとんどの例は複数の評価を示しています

Google で評価を表示したいのですが、見つけたすべての評価の例で複数のユーザーの投票が表示されています。

1 つの著者評価を表示したい

私が望むのは、この URL のスクリーンショットのように、サイトの背後にあるチームによって作成された評価を 1 つだけ表示することです: http://wordpress.org/extend/plugins/author-hreview/

ここのところ...

これは私が望んでいるものではありませんが、おそらく始まりです。

<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>

受け入れられた回答

4

2 に答える 2

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>
于 2012-05-10T14:21:00.480 に答える
0

フォルムはどんどん変化していきます。その上、検索エンジンはレビューの検証を開始しました。現在(2013年)schema.orgは製品の非集計レビューを許可していないため、代わりにmicroformats.org hproductを使用します

<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>
于 2013-06-14T09:31:10.217 に答える