【发布时间】:2015-12-01 18:31:18
【问题描述】:
Googles 结构化数据测试工具在我的 Schema.org 实施中出现了几个星期以来的错误:
Google 无法识别属性 Organization/aggregateRating 对于组织类型的对象。
这里有什么问题?
HTML 看起来像这样:
<div itemscope itemtype="http://data-vocabulary.org/Organization">
<section class="entry-header" itemprop="aggregateRating" itemscope="itemscope" itemtype="http://schema.org/AggregateRating">
<span itemprop="itemReviewed" itemscope itemtype="http://schema.org/LocalBusiness"> <h2 itemprop="name">BUSINESS NAME</h2> </span>
<span itemprop="ratingValue">5,0</span> </span> <span class="reviews"> <span class="count" itemprop="reviewCount">4</span>
.... other things here ....
</section>
</div>
这里缺少什么?我哪里错了?
【问题讨论】:
-
存在混合数据词汇表 - 尝试将顶级
itemtype属性的值替换为http://schema.org/Organization。 -
在测试您的代码时,我没有收到您引用的错误。
标签: schema.org microdata rich-snippets google-rich-snippets