W3C home > Mailing lists > Public > public-vocabs@w3.org > June 2014

Re: ItemList

From: Alexander Shubin <ajax@yandex-team.ru>
Date: Tue, 10 Jun 2014 16:40:41 +0000
To: Dan Brickley <danbri@google.com>
CC: "martin.hepp@ebusiness-unibw.org" <martin.hepp@ebusiness-unibw.org>, Lorenzo De Tomasi <lorenzodetomasi@isotype.org>, W3C Web Schemas Task Force <public-vocabs@w3.org>, Guha Guha <guha@google.com>
Message-ID: <2ACFF21B-9A3E-4F7C-8ACE-E7CB62A9246C@yandex-team.ru>
Needs examples / testing with use cases...

Dan,

you can use examples from Yandex Islands platform (Real-Time Islands): http://help.yandex.ru/webmaster/interactive-answers/form-description.xml

Unfortunately this part of doc is not available in English. Here are the examples:
1.

 <div itemscope itemtype="http://schema.org/ItemList">
    <link itemprop="url" href="http://multivarki.ru?filters%5Bprice%5D%5BLTE%5D=39600"/>
        <span itemprop="numberOfElements">315</span>
    <div itemprop="itemListElement" itemscope itemtype="http://schema.org/Product">
         <img itemprop="image" src="http://img01.multivarki.ru.ru/c9/f1/a5fe6642-18d0-47ad-b038-6fca20f1c923.jpeg"/>
         <a itemprop="url" href="http://multivarki.ru/brand_502/">
            <span itemprop="name">BRAND 502</span>
         </a>
         <div itemprop="offers" itemscope itemtype="http://schema.org/Offer">
             <span itemprop="price">4399 р.</span>
         </div>
      ...
    </div>
    <div itemprop="itemListElement" itemscope itemtype="http://schema.org/Product">
      ...
    </div>
  </div>

2.

<div itemscope itemtype="http://schema.org/ItemList">
    <a itemprop="url" href="http://auto.yandex.ru/search?model=x6&mark=bmw&transmission=AUTOMATIC&group_by_model=false&tab=offers">Все
        <span itemprop="numberOfElements">170</span>объявлений</a>
    <div itemprop="itemListElement" itemscope itemtype="http://schema.org/Product">
         <link itemprop="additionalType" href="http://schema.org/Auto"/>
         <img itemprop="image" src="super_auto.jpg" />
         <span itemprop="name">BMW X6</span>
         <a itemprop="url" href="http://auto.ru/id2345345">
            <span itemprop="description">вчера, Auto.ru<http://Auto.ru></span>
         </a>
         <div itemprop="prodyear">2009</div>
         <div itemprop="offers" itemscope itemtype="http://schema.org/Offer">
             <span itemprop="price">1 750 000 руб.</span>
         </div>
      ...
    </div>
    <div itemprop="itemListElement" itemscope itemtype="http://schema.org/Product">
      ...
    </div>
  </div>

I can rewrite them in English if you wish.

BTW, numberOfElements property is Yandex’s extension of ItemList which probably would be useful to add to Schema.org<http://Schema.org> either...
----
Best,
Alex



On Jun 10, 2014, at 7:24 PM, Dan Brickley <danbri@google.com<mailto:danbri@google.com>>
 wrote:

On 13 May 2014 17:56, Dan Brickley <danbri@google.com<mailto:danbri@google.com>> wrote:
On 9 May 2014 10:03, martin.hepp@ebusiness-unibw.org<mailto:martin.hepp@ebusiness-unibw.org>
<martin.hepp@ebusiness-unibw.org<mailto:martin.hepp@ebusiness-unibw.org>> wrote:
Correction:

The latest proposal is here:

  http://lists.w3.org/Archives/Public/public-vocabs/2013Sep/0143.html


I re-read the discussion - there was basically agreement, we were just waiting for a volunteer to make it a formal proposal. I can handle that if necessary.

This should also cover the "ranking" use cases adressed by Lorenzo.

Yes, let's get ItemList back on track. We got this far previously:

https://www.w3.org/wiki/WebSchemas/ItemList


There was a start at a schema,
https://dvcs.w3.org/hg/webschema/file/default/schema.org/ext/listitem.html

but I think buggy (mixing itemlist/listitem?). It needs examples too.

I would like to look at using this to address Breadcrumb use cases.
Today I've been reorganizing
https://www.w3.org/wiki/WebSchemas/Breadcrumbs to move specific
proposals into separate pages. Breadcrumbs have been awkward since
they also require order to be preserved. Let's try to get ItemList
right and then see if it applies to Breadcrumb...

I've made a quick test build based on Martin's draft.

draft site: http://sdo-wip1.appspot.com/ItemList

draft schema: https://github.com/danbri/schemaorg/blob/sdo-itemlist/data/schema.rdfa#L9981


The core is http://sdo-wip1.appspot.com/itemListElement which is
either text, a Thing, or a ListItem; the latter indirection allows us
to keep track of ordering information.

Needs examples / testing with use cases...

Dan


Received on Tuesday, 10 June 2014 16:41:14 UTC

This archive was generated by hypermail 2.3.1 : Tuesday, 6 January 2015 21:29:42 UTC