- From: Wilde, Erik <Erik.Wilde@emc.com>
- Date: Mon, 19 Nov 2012 16:46:39 -0500
- To: "public-ldp-wg@w3.org" <public-ldp-wg@w3.org>
- CC: Olivier Berger <olivier.berger@it-sudparis.eu>
hello. just me doing my usual AtomPub comparison... On 2012-11-19 13:36 , "Olivier Berger" <olivier.berger@it-sudparis.eu> wrote: >I cannot seem to quickly find a mention on how one may "query" a LDP >Container for it's number of contained members/Resources... (call it >count / len(gth) "primitives", if you will) :-/ Atom or AtomPub never talk about this, because essentially, feeds/collections often are constantly evolving things. http://tools.ietf.org/html/rfc5005 talks about "complete" feeds, but that just means that the feed is supposed to be stable. you'd still have to page through it and count to know how many things are in there. part of the reason is that many feeds are not really actually existing, physically. they are queries into data limited by the query itself, and you don't want to actually query for all entries for performance reasons. it would be easy to add some markup to Atom that would expose the number of entries, and one example for this is the totalResults element of OpenSearch: http://www.opensearch.org/Specifications/OpenSearch/1.1#The_.22totalResults .22_element cheers, dret.
Received on Monday, 19 November 2012 21:47:26 UTC