mirror of
https://github.com/moparisthebest/xeps
synced 2024-11-28 12:12:22 -05:00
XEP-0358 v0.2 -- Add <uri/> element.
This commit is contained in:
commit
b6199650d6
17
xep-0358.xml
17
xep-0358.xml
@ -25,6 +25,12 @@
|
|||||||
&fippo;
|
&fippo;
|
||||||
&lance;
|
&lance;
|
||||||
&stpeter;
|
&stpeter;
|
||||||
|
<revision>
|
||||||
|
<version>0.2</version>
|
||||||
|
<date>2015-08-11</date>
|
||||||
|
<initials>ls</initials>
|
||||||
|
<remark><p>Add <uri/> element.</p></remark>
|
||||||
|
</revision>
|
||||||
<revision>
|
<revision>
|
||||||
<version>0.1</version>
|
<version>0.1</version>
|
||||||
<date>2015-06-29</date>
|
<date>2015-06-29</date>
|
||||||
@ -63,6 +69,7 @@
|
|||||||
<jinglepub xmlns='urn:xmpp:jinglepub:1'
|
<jinglepub xmlns='urn:xmpp:jinglepub:1'
|
||||||
from='sender-jid'
|
from='sender-jid'
|
||||||
id='someid'>
|
id='someid'>
|
||||||
|
[<uri/> element for an alternate or informational URI of the content]
|
||||||
[<meta/> element(s) for human-friendly information]
|
[<meta/> element(s) for human-friendly information]
|
||||||
[<description/> element(s) for application format(s)]
|
[<description/> element(s) for application format(s)]
|
||||||
</jinglepub>
|
</jinglepub>
|
||||||
@ -71,6 +78,7 @@
|
|||||||
<p>The 'id' attribute is an opaque identifier. This attribute MUST be present, and MUST be a valid non-empty string. It uniquely identifies the published request at the session owner's JID.</p>
|
<p>The 'id' attribute is an opaque identifier. This attribute MUST be present, and MUST be a valid non-empty string. It uniquely identifies the published request at the session owner's JID.</p>
|
||||||
<p>The <jinglepub/> element MUST contain a <description/> element qualified by the namespace of the relevant Jingle application format (e.g., <description xmlns='urn:xmpp:jingle:apps:file-transfer:4'/> for file transfer).</p>
|
<p>The <jinglepub/> element MUST contain a <description/> element qualified by the namespace of the relevant Jingle application format (e.g., <description xmlns='urn:xmpp:jingle:apps:file-transfer:4'/> for file transfer).</p>
|
||||||
<p>The <jinglepub/> element MAY contain one or more <meta/> elements qualified by the jingle-pub namespace; if more than one element is included, each element MUST have a different value for the 'xml:lang' attribute.</p>
|
<p>The <jinglepub/> element MAY contain one or more <meta/> elements qualified by the jingle-pub namespace; if more than one element is included, each element MUST have a different value for the 'xml:lang' attribute.</p>
|
||||||
|
<p>The <jinglepub/> element MAY contain a <uri/> element which contains a URI for an alternative way to access the content, or other information about the content. The resource provided by the URI SHOULD be meaningful for clients that do not directly support the included Jingle content definitions, and accessing the URI MAY result in a different experience than initiating the published Jingle session. For example, the URI could be to a content landing page of an image hosting service from which an image could be viewed instead of directly downloading the image file.</p>
|
||||||
<p>The <jinglepub/> information is typically provided via pubsub.</p>
|
<p>The <jinglepub/> information is typically provided via pubsub.</p>
|
||||||
<p>The following example shows a possible payload for streaming of recorded audio/video sessions, here pushed out via PEP.</p>
|
<p>The following example shows a possible payload for streaming of recorded audio/video sessions, here pushed out via PEP.</p>
|
||||||
<example caption='Sender advertises session via PEP'><![CDATA[
|
<example caption='Sender advertises session via PEP'><![CDATA[
|
||||||
@ -251,10 +259,11 @@
|
|||||||
|
|
||||||
<xs:element name='jinglepub'>
|
<xs:element name='jinglepub'>
|
||||||
<xs:complexType>
|
<xs:complexType>
|
||||||
<xs:sequence>
|
<xs:all>
|
||||||
<xs:any namespace='##other' minOccurs='1' maxOccurs='unbounded'/>
|
<xs:any namespace='##other' minOccurs='0' maxOccurs='unbounded'/>
|
||||||
<xs:element name='meta' type='metaElementType'/>
|
<xs:element name='meta' type='metaElementType' minOccurs='0' maxOccurs='unbounded' />
|
||||||
</xs:sequence>
|
<xs:element name='uri' type='xs:anyURI' minOccurs='0' maxOccurs='1' />
|
||||||
|
</xs:all>
|
||||||
<xs:attribute name='description' type='xs:string' use='optional'/>
|
<xs:attribute name='description' type='xs:string' use='optional'/>
|
||||||
<xs:attribute name='from' type='xs:string' use='required'/>
|
<xs:attribute name='from' type='xs:string' use='required'/>
|
||||||
<xs:attribute name='id' type='xs:string' use='required'/>
|
<xs:attribute name='id' type='xs:string' use='required'/>
|
||||||
|
Loading…
Reference in New Issue
Block a user