mirror of
https://github.com/moparisthebest/xeps
synced 2024-11-21 08:45:04 -05:00
harmony with XEP-0060 for examples
git-svn-id: file:///home/ksmith/gitmigration/svn/xmpp/trunk@2984 4b5297f7-1745-476d-ba37-a9c6900126ab
This commit is contained in:
parent
e97abf1bf1
commit
76458a46cd
@ -132,7 +132,7 @@
|
||||
]]></example>
|
||||
</section2>
|
||||
<section2 topic='Correctly Specified FORM_TYPE' anchor='usecases-correct'>
|
||||
<p>In the following example, the FORM_TYPE is 'http://jabber.org/protocol/pubsub', and all of the fields whose var names start with pubsub_ would be registered with the XMPP Registrar, associated with that namespace.</p>
|
||||
<p>In the following example, the FORM_TYPE is 'http://jabber.org/protocol/pubsub', and all of the fields whose var names start with "pubsub#" would be registered with the XMPP Registrar, associated with that namespace.</p>
|
||||
|
||||
<example caption='Message with FORM_TYPE'><![CDATA[
|
||||
<message to="node-owner" from="pubsub.jabber.org">
|
||||
@ -144,13 +144,10 @@
|
||||
<field var="FORM_TYPE" type="hidden">
|
||||
<value>http://jabber.org/protocol/pubsub</value>
|
||||
</field>
|
||||
<field var="pubsub_node" type="hidden">
|
||||
<field var="pubsub#node" type="hidden">
|
||||
<value>generic/pgm-mp3-player</value>
|
||||
</field>
|
||||
<field var="pubsub_node_label" type="fixed">
|
||||
<value>The pub-sub node is: generic/pgm-mp3-player</value>
|
||||
</field>
|
||||
<field var="pubsub_subscriber_jid" type="jid-single"
|
||||
<field var="pubsub#subscriber_jid" type="jid-single"
|
||||
label="Jabber ID of Subscriber">
|
||||
<value>sub1@foo.com</value>
|
||||
</field>
|
||||
|
Loading…
Reference in New Issue
Block a user