1

我收到这样的警告:“警告:schema.org 的微数据不完整。” 当谷歌结构化数据测试工具。

<div itemscope itemtype="http://schema.org/Product" style="display: none;">
        <img itemprop="image" runat="server" id="listImage" src="" />
        <span itemprop="name" runat="server" id="listName"></span>
        <div itemprop="aggregateRating" itemscope itemtype="http://schema.org/AggregateRating">
              <span itemprop="ratingValue" runat="server" id="rValue"></span>out of <span itemprop="bestRating">5</span> based on 
              <span itemprop="ratingCount" runat="server" id="allRating"></span>user ratings
        </div>
        <div itemprop="offers" itemscope itemtype="http://schema.org/AggregateOffer">
               <span itemprop="lowPrice" runat="server" id="lowPrice"></span>to <span itemprop="highPrice" runat="server" id="highPrice"></span>
               <meta itemprop="priceCurrency" content="TRY" />
        </div>
        <div itemprop="offers" itemscope itemtype="http://schema.org/Offer">
               <a itemprop="url" href="" runat="server" id="firstHotel"></a>
        </div>
        <div itemprop="offers" itemscope itemtype="http://schema.org/Offer">
               <a itemprop="url" href="" runat="server" id="secondHotel"></a>
        </div>
</div>

问题是什么?感谢你

4

3 回答 3

0

Google 要求存在某些属性才能触发丰富网页摘要。您应该在此处查看 Google 文档:http: //support.google.com/webmasters/bin/answer.py ?hl=en&answer=146750

于 2013-03-08T19:59:00.683 回答
0

我对价格值有同样的问题。它需要有 2 位小数精度。

错误的:

<meta content="4.5" itemprop="price"></meta>

对:

<meta content="4.50" itemprop="price"></meta>
于 2014-01-31T17:23:35.107 回答
-1

感谢你。

我变了

    <div itemprop="offers" itemscope itemtype="http://schema.org/Offer">
           <a itemprop="url" href="" runat="server" id="firstHotel"></a>
    </div>
    <div itemprop="offers" itemscope itemtype="http://schema.org/Offer">
           <a itemprop="url" href="" runat="server" id="secondHotel"></a>
    </div>

     <div>
     <a itemprop="url" href="" runat="server" id="firstHotel"></a>
     <a itemprop="url" href="" runat="server" id="secondHotel"></a>
     </div>
于 2013-03-09T07:56:30.270 回答