%ents; ]>
PubSub Server Information This document defines a data format whereby basic information of an XMPP domain can be expressed and exposed over pub-sub. &LEGALNOTICE; xxxx ProtoXEP Standards Track Standards Council serverinfo Guus der Kinderen guus.der.kinderen@gmail.com guus.der.kinderen@igniterealtime.org 1.0.0 2023-12-19 gdk
  • Initial version.

To facilitate discovery of information of individual domains in an XMPP-based network, this specification defines a data format to define basic information for individual XMPP domains. By leveraging &xep0060; this information can efficiently be shared with applications that compose an overview of the larger XMPP network.

Support is advertised by publishing a first-level leaf node using the name 'serverinfo' on a pub-sub service. An entity trying to discover support will, for a given domain name, use &xep0030; to identify a Publish-Subscribe service for the domain, and subsequently use service discovery to discover the node with name 'serverinfo' as defined in section 5.3 of &xep0060;.

]]> ... ... ]]>

The data format uses an element named 'serverinfo' in the namespace 'urn:xmpp:serverinfo:0'. In its minimal form, it only defines the XMPP domain name in a child-element named 'domain'.

shakespeare.lit ]]>

The optional 'federation' child element is used to denote remote XMPP domains with which the local domain is federating. Each federated domain is added as a 'connection' child-element to the 'federation' element, that has an optional 'type' attribute, defining the directionality of the connection (one of 'incoming', 'outgoing' and 'both'). The domain name of the remote XMPP domain is added in a 'domain' child element.

shakespeare.lit denmark.lit montague.net capulet.com ]]>

Additional data MAY be included in child-elements of the 'server-info' element. Such data MUST be namespaced appropriately. The example below uses the 'query' element defined in &xep0092; to include information about the software application associated with the local domain.

shakespeare.lit denmark.lit Openfire 4.8.0 Windows 11 ]]>

The data is to be published using a pub-sub node named 'serverinfo' that MUST be a first-level leaf node of a pub-sub service for the domain. It is RECOMMENDED that the leaf-node is configured to have an open access model and contain a maximum of 1 item.

shakespeare.lit denmark.lit montague.net capulet.com ]]>

As certain information can be expected to be updated continuously and frequently, the server MAY choose to reduce the frequency of updates of the 'serverinfo' pub-sub node.

This document requires no interaction with the &IANA;

This specification defines the following XML namespaces:

  • urn:xmpp:serverinfo:0

Upon advancement of this specification from a status of Experimental to a status of Draft, the ®ISTRAR; shall add the foregoing namespace to the registry located at &NAMESPACES;, as described in Section 4 of &xep0053;.

The protocol documented by this schema is defined in XEP-0XXX: http://www.xmpp.org/extensions/xep-0XXX.html ]]>

Inspiration was taken from the (now defunct) 'server info' crawler by Thomas Leister. Many thanks to Dave Cridland, as well as 'zoidberg' from the Ignite Realtime community for helping to test the initial implementation of a graphing implementation based on this XEP.