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
<order/> tag, plus a statement how this interacts with RSM's <before/>
and <after/> 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
<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.
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
_______________________________________________