aboutsummaryrefslogtreecommitdiff
path: root/xep-0197.xml
diff options
context:
space:
mode:
authorPeter Saint-Andre <stpeter@jabber.org>2007-10-03 03:14:18 +0000
committerPeter Saint-Andre <stpeter@jabber.org>2007-10-03 03:14:18 +0000
commit4323107b66f906061bdc349258791e28cd35a951 (patch)
tree5ff107c630b3f6cd2b6441b4a2063126c66e892b /xep-0197.xml
parent97bd9b90a947853d3e7bac2d0f37aab1cfce6e73 (diff)
0.2
git-svn-id: file:///home/ksmith/gitmigration/svn/xmpp/trunk@1272 4b5297f7-1745-476d-ba37-a9c6900126ab
Diffstat (limited to 'xep-0197.xml')
-rw-r--r--xep-0197.xml50
1 files changed, 27 insertions, 23 deletions
diff --git a/xep-0197.xml b/xep-0197.xml
index 5fb717a..1c9f9f4 100644
--- a/xep-0197.xml
+++ b/xep-0197.xml
@@ -21,7 +21,7 @@
</dependencies>
<supersedes/>
<supersededby/>
- <shortname>viewing</shortname>
+ <shortname>TO BE ASSIGNED</shortname>
&stpeter;
<author>
<firstname>Kevin</firstname>
@@ -30,6 +30,12 @@
<jid>kevinh@jabber.org</jid>
</author>
<revision>
+ <version>0.2</version>
+ <date>2007-10-03</date>
+ <initials>psa</initials>
+ <remark><p>Updated in accordance with XEP-0163.</p></remark>
+ </revision>
+ <revision>
<version>0.1</version>
<date>2006-08-30</date>
<initials>psa</initials>
@@ -47,7 +53,7 @@
</section1>
<section1 topic='Protocol' anchor='protocol'>
<section2 topic='Container Element and Child Elements' anchor='protocol-elements'>
- <p>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 &lt;video/&gt; 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 &lt;video/&gt; element:</p>
+ <p>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 &lt;video/&gt; element that is qualified by the 'http://www.xmpp.org/extensions/xep-0197.html#ns' namespace. The video information itself is provided as the XML character data of the following children of the &lt;video/&gt; element:</p>
<table caption='Child Elements'>
<tr>
<th>Element</th>
@@ -144,13 +150,13 @@
<p>NOTE: The datatypes specified above are defined in &w3xmlschema2;.</p>
</section2>
<section2 topic='Transport Mechanism' anchor='protocol-transport'>
- <p>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 <cite>XEP-0060</cite> protocol, especially the subset specified in <cite>XEP-0163</cite> (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.</p>
+ <p>When a user starts watching a video, its client may publish that fact to a PEP node whose NodeID is "http://www.xmpp.org/extensions/xep-0197.html#ns" &NSNOTE; or to a generic pubsub node. 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.</p>
<example caption='User Publishes Viewing Information'><![CDATA[
<iq type='set' from='stpeter@jabber.org/work' id='viewing1'>
<pubsub xmlns='http://jabber.org/protocol/pubsub'>
- <publish node='http://jabber.org/protocol/viewing'>
+ <publish node='http://www.xmpp.org/extensions/xep-0197.html#ns'>
<item id='8eaa8ae16651455376dab4eae45772337e9ec372'>
- <video xmlns='http://jabber.org/protocol/viewing'>
+ <video xmlns='http://www.xmpp.org/extensions/xep-0197.html#ns'>
<name>Mystery Science Theater 3000</name>
<episode>807</episode>
<description>Terror From The Year 5000</description>
@@ -165,9 +171,9 @@
<example caption='Viewing Information is Delivered to All Subscribers'><![CDATA[
<message from='stpeter@jabber.org' to='maineboy@jabber.org'>
<event xmlns='http://jabber.org/protocol/pubsub#event'>
- <items node='http://jabber.org/protocol/viewing'>
+ <items node='http://www.xmpp.org/extensions/xep-0197.html#ns'>
<item id='8eaa8ae16651455376dab4eae45772337e9ec372'>
- <video xmlns='http://jabber.org/protocol/viewing'>
+ <video xmlns='http://www.xmpp.org/extensions/xep-0197.html#ns'>
<name>Mystery Science Theater 3000</name>
<episode>807</episode>
<description>Terror From The Year 5000</description>
@@ -177,17 +183,16 @@
</items>
</event>
</message>
-.
-.
-.
+
+[ ... ]
]]></example>
- <p>When the user stops watching the video, the user's client SHOULD send an empty &lt;video/&gt; element to the node with the same ItemID:</p>
+ <p>When the user stops watching the video, the user's client SHOULD send an empty &lt;video/&gt; element with the same ItemID:</p>
<example caption='User Publishes Stop Information'><![CDATA[
<iq type='set' from='stpeter@jabber.org/work' id='viewing2'>
<pubsub xmlns='http://jabber.org/protocol/pubsub'>
- <publish node='http://jabber.org/protocol/viewing'>
+ <publish node='http://www.xmpp.org/extensions/xep-0197.html#ns'>
<item id='8eaa8ae16651455376dab4eae45772337e9ec372'>
- <video xmlns='http://jabber.org/protocol/viewing'/>
+ <video xmlns='http://www.xmpp.org/extensions/xep-0197.html#ns'/>
</item>
</publish>
</pubsub>
@@ -196,28 +201,27 @@
<example caption='Stop Information is Delivered to All Subscribers'><![CDATA[
<message from='stpeter@jabber.org' to='maineboy@jabber.org'>
<event xmlns='http://jabber.org/protocol/pubsub#event'>
- <items node='http://jabber.org/protocol/viewing'>
+ <items node='http://www.xmpp.org/extensions/xep-0197.html#ns'>
<item id='8eaa8ae16651455376dab4eae45772337e9ec372'>
- <video xmlns='http://jabber.org/protocol/viewing'/>
+ <video xmlns='http://www.xmpp.org/extensions/xep-0197.html#ns'/>
</item>
</items>
</event>
</message>
-.
-.
-.
+
+[ ... ]
]]></example>
</section2>
</section1>
<section1 topic='Security Considerations' anchor='security'>
- <p>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).</p>
+ <p>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).</p>
</section1>
<section1 topic='IANA Considerations' anchor='iana'>
<p>This document requires no interaction with &IANA;.</p>
</section1>
<section1 topic='XMPP Registrar Considerations' anchor='registrar'>
- <section2 topic='Protocol Namespaces' anchor='registrar-ns'>
- <p>The &REGISTRAR; shall include 'http://jabber.org/protocol/viewing' in its registry of protocol namespaces.</p>
+ <section2 topic='Protocol Namespaces' anchor='ns'>
+ <p>Until this specification advances to a status of Draft, its associated namespace shall be "http://www.xmpp.org/extensions/xep-0197.html#ns"; upon advancement of this specification, the &REGISTRAR; shall issue a permanent namespace in accordance with the process defined in Section 4 of &xep0053;.</p>
</section2>
</section1>
<section1 topic='XML Schema' anchor='schema'>
@@ -226,8 +230,8 @@
<xs:schema
xmlns:xs='http://www.w3.org/2001/XMLSchema'
- targetNamespace='http://jabber.org/protocol/viewing'
- xmlns='http://jabber.org/protocol/viewing'
+ targetNamespace='http://www.xmpp.org/extensions/xep-0197.html#ns'
+ xmlns='http://www.xmpp.org/extensions/xep-0197.html#ns'
elementFormDefault='qualified'>
<xs:element name='room'>