%ents; ]>
User Browsing This document defines an XMPP protocol extension for communicating information about the web pages a user visits. &LEGALNOTICE; 0195 Experimental 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 web pages a user visits. This information may be of interest to a user's contacts and can also be used in social networking applications (e.g., co-browsing and web swarms).

Information about web pages is provided by the user (or automated integration with browsers or other systems) and is propagated on the network by the user's client. The information container for web page data is a <page/> element that is qualified by the 'urn:xmpp:browsing:0' namespace &NSNOTE;. The web page information itself is provided as the XML character data of the following children of the <page/> element:

Element Description Example Datatype Inclusion
description The value of the "description" META tag The weblog of Peter Saint-Andre xs:string OPTIONAL
keywords The value of the "keywords" META tag stpeter, Peter Saint-Andre, weblog, jabber, xmpp xs:string OPTIONAL
title The value of the <title/> element one small voice xs:string OPTIONAL
uri The URI of the page (usually but not necessarily an HTTP URL) https://stpeter.im/ xs:anyURI REQUIRED

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

When a user visits a web page, its client may publish that fact to a PEP node whose NodeID is "urn:xmpp:browsing:0" &NSNOTE; or to a generic pubsub node. Because browsing 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.

https://stpeter.im/ ]]>

The browsing information is then delivered to all subscribers:

https://stpeter.im/ ]]>

When the user stops browsing the page (e.g., by closing the browser window or tab), the user's client SHOULD send an empty <page/> element with the same ItemID:

]]> ]]>

The web pages that a user visits may be sensitive. A client MUST provide a way for a user to configure which pages or types of pages 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:browsing:0

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

If the protocol defined in this specification undergoes a major revision that is not fully backward-compatible with an older version, or that contains significant new features, the XMPP Registrar shall increment the protocol version number found at the end of the XML namespaces defined herein, as described in Section 4 of XEP-0053.

]]>