W3C home > Mailing lists > Public > public-vocabs@w3.org > March 2013

ifRelatedTo

From: Dianne van Dulken <dogmac@gmail.com>
Date: Fri, 8 Mar 2013 15:58:17 +1100
Message-ID: <CA+FBw-yyRf67zJBTofNahLz5E9xYmAaJgh-kLP_-ER4D0Gdn9A@mail.gmail.com>
To: public-vocabs@w3.org
Hi there,

I'm wondering if anyone has an example of Product.isRelatedTo in action.
 I've hunted, and found a couple of people asking, but no working examples.

For example,

I have

Item A
Description

See related products
Item B
Item C
Item D

My markup at the moment is something like


<div class="product-view" itemscope itemtype="http://schema.org/Product">
 <h2 itemprop="name">Item A</h2>
<div class="description" itemprop="description">

See related products

<a href="" itemprop="isRelatedTo">Item B</a>
<a href="" itemprop="url" ><span itemprop="isRelatedTo">Item C</span></a>
<span itemprop="isRelatedTo"><a href="" itemprop="url">Item D</a></span>

</div>

I am not sure if the correct markup is set for Item B, Item C or Item D, or
if they are all wrong.

I've read through a few posts on the forum, and they do seem to be rather
higher thinking than this question, but schema.org does point here as the
place to ask, and I'm sure I'm not the only one wishing there was an
example of this.

Thanks

Di
Received on Friday, 8 March 2013 10:11:10 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Friday, 8 March 2013 10:11:11 GMT