【问题标题】:Warning: Incomplete microdata with schema.org警告:schema.org 的微数据不完整
【发布时间】:2014-02-01 01:23:35
【问题描述】:

我收到这样的警告:“警告: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>

有什么问题? 谢谢你

【问题讨论】:

标签: microdata


【解决方案1】:

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

【讨论】:

    【解决方案2】:

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

    错误:

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

    右:

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

    【讨论】:

      【解决方案3】:

      谢谢你。

      我变了

          <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>
      

      【讨论】:

      • 这对我不起作用,因为我有很多要提供的道具。
      猜你喜欢
      • 2021-10-25
      • 2011-08-25
      • 2012-11-08
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      相关资源
      最近更新 更多