XEP-0413: Order-By allows for changing the order of items returned in PubSub or MAM responses. When results are returned as RSM (XEP-0059) pages, the question is whether the requested ordering affects (a) the order in which RSM pages are returned and/or (b) the ordering _within_ an individual RSM page. In the XSF discussion channel, Jérôme mentioned that both (a) and (b) should be affected. I think this needs clarification within the XEP.
Also, the XEP currently states¹ that the | ordering can be reversed by using the mechanisms already provided by | Result Set Management (XEP-0059). This isn't true for the ordering _within_ an individual RSM page, XEP-0059 just allows for paging backwards. So, if this feature is desired, maybe a `reverse=true|false` attribute should be added to the <order/> tag, plus a statement how this interacts with RSM's <before/> and <after/> tags? And _if_ this functionality is added to XEP-0413, I guess the <flip-page/> thing² could be removed from XEP-0313? Apart from that, I think it XEP-0413 should clarify how it also applies to RSM PubSub queries. Last not least, right now there's only a single disco#info feature for MAM and PubSub support.³ So if the server, for example, supports Order-By for MAM but not for PEP, this cannot be announced on the user JID. Holger ¹ https://xmpp.org/extensions/xep-0413.html#reverse ² https://xmpp.org/extensions/xep-0313.html#query-paging-flip ³ https://xmpp.org/extensions/xep-0413.html#disco _______________________________________________ Standards mailing list Info: https://mail.jabber.org/mailman/listinfo/standards Unsubscribe: [email protected] _______________________________________________
