http://purl.org/goodrelations/没有显示Rich代码段

时间:2016-02-01 11:57:12

标签: html google-rich-snippets rdfa

我的网站是https://www.liteshop.com.au/content/olight-h15s-wave-rechargeable-led-headlamp

我们七周前在我的网站上实施了丰富的代码段,但Google仍未在搜索结果中显示。测试工具显示"所有好的"。

以下是丰富网页摘要标记:

<div prefix="gr: http://purl.org/goodrelations/v1# v: http://rdf.data-vocabulary.org/#" resource="#gr-ProductOrService" typeof="gr:ProductOrService">
    <span property="gr:name" content="Olight H15S Wave 250 lumen rechargeable LED headlamp"></span>
    <span property="gr:brand" content="Olight"></span>
    <span property="gr:image" content="https://www.liteshop.com.au/sites/default/files/olight_h15s_led_headlamp_01.jpg" ></span>
    <span property="gr:description" content="98g, 250 lumens: The H15S Wave is a powerful and intelligent head lamp with a rechargeable battery pack and infrared sensor for hands free operation.  With 250 lumens of white light, three brightness levels and up to 36 hours of run time, it’s the perfect choice for any challenge you might face in the outdoors. Battery and USB charger included. Can also use 4 X AAA."></span>
    <span property="gr:sku" content="Olight H15S"></span>
    <span property="gr:url" content="https://www.liteshop.com.au/content/olight-h15s-wave-rechargeable-led-headlamp"></span>
    <span property="gr:availability" content="In Stock"></span>
    <span property="gr:hasPriceSpecification" typeof="gr:UnitPriceSpecification">
        <span property="gr:hasCurrencyValue" content="69.95"></span>
        <span property="gr:hasCurrency" content="AUD"></span>
    </span>
    <span property="v:hasReview" typeof="v:Review-aggregate" >
        <span property="v:itemReviewed" content="Olight H15S Wave 250 lumen rechargeable LED headlamp" ></span>
        <span property="v:rating" content="5" ></span> <span property="v:votes" content="2" ></span>
    </span>
    <span property="v:aggregateRating" typeof="v:AggregateRating" >
        <span property="v:reviewCount" content="3" ></span>
    </span>
</div>

根据http://wiki.goodrelations-vocabulary.org/Quickstart&#39; xml:lang =&#34; zh&#34;&#39;名称或描述属性需要。这是问题吗?

2 个答案:

答案 0 :(得分:1)

您正在使用词汇 GoodRelations Data-Vocabulary.org

根据Google’s technical guidelines for structured data,他们只支持词汇 Schema.org

  

结构化数据应使用schema.org定义的最具体的适用类型和属性名称表示。

¹Data-Vocabulary.org之前用于他们的Rich Snippets;我不知道他们是否仍然支持它,但似乎他们不再记录它了。

答案 1 :(得分:0)

@unor是正确的,你的语法是正确的。如果您更改为schema.org,则会遇到另一个问题。 Google不接受content =“”。内容的值必须是明确的,即term">content_value</term"