2016-08-27 14 views
0

私はリッチスニペットのために、このコードを発見した:どのようにこのリッチスニペットの評価を解決するには?

<div itemscope itemtype=”http://schema.org/Product”> 
<img itemprop=”image” src=”image-link.jpg” alt=”Product Name“/> 
    <span itemprop=”name”>Product Name</span> 
    <div itemprop=”aggregateRating itemscope 
    itemtype=”http://schema.org/AggregateRating”> 
    <span itemprop=”ratingValue”>4.5</span> 
    out of <span itemprop=”bestRating”>5</span> 
based on <span itemprop=”ratingCount”>301</span> user ratings. 
</div> 

しかし、私は<span itemprop=”ratingCount”>301</span>ユーザー評価にASED必要はありません。評価は、唯一の著者によるであろうし、それが必要以下、この絵のように見えるので:あなたが送る絵で

Google Rich Snippet showing rating stars and reviewer name

+0

マークアップの例に間違った/無効な引用符が含まれていることに注意してください。 – unor

答えて

0

を、校閲者の名前は、コンテンツ作成者ではありません。 しかし、あなたはあなたのコンテンツのため、このコードを使用することができます。reviwの著者のinsted

<div itemprop="review" itemscope itemtype="http://schema.org/Review"> 
    <span itemprop="reviewRating">5</span> stars - 
    <b>"<span itemprop="name">A masterpiece of literature</span>"</b> 
    by <span itemprop="author">John Doe</span>, 
    Written on <meta itemprop="datePublished" content="2006-05-04">May 4, 2006 
    <span itemprop="reviewBody">I really enjoyed this book. It captures the essential 
    challenge people face as they try make sense of their lives and grow to adulthood.</span> 
</div> 

と記事の間筆者

レビューをマークアップすると、Googleが有効なスキーマあなたがitemReviewedをマークアップすることを(巣を必要
0

レビューに入力する - レビュー対象の項目を最もよく説明するタイプ)。レーティングをマークアップする場合は、reviewRatingを介してレーティングタイプにレーティングを入れ子にすること、さらにレーティング値(ratingValue)をマークアップすることをおすすめします。

サンプルマークアップ:

<div itemscope itemtype="http://schema.org/Review"> 
<time itemprop="datePublished" datetime="2016-09-04">September 4, 2016</time> 
<span itemprop="reviewRating" itemscope itemtype="http://schema.org/Rating"> 
<span itemprop="ratingValue">5</span> 
</span> 
<span itemprop="author" itemscope itemtype="http://schema.org/Person"> 
<span itemprop="name">Reviewer's Name</span> 
<link itemprop="sameAs" href="http://example.com/reviewers-profile-page"/> 
</span> 
<span itemprop="description">Snippet from the body of the actual review that captures the author's opinion about the review subject.</span> 
<span itemprop="publisher" itemscope itemtype="http://schema.org/Organization"> 
<a itemprop="sameAs" href="http://publishershomepage.com"><span itemprop="name">Publisher's Name</span></a> 
</span> 
<div itemprop="itemReviewed" itemscope itemtype="http://schema.org/Product"> 
<img itemprop="image" src="product-image.jpg" alt="Product Image"/> 
<span itemprop="name">Product Name</span> 
</div> 

Google docの要求事項に関する詳細な情報を参照してください。

関連する問題