%ents; ]>
User Chatting This specification defines an XMPP protocol extension for communicating information about the chatrooms a user visits. &LEGALNOTICE; 0194 Deferred Standards Track Standards XMPP Core XMPP IM XEP-0060 XEP-0163 NOT_YET_ASSIGNED &stpeter; 0.3 2008-09-25 psa

Modified namespace in accordance with protocol versioning policies.

0.2 2007-10-03 psa

Updated in accordance with XEP-0163.

0.1 2006-08-30 psa

Initial version.

0.0.1 2006-08-28 psa

First draft.

&xep0060; and &xep0163; can be used to publish a wide variety of "extended presence" information about users. This document specifies an extended presence payload format that communicates information about the chatrooms a user visits. This information may be of interest to a user's contacts and can also be used in social networking applications.

Information about chatrooms is provided by the user (or automated integration with Jabber, IRC, or other systems) and is propagated on the network by the user's client. The information container for chatting data is a <room/> element that is qualified by the 'urn:xmpp:chatting:0' namespace &VNOTE;. The chatting information itself is provided as the XML character data of the following children of the <room/> element:

Element Description Example Datatype Inclusion
name The name of the chatroom Jabber Development xs:string OPTIONAL
topic The current topic of discussion in the room BOSH meeting xs:string OPTIONAL
uri A URI for the room (this SHOULD be an XMPP URI or IRI in accordance with &rfc5122; but MAY use some other URI scheme, such as the irc: scheme) xmpp:jdev@conference.jabber.org xs:anyURI REQUIRED

NOTE: The datatypes specified above are defined in &w3xmlschema2;.

When a user joins a room, its client MAY publish that fact to a PEP node whose NodeID is "urn:xmpp:chatting:0" &VNOTE; or to a generic pubsub node. Because chatroom information is not pure presence information and can change independently of the user's availability, it SHOULD NOT be provided as an extension to the &PRESENCE; stanza type.

Jabber Development xmpp:jdev@conference.jabber.org ]]>

The chatting information is then delivered to all subscribers:

Jabber Development xmpp:jdev@conference.jabber.org ]]>

When the user exits the room, the user's client SHOULD send an empty <room/> element with the same ItemID:

]]> ]]>

The chat rooms that a user visits may be sensitive. A client MUST provide a way for a user to configure which rooms or types of rooms will not be published (e.g., via user preferences).

This document requires no interaction with &IANA;.

This specification defines the following XML namespace:

  • urn:xmpp:chatting: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;.

&NSVER;
]]>