W3C home > Mailing lists > Public > public-schemaorg@w3.org > March 2017

Re: Question regarding using <http://www.schema.org/ItemList> with items from other ontologies

From: Tim Strehle <tim@strehle.de>
Date: Thu, 23 Mar 2017 20:33:27 +0100
Message-Id: <45C82377-D656-49DC-A40F-08CF8F7FB375@strehle.de>
Cc: public-schemaorg@w3.org
To: Tobias Schweizer <t.schweizer@unibas.ch>
Hi Tobias,

good question – I’m a newbie still figuring out how to do this properly, but my current approach is at the bottom of this blog post:

https://www.strehle.de/tim/weblog/archives/2016/05/30/1593

In essence, I added opensearch:startIndex and opensearch:itemsPerPage properties (from http://www.opensearch.org/Specifications/OpenSearch/1.1 ) to the ItemList to show the current pagination.

Setting pagination parameters is currently done via hardcoded query string parameters. Not sure how to describe pagination controls properly; probably via input properties as described here? http://schema.org/docs/actions.html

Any advice is appreciated :)

Thanks,
Tim

> Am 23.03.2017 um 19:59 schrieb Tobias Schweizer <t.schweizer@unibas.ch>:
> 
> Hi Dan
> 
> Thanks a lot for your message.
> 
> Do you happen to know an API service whose search response format conforms with http://schema.org/ItemList <http://schema.org/ItemList>?
> How would paging be handled in practice?
> 
> kind regards
> 
> Tobias
> 


Received on Thursday, 23 March 2017 19:33:57 UTC

This archive was generated by hypermail 2.4.0 : Friday, 17 January 2020 17:12:34 UTC