我们使用 schema.org 来标记许多不同的数据类型。我通常依靠 Google 测试工具来确认我的架构是否正确,但我发现在使用 Bing、Yandex、Linter 和 MOZ 进行测试时,我得到的结果好坏参半。
目前,我的“聚合”模式在 Google 的测试仪中似乎有效,但我在 Bing 上没有得到任何结果(找不到标记)和 Yandex/Linter 都显示错误。这让我想知道我的架构是否真的正确。
这是我的原始版本,在 Google 上还可以,但在其他任何测试人员上都没有结果(未找到数据)。
<div itemprop="aggregateRating" itemscope itemtype="https://schema.org/AggregateRating">
<meta itemprop="itemReviewed" content="https://schema.org/LocalBusiness">
<meta itemprop="ratingValue" content="4.6">
<meta itemprop="reviewCount" content="3,950">
</div>
这是我的更新版本,现在至少部分被 Linter 和 Yandex 看到了。我仍然没有从 MOZ 和 Bing 那里得到什么。
<div itemscope="" itemtype="https://schema.org/Organization">
<meta itemprop="name" content="Company">
<div itemprop="aggregateRating" itemscope itemtype="https://schema.org/AggregateRating">
<meta itemprop="itemReviewed" content="https://schema.org/LocalBusiness">
<meta itemprop="ratingValue" content="4.6">
<meta itemprop="reviewCount" content="3,950">
</div></div>
对格式有任何反馈吗?我错过了什么?另外,还有其他人与其他测试人员有混合验证问题吗?我觉得这很奇怪。