mirror of
https://github.com/moparisthebest/xeps
synced 2024-12-21 23:28:51 -05:00
0.3
This commit is contained in:
parent
617d333d76
commit
946df25d58
37
xep-0267.xml
37
xep-0267.xml
@ -45,6 +45,12 @@
|
||||
<email>mwild1@gmail.com</email>
|
||||
<jid>mwild1@jaim.at</jid>
|
||||
</author>
|
||||
<revision>
|
||||
<version>0.3</version>
|
||||
<date>2011-12-12</date>
|
||||
<initials>psa</initials>
|
||||
<remark><p>Updated ad-hoc command with field for the sending server; added XMPP Registrar Considerations.</p></remark>
|
||||
</revision>
|
||||
<revision>
|
||||
<version>0.2</version>
|
||||
<date>2011-12-09</date>
|
||||
@ -122,15 +128,20 @@
|
||||
<field type='hidden' var='FORM_TYPE'>
|
||||
<value>http://jabber.org/protocol/admin</value>
|
||||
</field>
|
||||
<field label='The Jabber ID for the peer server'
|
||||
<field label='The domain name of your server'
|
||||
type='jid-single'
|
||||
var='accountjid'>
|
||||
var='serverjid'>
|
||||
</field>
|
||||
<field label='The domain name of the peer server'
|
||||
type='jid-single'
|
||||
var='peerjid'>
|
||||
<required/>
|
||||
</field>
|
||||
</x>
|
||||
</command>
|
||||
</iq>
|
||||
]]></example>
|
||||
<p>Note: the form includes a field for the domain name of the sending server to support virtual hosting environments.</p>
|
||||
<example caption='Admin Submits Server Buddy Form to Service'><![CDATA[
|
||||
<iq from='bard@shakespeare.lit/globe'
|
||||
id='server-buddy-2'
|
||||
@ -144,7 +155,10 @@
|
||||
<field type='hidden' var='FORM_TYPE'>
|
||||
<value>http://jabber.org/protocol/admin</value>
|
||||
</field>
|
||||
<field var='accountjid'>
|
||||
<field var='serverjid'>
|
||||
<value>shakespeare.lit</value>
|
||||
</field>
|
||||
<field var='peerjid'>
|
||||
<value>marlowe.lit</value>
|
||||
</field>
|
||||
</x>
|
||||
@ -163,7 +177,7 @@
|
||||
status='completed'/>
|
||||
</iq>
|
||||
]]></example>
|
||||
<p>Notification of completion MAY include the processed data in a data form of type "result".</p>
|
||||
<p>Notification of completion MAY include the processed data in a data form of type "result".</p>
|
||||
</section1>
|
||||
|
||||
<section1 topic='Security Considerations' anchor='security'>
|
||||
@ -175,7 +189,20 @@
|
||||
</section1>
|
||||
|
||||
<section1 topic='XMPP Registrar Considerations' anchor='reg'>
|
||||
<p>This document requires no interaction with the ®ISTRAR;.</p>
|
||||
<section2 topic='Field Standardization' anchor='registrar-formtype'>
|
||||
<p>&xep0068; defines a process for standardizing the fields used within Data Forms scoped by a particular namespace. This registration adds two more reserved fields to the 'http://jabber.org/protocol/admin' namespace defined in XEP-0133.</p>
|
||||
<code caption='Registry Submission'><![CDATA[
|
||||
<form_type>
|
||||
<name>http://jabber.org/protocol/admin</name>
|
||||
<field var='peerjid'
|
||||
type='jid-single'
|
||||
label='The Jabber ID of a peer server'/>
|
||||
<field var='serverjid'
|
||||
type='jid-single'
|
||||
label='The Jabber ID of the server being administered'/>
|
||||
</form_type>
|
||||
]]></code>
|
||||
</section2>
|
||||
</section1>
|
||||
|
||||
</xep>
|
||||
|
Loading…
Reference in New Issue
Block a user