为什么我的schema.org评级标记为Google未显示的地方?

时间:2015-01-05 08:51:22

标签: schema.org google-webmaster-tools microdata

我正在尝试介绍Schema.org微数据,以显示Google搜索结果中的评分星。为此,我使用Google结构化数据测试工具(Google网站管理员工具)来测试我的代码。以下代码段不起作用:

<article itemscope itemtype="http://schema.org/Place">
    <div class="rating" itemprop="aggregateRating" itemscope itemtype="http://schema.org/AggregateRating">
        <meta itemprop="ratingValue" content="4" />
        <meta itemprop="bestRating" content="5" />
        <meta itemprop="ratingCount" content="1" />
    </div>
    <div class="content"><h1 itemprop="name">This is my Page name</h1></div>
</article>

有人有想法,为什么不做或做什么?

1 个答案:

答案 0 :(得分:0)

Google通常不会为“地方”商品类型显示汇总评级丰富的代码段。但是,对于更具体的场所类型,例如餐馆和其他本地商业类型,他们确实展示了它。因此,您可能需要更加具体地使用标记。

另外,隐藏标记内容(例如使用元标记)违反了Google的指导原则。所以你可能也想解决这个问题。

我希望这会有所帮助。

大卫