Le jeudi 4 septembre 2025, 15:52:25 heure d’été d’Europe centrale Guus der
Kinderen a écrit :
Hello!
Section 5.2 of XEP-0060 'Publish-Subscribe' describes how disco#items is
used to discover nodes. Most of that section describes node discovery in
node hierarchies and collection nodes.
In version 1.12 of XEP-0060 text about collections was moved to XEP-0248
'PubSub Collection Nodes'. This specification contains a smaller paragraph
on node discovery (which is also numbered 5.2).
I would like to see the complexity of XEP-0060 be reduced. I believe that
most, if not all of its section 5.2 should be moved to XEP-0248 and removed
from XEP-0060.
The suggested change should not affect backwards compatibility, as it
doesn't result in a change of behavior: as far as I can see, the text only
applies to hierarchies and collection nodes. The change therefore is
permissible even considering XEP-0060 is Stable.
Is there any objection to this? What would relevant Node Discovery content
for XEP-0060 be (other than a reference to XEP-0248)?
Kind regards,
Guus
Hi Guus,
While I agree that the reference to collections, root and leaf nodes should be
removed or moved away, node discovery is certainly useful in general use-case
and should be part of XEP-0060 IMO.
The mechanism itself is a usual disco#items query, the section mostly explain
how to interpret the result, so it doesn't really complexify the protocol.
Discovering nodes is useful (and used) to discovers things such as blogs,
XEP-0346 forms and other pubsub-based features.
Best,
Goffi