Schema.org 未验证:"it appears to include multiple reviews of an item, but no aggregate review information"
Schema.org is not validating: "it appears to include multiple reviews of an item, but no aggregate review information"
我正在尝试在我的网站上实施 Schema.org 结构化数据。在我的一个页面上,我可以让用户对旅游景点进行评分和评论(例如维也纳的圣史蒂芬大教堂)。现在我想用它的结构化数据来增强我的 HTML。
这是它的示例代码(也可在 http://pastebin.com/u8YZtrpW 上找到):
<!doctype html>
<html lang="de">
<head></head>
<body itemscope itemtype="http://schema.org/WebPage">
<div itemscope itemtype="http://schema.org/Place">
<article class="boxy-full">
<div>
<div class="rating" itemprop="aggregateRating" itemscope itemtype="http://schema.org/AggregateRating" title="Rating: 4.50/5 <br># Ratings: 10">
<meta itemprop="ratingValue" content="4.50"/>
<meta itemprop="bestRating" content="5"/>
<meta itemprop="ratingCount" content="10"/>
<i class="glyphicon glyphicon-star"></i>
<i class="glyphicon glyphicon-star"></i>
<i class="glyphicon glyphicon-star"></i>
<i class="glyphicon glyphicon-star"></i>
<i class="glyphicon glyphicon-star-empty"></i>
</div>
</div>
<h1 itemprop="name">Vienna - St. Stephan's Cathedral</h1>
<div class="ccheader">
<meta itemprop="image" content="/myimg.jpg"/>
<img src="/myimg.jpg" alt="St. Stephan's Cathedral"/>
</div>
<div class="content">
<p>Here comes some text to describe the Place...</p>
</div>
</article>
<div class="boxy-full">
<h2>User-Bewertungen</h2>
<article class="blueblock" itemscope itemtype="http://schema.org/Review">
<div class="pull-right" itemprop="reviewRating" itemscope itemtype="http://schema.org/Rating">
<meta itemprop="ratingValue" content="5"/>
<meta itemprop="bestRating" content="5"/>
<meta itemprop="worstRating" content="1">
<div class="rating" title="Rating: 5/5" data-placement="bottom">
<i class="glyphicon glyphicon-star"></i>
<i class="glyphicon glyphicon-star"></i>
<i class="glyphicon glyphicon-star"></i>
<i class="glyphicon glyphicon-star"></i>
<i class="glyphicon glyphicon-star"></i>
</div>
</div>
<meta itemprop="itemreviewed" content="Stephansdom in Wien">
<h3 itemprop="name">Review 1 Title</h3>
<div class="co" itemprop="reviewBody">
Here comes some review text...
</div>
<footer class="small">Created by Gastuser, on 19.01.2015
<meta itemprop="datePublished" content="2015-01-19">
</footer>
</article>
<article class="blueblock" itemscope itemtype="http://schema.org/Review">
<div class="pull-right" itemprop="reviewRating" itemscope itemtype="http://schema.org/Rating">
<meta itemprop="ratingValue" content="5"/>
<meta itemprop="bestRating" content="5"/>
<meta itemprop="worstRating" content="1">
<div class="rating" title="Rating: 5/5" data-placement="bottom">
<i class="glyphicon glyphicon-star"></i>
<i class="glyphicon glyphicon-star"></i>
<i class="glyphicon glyphicon-star"></i>
<i class="glyphicon glyphicon-star"></i>
<i class="glyphicon glyphicon-star"></i>
</div>
</div>
<meta itemprop="itemreviewed" content="Stephansdom in Wien">
<h3 itemprop="name">Review 1 Title</h3>
<div class="co" itemprop="reviewBody">
Here comes some review text...
</div>
<footer class="small">Created by Gastuser, on 19.01.2015
<meta itemprop="datePublished" content="2015-01-19">
</footer>
</article>
</div>
</div>
</body>
</html>
我现在的问题是,用于测试结构化数据的 Google 网站管理员工具 (https://www.google.com/webmasters/tools/richsnippets) 给我以下错误消息:
No rich snippet will be generated for this data, because it appears to include multiple reviews of an item, but no aggregate review information.
但是有一个聚合评级标记。我做错了什么?
我不知道为什么 Google 的 old SDTT reports this, but their new SDTT 没有:
除了 author
property that Google would like to see for the Review
项之外,没有报告相关的错误或警告。
我正在尝试在我的网站上实施 Schema.org 结构化数据。在我的一个页面上,我可以让用户对旅游景点进行评分和评论(例如维也纳的圣史蒂芬大教堂)。现在我想用它的结构化数据来增强我的 HTML。
这是它的示例代码(也可在 http://pastebin.com/u8YZtrpW 上找到):
<!doctype html>
<html lang="de">
<head></head>
<body itemscope itemtype="http://schema.org/WebPage">
<div itemscope itemtype="http://schema.org/Place">
<article class="boxy-full">
<div>
<div class="rating" itemprop="aggregateRating" itemscope itemtype="http://schema.org/AggregateRating" title="Rating: 4.50/5 <br># Ratings: 10">
<meta itemprop="ratingValue" content="4.50"/>
<meta itemprop="bestRating" content="5"/>
<meta itemprop="ratingCount" content="10"/>
<i class="glyphicon glyphicon-star"></i>
<i class="glyphicon glyphicon-star"></i>
<i class="glyphicon glyphicon-star"></i>
<i class="glyphicon glyphicon-star"></i>
<i class="glyphicon glyphicon-star-empty"></i>
</div>
</div>
<h1 itemprop="name">Vienna - St. Stephan's Cathedral</h1>
<div class="ccheader">
<meta itemprop="image" content="/myimg.jpg"/>
<img src="/myimg.jpg" alt="St. Stephan's Cathedral"/>
</div>
<div class="content">
<p>Here comes some text to describe the Place...</p>
</div>
</article>
<div class="boxy-full">
<h2>User-Bewertungen</h2>
<article class="blueblock" itemscope itemtype="http://schema.org/Review">
<div class="pull-right" itemprop="reviewRating" itemscope itemtype="http://schema.org/Rating">
<meta itemprop="ratingValue" content="5"/>
<meta itemprop="bestRating" content="5"/>
<meta itemprop="worstRating" content="1">
<div class="rating" title="Rating: 5/5" data-placement="bottom">
<i class="glyphicon glyphicon-star"></i>
<i class="glyphicon glyphicon-star"></i>
<i class="glyphicon glyphicon-star"></i>
<i class="glyphicon glyphicon-star"></i>
<i class="glyphicon glyphicon-star"></i>
</div>
</div>
<meta itemprop="itemreviewed" content="Stephansdom in Wien">
<h3 itemprop="name">Review 1 Title</h3>
<div class="co" itemprop="reviewBody">
Here comes some review text...
</div>
<footer class="small">Created by Gastuser, on 19.01.2015
<meta itemprop="datePublished" content="2015-01-19">
</footer>
</article>
<article class="blueblock" itemscope itemtype="http://schema.org/Review">
<div class="pull-right" itemprop="reviewRating" itemscope itemtype="http://schema.org/Rating">
<meta itemprop="ratingValue" content="5"/>
<meta itemprop="bestRating" content="5"/>
<meta itemprop="worstRating" content="1">
<div class="rating" title="Rating: 5/5" data-placement="bottom">
<i class="glyphicon glyphicon-star"></i>
<i class="glyphicon glyphicon-star"></i>
<i class="glyphicon glyphicon-star"></i>
<i class="glyphicon glyphicon-star"></i>
<i class="glyphicon glyphicon-star"></i>
</div>
</div>
<meta itemprop="itemreviewed" content="Stephansdom in Wien">
<h3 itemprop="name">Review 1 Title</h3>
<div class="co" itemprop="reviewBody">
Here comes some review text...
</div>
<footer class="small">Created by Gastuser, on 19.01.2015
<meta itemprop="datePublished" content="2015-01-19">
</footer>
</article>
</div>
</div>
</body>
</html>
我现在的问题是,用于测试结构化数据的 Google 网站管理员工具 (https://www.google.com/webmasters/tools/richsnippets) 给我以下错误消息:
No rich snippet will be generated for this data, because it appears to include multiple reviews of an item, but no aggregate review information.
但是有一个聚合评级标记。我做错了什么?
我不知道为什么 Google 的 old SDTT reports this, but their new SDTT 没有:
除了 author
property that Google would like to see for the Review
项之外,没有报告相关的错误或警告。