Google丰富网页摘要警告讯息 [英] Google Rich Snippets & Warning Messages

查看:92
本文介绍了Google丰富网页摘要警告讯息的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

在使用Google Rich Snippet Tesing工具时,当count- = 0的评论->汇总评论片段时,我会收到警告.以下是我正在使用的HTML的示例.

When using the Google Rich Snippet Tesing Tool, I am getting a warning when the count=0 for the reviews->aggregate reviews snippet. Below is an example of the HTML I am using.

如果计数为0,Google是否不验证评论.我检查了添加评论并且页面验证正常.如果是这样,我想除非有人发表评论,否则我将不会获得SERP中显示的其他信息.

Does Google not validate the review if the count is 0. I checked when a review is added and the page validates fine. If so I am guessing I wont get the additional info shown in the SERP until someone makes a comment.

<div id="placeinfo" class="hreview-aggregate clearing"> 
<div id="details" class="vcard item">
    <h1 class="fn org" id="pagetitle">Showcase Cinema, Coatbridge<span class="hide">, Glasgow</span></h1> 
        <ul id="rating-review" class="clearing">
            <li class="rating-holder clearing"><div class="rating average big-rating bw-0">0</div></li> 
            <li><a href="#comment-form">Add a review</a><span class="count"><span class="value-title" title="0"></span></span></li>
        </ul>
        <ul id="place-contactinfo">
        <li class="adr">
            <ul class="clearing"> 
                <li class="street-address">
                Barrbridge Leisure Centre, Coatbridge</li> 
                <li class="locality">, Glasgow</li>                    
                <li class="postal-code">, G69 7TZ</li>                
             </ul>
        </li>
        <li class="phone tel">0871 220 1000</li> 
        <li class="url"><a href="http://www.showcasecinemas.co.uk">    www.showcasecinemas.co.uk</a></li>
                    <li class="geo">
           <span class="latitude"><span class="value-title" title="55.8475380" ></span></span>
           <span class="longitude"><span class="value-title" title="-4.0645180"></span></span>
        </li> 
    </ul>         
</div>

推荐答案

按照微格式规范,计数应为正整数,并且等级应介于1.0到5.0之间(一旦定义了等级,则等级接受其他范围).

Per spec of microformats, count should be a positive integer, and rating should be something between 1.0 and 5.0 (rating accepts other ranges, once you define them).

换句话说,我们(和Google)不希望有0票,0条评论和没有评分的综合评论.如果为空,请考虑不使用此微格式,或者考虑自己进行至少一次审核,此计数和评分永远不会为0

In other words, we (and google) do not expect an aggregate review with 0 votes, 0 reviews and no rating. When it is empty, consider not using this microformat, or consider making at least one review by yourself, this countings and rating will never be 0

这篇关于Google丰富网页摘要警告讯息的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆