Schema.org和Google Rich Snippets测试工具存在问题

时间:2012-06-13 19:30:46

标签: schema.org rich-snippets

我正在尝试使用Google Rich Snippets Tool在我的帖子中显示明星,我找不到我显然已经犯过的错误。

http://www.google.com/webmasters/tools/richsnippets?url=http%3A%2F%2Fvpnstars.com%2Fvpn%2Fhide-my-ass%2F

我希望有人可以用以上链接指导我。

感谢。

1 个答案:

答案 0 :(得分:1)

以下代码有效,可随意根据自己的喜好进行调整。

<div itemscope itemtype="http://schema.org/LocalBusiness">
    <h1 itemprop="name">Title</h1>
    <div itemprop="aggregateRating" itemscope itemtype="http://schema.org/AggregateRating">
        <div class="rating">
        <meta itemprop="ratingValue" content="4.0">
        </div>
        <span itemprop="reviewCount">33</span>
    </div>
</div>

快乐编码:)

相关问题