- From: Peter Savelyev <rasifiel@yandex-team.ru>
- Date: Thu, 14 Feb 2013 18:10:25 +0400
- To: public-vocabs@w3.org
- Message-ID: <511CF051.300@yandex-team.ru>
Use additionalType syntax, because your WebPage is also Review, so this is one object with two types. 14.02.2013 15:07, Giorgio Marrale ?????: > I am implementing Schema.org <http://Schema.org> markups into my site, > and get errors when adding multiple schemas with overlapping areas. > > In the following example I get the following errors: > > Page contains property "breadcrumb" which is not part of the > schema. (Review) > Page contains property "reviewrating" which is not part of the schema. > (WPSideBar) > > So if I am right, the property does not get inheritted from the > 'Review' parent? > > <html> > <head> > <title>Title</title> > </head> > <body itemscope itemtype="http://schema.org/WebPage"> > <div itemscope itemtype="http://schema.org/Review"> > <ul> > <li> > <a itemprop="breadcrumb" href="/" title="Home">Home</a> > </li> > <li> > <a href="/page" title="Page">Page</a> > </li> > <li>Sub Page</li> > </ul> > <div> > <img src="/" itemprop="image" /> > <h1 itemprop="itemReviewed">Title</h1> > <p itemprop="reviewBody">Text text text...</p> > </div> > <div itemscope itemtype="http://schema.org/WPSideBar"> > <div itemprop="reviewRating" itemscope > itemtype="http://schema.org/Rating"> > <meta itemprop="worstRating" content="1"> > <meta itemprop="bestRating" content="10"> > First rate: Players Rating (9/10) > Second rate: Editors Rating (<span itemprop="ratingValue">9</span>/10) > </div> > </div> > </div> > </body> > </html> > > I have a test file running on the following URL: > http://www.visualsense..nl/schema-test.html > <http://www.visualsense.nl/schema-test.html> > The actual page that I like to implement this is: > http://www.maxpokerbonus.co.uk/online-poker-rooms/bet365-poker/ (Currently > without errors, because I removed the markups) > > Adding the 'WebPage'markup to the <ul> tag but it prevents me from > marking up other webpage properties. > Removing the 'WPSideBar' property works, but I really would like to > make use of these. > > I can't remove the 'reviewRating property from the sidebar, it's one > element of multiple in the sidebar that makes up the review. > > *Any ideas how to solve this matter?* > * > * > Thank you, > > Giorgio Marrale -- software developer @ Semantic Web project
Received on Thursday, 14 February 2013 15:56:38 UTC