微数据上的本地业务架构上的聚合评级错误

时间:2014-02-20 11:05:58

标签: microdata schema.org rich-snippets

我有一个名为RS Testimonials的插件。此插件将为具有汇总评级和评论的本地业务生成架构。但问题是明星没有出现在丰富的片段上。我最近发现在结构化数据测试工具中,我的架构在RS推荐插件中生成了错误..

这是我的架构的示例代码,您也可以在http://www.google.com/webmasters/tools/richsnippets中对此进行测试。

<div itemscope="" itemtype="http://schema.org/LocalBusiness">
    <p class="testimonial">
    </p>
    <div itemprop="reviews" itemscope="" itemtype="http://schema.org/Review">
        <div itemprop="reviewRating" itemscope="" itemtype="http://schema.org/Rating">
            <meta itemprop="ratingValue" content="5">
            <img src="http://olathe.addictionrecoverycenterks.com/wp-content/plugins/RSTestimonials/i/images/olathe-rehab-star-5.png"
            border="0" align="absmiddle" style="decoration:none;">
        </div>
        <span itemprop="name">
            <strong>
                Finally successful!
            </strong>
        </span>
        <br>
        <span itemprop="description">
            Finally successful! This was not my first try at treatment, but it is
            the only one that worked. Addiction Recovery Center Olathe, KS has an excellent
            rehabilitation program, and if you work it you are going to get clean and
            sober!
        </span>
        <br>
        —
        <strong>
            <span itemprop="author">
                Clarckson
            </span>
        </strong>
        <em>
            , Olathe
        </em>
        <meta itemprop="datePublished" content="2013-06-14">
        Jun 14, 2013
    </div>

    <span itemprop="name">
        Addiction Recovery Center Olathe KS
    </span>
    is rated
    <span itemprop="aggregateRating" itemscope="" itemtype="http://schema.org/AggregateRating">
        <span itemprop="ratingValue">
            5
        </span>
        /5 based on
        <span itemprop="reviewCount">
            5
        </span>
        reviews.
    </span>
</div>

这是我在测试工具中收到的错误消息

错误:如果在审核聚合中指定了count,则页面应包含评论。否则你可能想要投票。有关汇总评论的更多信息。

0 个答案:

没有答案