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

RE: Example in the wild

From: Myers, Jay <Jay.Myers@bestbuy.com>
Date: Mon, 14 Nov 2011 13:03:04 -0600
Message-ID: <987F7F7F3CF7964D83FFB8309B40F86F02DBCFAA@dsp83mail.na.bestbuy.com>
To: Jeni Tennison <jeni@jenitennison.com>
CC: <public-vocabs@w3.org>
Thanks for the troubleshooting -- I will alert my dev team to correct
:-)

I was hoping to provide working examples of multiple vocabs for
parsing...especially in the case of GoodRelations as a standalone use
case.

Jay


-----Original Message-----
From: Jeni Tennison [mailto:jeni@jenitennison.com] 
Sent: Monday, November 14, 2011 11:01 AM
To: Myers, Jay
Cc: public-vocabs@w3.org
Subject: Re: Example in the wild

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/pcmcat2256
00050002.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 19:05:00 GMT

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