W3C home > Mailing lists > Public > public-vocabs@w3.org > October 2012

Re: Markup Spread on Multiple Pages

From: Jason Douglas <jasondouglas@google.com>
Date: Wed, 31 Oct 2012 16:08:44 -0700
Message-ID: <CAEiKvUCb9hyb+tnSvTHfWZj4myX1hX5jeXZnK-shT980wyKU=A@mail.gmail.com>
To: Robert Powell <dotcomsuperstar@yahoo.com>
Cc: "public-vocabs@w3.org" <public-vocabs@w3.org>
It would be less ambiguous if you put the review on the outside:

<div itemscope itemtype="http://schema.org/Review>
  <div itemprop="itemReviewed" itemscope itemtype="http://schema.org/Product"
itemid="/product-name">
    <span itemprop="name">product-name</span>
  </div>
  ... review properties...
</div>

or

<div itemscope itemtype="http://schema.org/Review>
  <div itemprop="itemReviewed" itemscope itemtype="http://schema.org/Product
">
    <a itemprop="url" href="/product-name">
      <span itemprop="name">product-name</span>
    </a>
  </div>
  ... review properties...
</div>

The latter example is actually why 'url' was proposed as alternative to
'itemid'... so that the URL didn't need to be repeated if there already was
an anchor in the page.

-jason

On Wed, Oct 31, 2012 at 2:09 PM, Robert Powell <dotcomsuperstar@yahoo.com>wrote:

> Thanks for the feedback. Sounds like we are all on the same page, tag
> repeated data with some sort of canonical reference. It seems using the
> itemtype="url" content="/product-name" would be the correct way. Here is
> what I am going with:
>
> Every page:
> <div itemscope itemtype="http://schema.org/Product">
>     <span itemtype="url" content="/product-name"/>
>     ...
> </div>
>
> Review Pages & Widget (nested in tags above):
> <div itemprop="review" itemscope itemtype="http://schema.org/Review">
>     <span itemprop="url"content="/product-name/reviews/this-blender-is-great"/>
>     ...
> </div>
>
> Same will go for any other nestable microdata tag that supports a url
> attribute.
>
> I am still a bit worried that tagging every page with the root product
> will make the engines see every sub page as a duplicate. Hope this helps
> placement more than it hurts because it is a lot of work just to make bot
> engineers jobs easier, not to mention illegitimate scrapers! Would hate to
> start seeing penalties (even non intentional algorithmic ones) due to
> microdata implementation.
>
> -Robert
>
>
>   ------------------------------
> *From:* Jason Douglas <jasondouglas@google.com>
> *To:* Robert Powell <dotcomsuperstar@yahoo.com>
> *Cc:* "public-vocabs@w3.org" <public-vocabs@w3.org>
> *Sent:* Wednesday, October 31, 2012 11:18 AM
> *Subject:* Re: Markup Spread on Multiple Pages
>
> You can get the best of both worlds by consistently using itemid
> (microdata) or resource/about (RDFa) to point to the *one* canonical URL
> for the item (in your case /product-name, I presume).
>
> That way you can repeat information across pages for snippeting purposes
> (like say the product name in the reviews page), while still clearly
> indicating that it's the *same* product being described.
>
> -jason
>
>
> On Sun, Oct 28, 2012 at 3:20 PM, Robert Powell <dotcomsuperstar@yahoo.com>wrote:
>
> How should you handle snippets spread across multiple pages? For instance,
> if you have a product website with urls such as:
>
> /product-name
> /product-name/reviews
> /product-name/reviews/this-blender-is-amazing
> /product-name/manufacturers
> /browse
>
> Should I tag all the /product-name/* pages with the root product itemscope
> and simply expand upon nested types such as reviews on that specific page?
> If I have a reviews widget on /product-name should I provide snippets for
> the data within the widget or only markup the reviews page? Is it OK to add
> markup for the overall review score shown on every product page? Should I
> also provide snippets on the browse items lists?
>
> I have a feeling the answer to all my questions are yes, markup every page
> and be sure to provide a "url" property for each schema subject so the
> search engines know the root subject URL. I just want to confirm it and
> ensure that marking up all /product-name/* pages with the same root product
> won't cause the engines to only consider the root URL or something else not
> desirable.
>
> -Thanks for any feedback
>
>
>
>
>
>
>
Received on Wednesday, 31 October 2012 23:09:11 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Wednesday, 31 October 2012 23:09:12 GMT