%ents; ]>
User Viewing This document defines an XMPP protocol extension for communicating information about the television shows, movies, or other videos that a user watches. &LEGALNOTICE; 0197 Experimental Standards Track Standards XMPP Core XMPP IM XEP-0060 XEP-0163 viewing &stpeter; Kevin Hoekman kevin.hoekman@pandora.be kevinh@jabber.org 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 television shows, movies, or other videos that a user watches. This information may be of interest to a user's contacts and can also be used in social networking applications (e.g., IPTV systems).

Information about video viewing is provided by the user (or automated integration with video systems) and is propagated on the network by the user's client. The information container for video viewing data is a <video/> element that is qualified by the 'http://jabber.org/protocol/viewing' namespace. The video information itself is provided as the XML character data of the following children of the <video/> element:

Element Description Example Datatype
author The author of the program Robert Duncan xs:string
cast The cast members of the program Trace Beaulieu, Frank Conniff, Joel Hodgson, Jim Mallon, Kevin Murphy, Michael J. Nelson, Mary Jo Pehl xs:string
channel_name The name of the channel showing the program Sci-Fi Channel xs:string
description A description of the program Terror From The Year 5000 xs:string
duration The duration of the program (in seconds) 1800 xs:positiveInteger
end_time The end time of the program 2006-08-29T03:30Z xs:dateTime
episode The episode number of the program 807 xs:string
program_name The name of the program Mystery Science Theater 3000 xs:string
program_type The type of the program Comedy xs:string
start_time The start time of the program 2006-08-29T03:00Z xs:dateTime
subprogram_type The type of the sub-program (e.g., outtakes on an extended DVD) Cast interview xs:string
uri A URI for the video or relevant service http://www.mst3kinfo.com/ xs:anyURI
user_comment A user's free-form comments about the program This is one of my favorite episodes! MST3K forever! xs:string
user_rating The user's personal rating of the program (on a scale of 1 to 10, with 10 being highest) 9 xs:string

All elements are OPTIONAL.

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

When a user starts watching a video, its client may publish that fact to a special pubsub or PEP node (if a PEP node, the NodeID is "http://jabber.org/protocol/viewing"). The viewing information SHOULD be communicated and transported by means of the XEP-0060 protocol, especially the subset specified in XEP-0163 (as shown in the following examples). Because viewing 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.

]]>

The viewing information is then delivered to all subscribers:

. . . ]]>

When the user stops watching the video, the user's client SHOULD send an empty <video/> element to the node with the same ItemID:

]]> . . . ]]>

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

This document requires no interaction with &IANA;.

The ®ISTRAR; shall include 'http://jabber.org/protocol/viewing' in its registry of protocol namespaces.

]]>