W3C home > Mailing lists > Public > public-vocabs@w3.org > November 2011

Re: Example in the wild

From: Jeni Tennison <jeni@jenitennison.com>
Date: Mon, 14 Nov 2011 17:00:54 +0000
Cc: <public-vocabs@w3.org>
Message-Id: <BC5A25B6-B9E8-4962-B504-403EF641051C@jenitennison.com>
To: "Myers, Jay" <Jay.Myers@bestbuy.com>
Jay,

Looks good, just a couple of bugs (I guess introduced in conversion from RDFa to microdata). You can't use @content on <span> elements in microdata, so

  <span itemprop="price" content="$199.99"></span>

should be

  <meta itemprop="price" content="$199.99" />

And you need @itemprop instead of @property in microdata, so

  <span itemprop="hasInventoryLevel"
        itemscope itemtype="http://purl.org/goodrelations/v1#QuantitativeValue">
    <meta property="hasMinValue" content="1">
  </span>

should be

  <span itemprop="hasInventoryLevel"
        itemscope itemtype="http://purl.org/goodrelations/v1#QuantitativeValue">
    <meta itemprop="hasMinValue" content="1">
  </span>

What's the reason for using http://schema.org/Product for one set of products and http://purl.org/goodrelations/v1#Offering for the other rather than using just one vocabulary for both (or both vocabularies for both!)?

Jeni

On 14 Nov 2011, at 15:25, Myers, Jay wrote:

> Greetings,
>  
> We are fast approaching the 2011 holiday season, and most retailers are busy prepping their stores and websites for the most important selling time of the year. I am happy to announce our 2011 Black Friday “Doorbusters” page contains enhanced markup, utilizing http://schema.org/Product for one set of products and http://purl.org/goodrelations/v1#Offering for a second set of products. These can be found at:http://www.bestbuy.com/site/Misc/Black-Friday-Cyber-Monday/pcmcat225600050002.c?id=pcmcat225600050002&
>  
> Please feel free to contact me with comments or feedback!
>  
> Happy parsing,
>  
> Jay
>  
> ---
> Jay Myers
> Web Architect, bestbuy.com
> M: 612 296 5836
> @jaymyers
> Skype: jaymmyers
>  

-- 
Jeni Tennison
http://www.jenitennison.com
Received on Monday, 14 November 2011 17:01:31 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Tuesday, 22 May 2012 06:48:57 GMT