Re: [Standards] Reverse ordering in XEP-0413 vs. XEP-0313's flipped pages
Le 2021-06-30 19:48, Holger Weiß a écrit : 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 tag, plus a statement how this interacts with RSM's and tags? And _if_ this functionality is added to XEP-0413, I guess the 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 I've just published a new version of the XEP (with a namespace bump), I think I've addressed all feedbacks (yours and older ones), I've added a full Pubusb with RSM example and some direction for SQL based implementations. Let me know if you're happy with it, thanks. Goffi ___ Standards mailing list Info: https://mail.jabber.org/mailman/listinfo/standards Unsubscribe: standards-unsubscr...@xmpp.org ___
Re: [Standards] Reverse ordering in XEP-0413 vs. XEP-0313's flipped pages
Hi Holger, Le 2021-06-30 19:48, Holger Weiß a écrit : 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. Indeed, thanks for the feedback. I have a few other modifications to do for a while, I'll try to find time this week to publish a new version. 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 tag, plus a statement how this interacts with RSM's and tags? Yes this one was already mentioned in previous feedback (cf. https://mail.jabber.org/pipermail/standards/2019-January/035609.html ). Sorry I should have updated it for long. And _if_ this functionality is added to XEP-0413, I guess the 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. Yes, probably the same trick as for RSM should be used (i.e. specifying order-by in pubsub like at https://xmpp.org/extensions/xep-0060.html#subscriber-retrieve-returnsome ) Thanks for the feedbacks, I'll try to update it this week. Goffi ___ Standards mailing list Info: https://mail.jabber.org/mailman/listinfo/standards Unsubscribe: standards-unsubscr...@xmpp.org ___
[Standards] Reverse ordering in XEP-0413 vs. XEP-0313's flipped pages
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 tag, plus a statement how this interacts with RSM's and tags? And _if_ this functionality is added to XEP-0413, I guess the 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: standards-unsubscr...@xmpp.org ___