Initial published version approved by the XMPP Council.
0.0.12013-03-04psa
First draft.
Publish-Subscribe (XEP-0060)XEP-0060: Publish-Subscribe <https://xmpp.org/extensions/xep-0060.html>. nodes are commonly used by XMPP users to subscribe to news feeds. This document describe a way, for them, to share some of the nodes to which they have subscribed with other users.
The list of Publish-Subscribe (XEP-0060)XEP-0060: Publish-Subscribe <https://xmpp.org/extensions/xep-0060.html>. subcribed nodes is stored on a classic Personal Eventing Protocol (XEP-0163)XEP-0163: Personal Eventing Protocol <https://xmpp.org/extensions/xep-0163.html>. node qualified by the 'urn:xmpp:subscription' namespace. If an entity wishes to make pubsub subscriptions publicly available then the entity MAY publish them on this node. The entity SHOULD ensure that this information is kept up to date.
Information about the subscribed node is provided by the user client. The subscription container is defined as a classic <subscription/> element with theses specific constraints :
Name
Type
Description
Support
server
attribute
Any server's address
REQUIRED
node
attribute
REQUIRED
id
node
RECOMMENDED
title
node
OPTIONAL
The aim of this XEP is to handle a list of subscriptions. To simplify the managment of this list the ID of the Publish-Subscribe (XEP-0060)XEP-0060: Publish-Subscribe <https://xmpp.org/extensions/xep-0060.html>. items MUST be generated according to the following method :
Initialize an empty string S
Append the name of the server, followed by the '<' character
Append the name of the node, followed by the '<' character
Append the jid of the current account
Compute the ID by hashing the S string using the SHA1 algorythm
S = ''
S = 'pubsub.montague.lit<'
S = 'pubsub.montague.lit<party'
id = de6c6772ff43d9a604ea78e51ce28b63ab8692eb
The motivations for this document are to :
Allow Jabber user's to share their Publish-Subscribe (XEP-0060)XEP-0060: Publish-Subscribe <https://xmpp.org/extensions/xep-0060.html>. subscriptions
Add a new way to discover Publish-Subscribe (XEP-0060)XEP-0060: Publish-Subscribe <https://xmpp.org/extensions/xep-0060.html>. nodes
Personnal Eventing
A simplified subset of Publish-Subscribe for use in the context of instant messaging and presence applications, whereby each IM user's JID is a virtual pubsub service; for details, see
Personal Eventing Protocol.
]]>Party at the Capulets
]]>
]]>Party at the Capulets [canceled !]
]]>
The title element of a <subscription/> item SHOULD be in the same language as the contents of the node in question.
The publication of user tune information is not known to introduce any new security considerations above and beyond those defined in XEP-0060: Publish-Subscribe.
This document requires no interaction with the Internet Assigned Numbers Authority (IANA)The Internet Assigned Numbers Authority (IANA) is the central coordinator for the assignment of unique parameter values for Internet protocols, such as port numbers and URI schemes. For further information, see <http://www.iana.org/>..
The XMPP RegistrarThe XMPP Registrar maintains a list of reserved protocol namespaces as well as registries of parameters used in the context of XMPP extension protocols approved by the XMPP Standards Foundation. For further information, see <https://xmpp.org/registrar/>. is requested to issue an initial namespace of "urn:xmpp:pubsub:subscription".