hello I have a page ( http://schema.org/WebPage ) that contains a review ( http://schema.org/Review )
the question are:
- how to deal with duplicate contents?
- is correct making elements belong to two or more scopes?
- how to do this, repeating text twice?
- or i should avoid multiple references?
example:
<html itemscope itemtype="http://schema.org/WebPage">
<meta name="description" content="_________" itemprop="description">
...
<div itemscope itemtype="http://schema.org/Review">
<div itemprop="description">_________</div>
</div>
...
</html>
the description belongs to the Review AND to the WebPage, so… what I should write in this case?
(note: in the previous example the string “__” is the same text paragraph, repeated twice)
EDIT:
can this be a solution? (the html5 spec doesn’t talk about this, but defines the itemref attribute)
<html itemscope itemtype="http://schema.org/WebPage" id="WEBPAGE">
...
<div itemscope itemtype="http://schema.org/Review" id="REVIEW">
<div itemprop="description" itemref="WEBPAGE REVIEW">_________</div>
</div>
...
</html>
FEEL FREE TO IMPROVE THE QUESTION!
Quick answers
Some Examples
Include by wrapping
When you use the itemref attribute you include all property contained within the referred element to a different scope.
Include by wrapping – a different example
Lets say you have a product with a few different offers outside the scope.
Include a specific property
You might only wish to include one specific property outside the scope, to do this we can simply set the id directly on the targeted element with the itemprop specified.
Multiple references
Maybe a wrapper isn’t applicable, then you can use multiple references. You separate them simply by space.
Source
See also thees pages for some other explanations and examples:
http://www.w3.org/TR/2011/WD-microdata-20110405/
http://www.whatwg.org/specs/web-apps/current-work/multipage/microdata.html