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

Subtypes of WebPage in schema.org and rich snippets tool (Was : Schema.org and nested items)

From: Jocelyn Fournier <jocelyn.fournier@googlemail.com>
Date: Mon, 14 Nov 2011 22:50:06 +0100
Message-ID: <4EC18D0E.2090100@gmail.com>
To: Aaron Bradley <aaranged@yahoo.com>
CC: "public-vocabs@w3.org" <public-vocabs@w3.org>
Hi,

Le 14/11/11 19:26, Aaron Bradley a écrit :
[...] Regarding the failure to produce a likely rich snippets, this 
could either be your code, or the tool's notoriously parsimonious 
generation of actual rich snippet previews. [...]

After making some tests, it seems to be definitly a rich snippets tool 
bug (or non implementation).

If I replace for example on the page 
http://www.wiktik.com/profil/erica-fontanel-28064 :

<body itemscope="itemscope" itemtype="http://schema.org/ProfilePage" 
itemref="icount">

by

<body itemscope="itemscope" itemtype="http://schema.org/WebPage" 
itemref="icount">

the tool will complaint about missing "fn" inside the Person item, 
whereas I have givenname + familyname which can replace "name" according 
to the http://schema.org/Person spec.

Then if I add the name, the picture of the Person will be displayed in 
the rich snippet tool. So "about" seems to be definitly ok, but the use 
of anything other than http://schema.org/WebPage for the root itemtype 
doesn't seem to be supported yet. (well, it's not really motivating to 
adopt quickly new itemtype, hopefully GoogleBot is still able to 
understand them...)


HTH,
   Jocelyn Fournier

>> ________________________________
>> From: Jocelyn Fournier<jocelyn.fournier@googlemail.com>
>> To: public-vocabs@w3.org
>> Sent: Sunday, November 13, 2011 4:44:07 PM
>> Subject: Schema.org and nested items
>>
>> Hi,
>>
>> Initially, my "profile" pages was described with only a http://schema.org/person itemtype and all the needed information inside.
>> The google rich snippet testing tool was corrected recognizing my tags, and was displaying for example the picture of the person.
>>
>>
>> E.g. :
>>
>> <html itemscope="itemscope" itemtype="http://schema.org/Person";>
>> [...]
>> </html>
>>
>> However, I've recently changed the structure of my pages to do something more logical (at least for me) :
>>
>>
>> <html itemscope="itemscope" itemtype="http://schema.org/ProfilePage";>
>>      [...]
>>      <div itemprop="about" itemscope="itemscope" itemtype="http://schema.org/Person";>
>>          [...]
>>      </div>
>>      [...]
>> </html>
>>
>> The structure is properly recognized by google rich snippets testing tool, but it doesn't display any excerpt :
>>
>> http://www.google.com/webmasters/tools/richsnippets?url=http%3A%2F%2Fwww.wiktik.com%2Fprofil%2Flea-bourratiere-47&view=
>>
>> I'm doing something wrong, or it's just the rich snippets tool which is not able to render it properly ?
>>
>>
>>
>> Last question :
>>
>> Would it more sense to write this :
>>
>> <html itemscope="itemscope" itemtype="http://schema.org/ProfilePage";>
>>      [...]
>>      <div itemprop="mainContentOfPage" itemscope="itemscope" itemtype="http://schema.org/WebPageElement";>
>>          <div itemprop="about" itemscope="itemscope" itemtype="http://schema.org/Person";>
>>              [...]
>>          </div>
>>      </div>
>>      [...]
>> </html>
>>
>> or it's just basically the same ?
>>
>> Thanks and regards,
>>
>> -- Jocelyn Fournier
>> www.wiktik.com
>>
>>
>>
>>
Received on Monday, 14 November 2011 21:50:47 GMT

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