评价汇总 Google 丰富网页摘要 - 评价计数错误


Review Aggregate Google Rich Snippet - Error with review count

我已经成功地在我的网页上实现了谷歌丰富网页摘要。但是当我尝试使用评论聚合片段时,它给了我以下错误:"如果在评论聚合中指定了计数,则页面应包含评论。否则你可能想使用投票"

我的页面上有评论,但为什么谷歌说这样的话。

我从 Schema.org/AggregateRating 复制了指南并遇到了同样的错误。如果您还没有,请尝试将itemprop更改为"ratingCount"而不是"reviewCount"例如:

div itemprop="aggregateRating" itemscope="" itemtype="http://schema.org/AggregateRating"> <meta itemprop="ratingValue" content="3.5"><meta itemprop="ratingCount" content="5"> </div>

确保每条评论都标有

<div itemprop="reviewRating" itemscope itemtype="http://schema.org/Rating"> 

图式