Skip to content

Commit 10bda8f

Browse files
committed
XEP-0060: Explicitely say that items are returned in chronological order.
1 parent 766ed2e commit 10bda8f

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

xep-0060.xml

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -49,6 +49,12 @@
4949
&pgmillard;
5050
&stpeter;
5151
&ralphm;
52+
<revision>
53+
<version>1.22.1</version>
54+
<date>2021-11-06</date>
55+
<initials>jp</initials>
56+
<remark><p>Explicitely say that items are returned in chronological order.</p></remark>
57+
</revision>
5258
<revision>
5359
<version>1.22.0</version>
5460
<date>2021-09-07</date>
@@ -2215,6 +2221,7 @@ And by opposing end them?
22152221
</section3>
22162222
<section3 topic='Returning All Items' anchor='subscriber-retrieve-returnall'>
22172223
<p>The service then SHOULD return all available items at the node, although it MAY truncate the result set if a large number of items has been published (see next section) and naturally it cannot return items that have been deleted, expired, etc.</p>
2224+
<p>By default, items are returned in chronological order. This order can be explicitely modified by an extensions like &xep0413;.</p>
22182225
<example caption='Service returns all items'><![CDATA[
22192226
<iq type='result'
22202227
from='pubsub.shakespeare.lit'
@@ -2291,6 +2298,7 @@ And by opposing end them?
22912298
<section3 topic='Returning Some Items' anchor='subscriber-retrieve-returnsome'>
22922299
<p>A node may have a large number of items associated with it, in which case it may be problematic to return all of the items in response to an items request. In this case, the service SHOULD return some of the items and note that the list of items has been truncated by including a &xep0059; notation.</p>
22932300
<p>A Pubsub entity supporting &xep0059; SHOULD include a feature of "http://jabber.org/protocol/pubsub#rsm" in its disco#info response, to make it clear that the RSM feature is for PubSub, and not for e.g., &xep0313;.</p>
2301+
<p>In the same way as for <link url="#subscriber-retrieve-returnal">Returning All Items</link>, items are by default returned in chronological order globally and inside pages. This order can be modified by extensions such as &xep0413;.</p>
22942302
<example caption='Service returns some items via result set management'><![CDATA[
22952303
<iq type='result'
22962304
from='pubsub.shakespeare.lit'

0 commit comments

Comments
 (0)