3
我收到'错误:使用schema.org不完整的微数据'。使用Google的测试工具(http://www.google.com/webmasters/tools/richsnippets?q=uploaded:8004e2bf685980a2f0ffadd5c52b2d5f)测试标记时出现错误消息。产品的丰富片段/微型数据:错误:使用schema.org不完整的微数据
我尽可能简化了我的代码,我错过了某种“必需”类型来摆脱此错误吗?这是我目前在我的产品页面上提供的唯一数据。
在此先感谢!
<div itemscope itemtype="http://schema.org/Product" id="productdetail">
<img itemprop="image" src="testimage.jpg" width="300" height="300" name="multi" alt="Test" />
<h1 itemprop="name">Product Name</h1>
<span itemprop="offers" itemscope itemtype="http://schema.org/Offer" class="convertprice">
<span itemprop="price">£2.00</span>
</span>
<p itemprop="offers" itemscope itemtype="http://schema.org/Offer" class="stock"><link itemprop="availability" href="http://schema.org/InStock" content="In Stock" />In Stock</p>
<div class="tab_info" id="tab1">
<p itemprop="description" class="invtdesc2">This is where the product description will be!</p>
</div>
完美,谢谢,我所做的是完全摆脱第二次报价,并把结束跨度标签包含在第一次报价中的库存可用性。 可能值得在schema.org上强调必要的数据。 – Shree
很高兴帮助你。记录这一点的挑战在于,schema.org是一个搜索引擎联盟,每个联盟都可以拥有不同的所需属性集。 Google会在我们的网站管理员帮助中心记录我们需要丰富网页摘要的属性(例如https://support.google.com/webmasters/answer/146750)。同样,Bing描述了他们在其网站上需要的属性(例如http://www.bing.com/webmaster/help/products-and-offers-markup-138d0977)。 –
对于没有优惠的产品只有相同的错误。提供可用性= out_of_stock。通过添加虚拟价格= 0和pricecurrency = RUR进行修复 –