2013-03-08 51 views
1

我採取了這樣的警告:「警告:與schema.org不完整的微數據。」當谷歌結構化數據測試工具。警告:與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> 

是什麼問題? 謝謝你

+0

參見:http://stackoverflow.com/q/15276480/1591669 – unor 2013-03-08 11:37:27

回答

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

這並不爲我工作,因爲我有一個提供許多itemprops。 – 2013-06-25 11:33:45

0

我曾與價格值相同的問題。它需要有2個小數精度。

WRONG:

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

RIGHT:

<meta content="4.50" itemprop="price"></meta> 
相關問題