评论聚合 Google Rich Snippet - 评论计数错误 [英] Review Aggregate Google Rich Snippet - Error with review count

查看:33
本文介绍了评论聚合 Google Rich Snippet - 评论计数错误的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我已在我的网页上成功实施了 Google Rich Snippets.但是当我尝试使用评论聚合片段时,它给了我以下错误:如果在评论汇总中指定计数,页面应包含评论.否则您可能需要使用投票"

我的页面上有评论,但为什么 Google 会说这样的话.

解决方案

我从 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">

I have successfully implemented Google Rich Snippets on my web pages. But when I tried to use review aggregate Snippets, it gives me the below error: "If count is specified in review aggregate, page should contain reviews. Otherwise you may want to use votes"

I have got reviews on my page but why Google say something like this.

解决方案

I copied the guidelines from Schema.org/AggregateRating and suffered the same error. If you haven't already, try changing itemprop to "ratingCount" instead of "reviewCount" eg:

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

这篇关于评论聚合 Google Rich Snippet - 评论计数错误的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆