Schema.org: "The property Organization/aggregateRating is not recognized by Google for an object of type Organization"
Schema.org: "The property Organization/aggregateRating is not recognized by Google for an object of type Organization"
Google 的结构化数据测试工具在我的 Schema.org 实施中出现了几个星期以来的错误:
The property Organization/aggregateRating is not recognized by Google
for an object of type Organization.
这里有什么问题?
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>
这里缺少什么?我做错了什么?
您正在使用两个不同的词汇表:
- 来自数据的
Organization
type-Vocabulary.org
- 来自Schema.org
的AggregateRating
type and the LocalBusiness
type
虽然允许使用来自不同词汇表的类型,但您可能打算使用 Schema.org 而不是 Data-Vocabulary.org,因为 aggregateRating
property is defined for Schema.org’s Organization
,但不是 Data-Vocabulary.org的Organization
.
所以不用
<div itemscope itemtype="http://data-vocabulary.org/Organization">
会是
<div itemscope itemtype="http://schema.org/Organization">
<div itemprop="aggregateRating" itemscope itemtype="http://schema.org/AggregateRating">
<span itemprop="ratingValue">4</span>
<span itemprop="bestRating">5</span>
<span itemprop="reviewCount">2</span>
</div>
试试这个标记。
div itemprop="aggregateRating" itemtype="https://schema.org/AggregateRating" itemscope>
<meta itemprop="reviewCount" content="Total Review Count i.e. 567" />
<meta itemprop="ratingValue" content="Rating Value i.e. 4.7" />
</div>
Google 的结构化数据测试工具在我的 Schema.org 实施中出现了几个星期以来的错误:
The property Organization/aggregateRating is not recognized by Google for an object of type Organization.
这里有什么问题?
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>
这里缺少什么?我做错了什么?
您正在使用两个不同的词汇表:
- 来自数据的
Organization
type-Vocabulary.org - 来自Schema.org 的
AggregateRating
type and the LocalBusiness
type
虽然允许使用来自不同词汇表的类型,但您可能打算使用 Schema.org 而不是 Data-Vocabulary.org,因为 aggregateRating
property is defined for Schema.org’s Organization
,但不是 Data-Vocabulary.org的Organization
.
所以不用
<div itemscope itemtype="http://data-vocabulary.org/Organization">
会是
<div itemscope itemtype="http://schema.org/Organization">
<div itemprop="aggregateRating" itemscope itemtype="http://schema.org/AggregateRating">
<span itemprop="ratingValue">4</span>
<span itemprop="bestRating">5</span>
<span itemprop="reviewCount">2</span>
</div>
试试这个标记。
div itemprop="aggregateRating" itemtype="https://schema.org/AggregateRating" itemscope>
<meta itemprop="reviewCount" content="Total Review Count i.e. 567" />
<meta itemprop="ratingValue" content="Rating Value i.e. 4.7" />
</div>