mirror of
https://github.com/moparisthebest/xeps
synced 2024-10-31 15:35:07 -04:00
Improve example indentation
This commit is contained in:
parent
3a1b36be1c
commit
658ae8500a
210
xep-0369.xml
210
xep-0369.xml
@ -920,22 +920,22 @@ This approach enables flexible support of multiple clients for a MIX channel pa
|
|||||||
type='result'>
|
type='result'>
|
||||||
<pubsub xlns='http://jabber.org/protocol/pubsub'>
|
<pubsub xlns='http://jabber.org/protocol/pubsub'>
|
||||||
<items node='urn:xmpp:mix:nodes:info'>
|
<items node='urn:xmpp:mix:nodes:info'>
|
||||||
<item id='2016-05-30T09:00:00' xmlns='urn:xmpp:mix:1'>
|
<item id='2016-05-30T09:00:00' xmlns='urn:xmpp:mix:1'>
|
||||||
<x xmlns='jabber:x:data' type='result'>
|
<x xmlns='jabber:x:data' type='result'>
|
||||||
<field var='FORM_TYPE' type='hidden'>
|
<field var='FORM_TYPE' type='hidden'>
|
||||||
<value>urn:xmpp:mix:1</value>
|
<value>urn:xmpp:mix:1</value>
|
||||||
</field>
|
</field>
|
||||||
<field var='Name'>
|
<field var='Name'>
|
||||||
<value>Witches Coven</value>
|
<value>Witches Coven</value>
|
||||||
</field>
|
</field>
|
||||||
<field var='Description'>
|
<field var='Description'>
|
||||||
<value>A location not far from the blasted heath where
|
<value>A location not far from the blasted heath where
|
||||||
the three witches meet</value>
|
the three witches meet</value>
|
||||||
</field>
|
</field>
|
||||||
<field var='Contact'>
|
<field var='Contact'>
|
||||||
<value>greymalkin@shakespeare.example</value>
|
<value>greymalkin@shakespeare.example</value>
|
||||||
</field>
|
</field>
|
||||||
</x>
|
</x>
|
||||||
</item>
|
</item>
|
||||||
</items>
|
</items>
|
||||||
</pubsub>
|
</pubsub>
|
||||||
@ -961,18 +961,18 @@ This approach enables flexible support of multiple clients for a MIX channel pa
|
|||||||
to='hag66@shakespeare.example/UUID-c8y/1573'
|
to='hag66@shakespeare.example/UUID-c8y/1573'
|
||||||
type='result'>
|
type='result'>
|
||||||
<pubsub xlns='http://jabber.org/protocol/pubsub'>
|
<pubsub xlns='http://jabber.org/protocol/pubsub'>
|
||||||
<items node='urn:xmpp:mix:nodes:participants'>
|
<items node='urn:xmpp:mix:nodes:participants'>
|
||||||
<item id='123456#coven@mix.shakespeare.example'>
|
<item id='123456#coven@mix.shakespeare.example'>
|
||||||
<participant xmlns='urn:xmpp:mix:1'>
|
<participant xmlns='urn:xmpp:mix:1'>
|
||||||
<nick>thirdwitch</nick>
|
<nick>thirdwitch</nick>
|
||||||
</participant>
|
</participant>
|
||||||
</item>
|
</item>
|
||||||
<item id='87123#coven@mix.shakespeare.example'>
|
<item id='87123#coven@mix.shakespeare.example'>
|
||||||
<participant xmlns='urn:xmpp:mix:1'>
|
<participant xmlns='urn:xmpp:mix:1'>
|
||||||
<nick>top witch</nick>
|
<nick>top witch</nick>
|
||||||
</participant>
|
</participant>
|
||||||
</item>
|
</item>
|
||||||
</items>
|
</items>
|
||||||
</pubsub>
|
</pubsub>
|
||||||
<items>
|
<items>
|
||||||
</iq>
|
</iq>
|
||||||
@ -1226,19 +1226,19 @@ This approach enables flexible support of multiple clients for a MIX channel pa
|
|||||||
<subscribe node='urn:xmpp:mix:nodes:messages'/>
|
<subscribe node='urn:xmpp:mix:nodes:messages'/>
|
||||||
<subscribe node='urn:xmpp:mix:nodes:presence'/>
|
<subscribe node='urn:xmpp:mix:nodes:presence'/>
|
||||||
<x xmlns='jabber:x:data' type='result'>
|
<x xmlns='jabber:x:data' type='result'>
|
||||||
<field var='FORM_TYPE' type='hidden'>
|
<field var='FORM_TYPE' type='hidden'>
|
||||||
<value>urn:xmpp:mix:1</value>
|
<value>urn:xmpp:mix:1</value>
|
||||||
</field>
|
</field>
|
||||||
<field var='JID Visibility'>
|
<field var='JID Visibility'>
|
||||||
<value>never</value>
|
<value>never</value>
|
||||||
</field>
|
</field>
|
||||||
<field var='Private Messages'>
|
<field var='Private Messages'>
|
||||||
<value>allow</value>
|
<value>allow</value>
|
||||||
</field>
|
</field>
|
||||||
<field var='vCard'>
|
<field var='vCard'>
|
||||||
<value>block</value>
|
<value>block</value>
|
||||||
</field>
|
</field>
|
||||||
</x>
|
</x>
|
||||||
</join>
|
</join>
|
||||||
</iq>
|
</iq>
|
||||||
]]></example>
|
]]></example>
|
||||||
@ -1257,23 +1257,23 @@ This approach enables flexible support of multiple clients for a MIX channel pa
|
|||||||
id='E6E10350-76CF-40C6-B91B-1EA08C332FC7'>
|
id='E6E10350-76CF-40C6-B91B-1EA08C332FC7'>
|
||||||
<user-preference xmlns='urn:xmpp:mix:1'>
|
<user-preference xmlns='urn:xmpp:mix:1'>
|
||||||
<x xmlns='jabber:x:data' type='form'>
|
<x xmlns='jabber:x:data' type='form'>
|
||||||
<field var='FORM_TYPE' type='hidden'>
|
<field var='FORM_TYPE' type='hidden'>
|
||||||
<value>urn:xmpp:mix:1</value>
|
<value>urn:xmpp:mix:1</value>
|
||||||
</field>
|
</field>
|
||||||
<field type='list-single' label='Preference for JID Visibility'
|
<field type='list-single' label='Preference for JID Visibility
|
||||||
var='JID Visibility'>
|
var='JID Visibility'>
|
||||||
<option label='JID Never Shown'><value>Never</value></option>
|
<option label='JID Never Shown'><value>Never</value></option>
|
||||||
<option label='Default Behaviour'>
|
<option label='Default Behaviour'
|
||||||
<value>default</value></option>
|
<value>default</value></option>
|
||||||
<option label='Try not to show JID'>
|
<option label='Try not to show JID'>
|
||||||
<value>prefer not</value></option>
|
<value>prefer not</value></option>
|
||||||
</field>
|
</field>
|
||||||
<field type='list-single' label='Example Custom Preference'
|
<field type='list-single' label='Example Custom Preference'
|
||||||
var='Custom Preference'>
|
var='Custom Preference'>
|
||||||
<option label='One Option'><value>a</value></option>
|
<option label='One Option'><value>a</value></option>
|
||||||
<option label='Another Option'><value>b</value></option>
|
<option label='Another Option'><value>b</value></option>
|
||||||
</field>
|
</field>
|
||||||
</x>
|
</x>
|
||||||
</user-preference>
|
</user-preference>
|
||||||
</iq>
|
</iq>
|
||||||
]]></example>
|
]]></example>
|
||||||
@ -1606,9 +1606,9 @@ This approach enables flexible support of multiple clients for a MIX channel pa
|
|||||||
to='coven@mix.shakespeare.example'
|
to='coven@mix.shakespeare.example'
|
||||||
type='get'>
|
type='get'>
|
||||||
<pubsub xlns='http://jabber.org/protocol/pubsub'>
|
<pubsub xlns='http://jabber.org/protocol/pubsub'>
|
||||||
<items node='urn:xmpp:mix:nodes:jidmap'>
|
<items node='urn:xmpp:mix:nodes:jidmap'>
|
||||||
<item id='123456#coven@mix.shakespeare.example'/>
|
<item id='123456#coven@mix.shakespeare.example'/>
|
||||||
</items>
|
</items>
|
||||||
</pubsub>
|
</pubsub>
|
||||||
</iq>
|
</iq>
|
||||||
|
|
||||||
@ -1617,13 +1617,13 @@ This approach enables flexible support of multiple clients for a MIX channel pa
|
|||||||
to='hag66@shakespeare.example/UUID-c8y/1573'
|
to='hag66@shakespeare.example/UUID-c8y/1573'
|
||||||
type='result'>
|
type='result'>
|
||||||
<pubsub xlns='http://jabber.org/protocol/pubsub'>
|
<pubsub xlns='http://jabber.org/protocol/pubsub'>
|
||||||
<items node='urn:xmpp:mix:nodes:jidmap'>
|
<items node='urn:xmpp:mix:nodes:jidmap'>
|
||||||
<item id='123456#coven@mix.shakespeare.example'>
|
<item id='123456#coven@mix.shakespeare.example'>
|
||||||
<participant xmlns='urn:xmpp:mix:1'>
|
<participant xmlns='urn:xmpp:mix:1'>
|
||||||
<jid>hecate@mix.shakespeare.example</jid>
|
<jid>hecate@mix.shakespeare.example</jid>
|
||||||
</participant>
|
</participant>
|
||||||
</item>
|
</item>
|
||||||
</items>
|
</items>
|
||||||
</pubsub>
|
</pubsub>
|
||||||
<items>
|
<items>
|
||||||
</iq>]]> </example>
|
</iq>]]> </example>
|
||||||
@ -1639,35 +1639,35 @@ This approach enables flexible support of multiple clients for a MIX channel pa
|
|||||||
id='kl2fax27'
|
id='kl2fax27'
|
||||||
to='coven@mix.shakespeare.example'
|
to='coven@mix.shakespeare.example'
|
||||||
type='set'>
|
type='set'>
|
||||||
<query xlns='urn:xmpp:mam:2'
|
<query xlns='urn:xmpp:mam:2'
|
||||||
queryid='f28'
|
queryid='f28'
|
||||||
node='urn:xmpp:mix:nodes:jidmap'>
|
node='urn:xmpp:mix:nodes:jidmap'>
|
||||||
<x xmlns='jabber:x:data' type='submit'>
|
<x xmlns='jabber:x:data' type='submit'>
|
||||||
<field var='FORM_TYPE' type='hidden'>
|
<field var='FORM_TYPE' type='hidden'>
|
||||||
<value>urn:xmpp:mam:2</value>
|
<value>urn:xmpp:mam:2</value>
|
||||||
</field>
|
</field>
|
||||||
<field var='id'>
|
<field var='id'>
|
||||||
<value>123456#coven@mix.shakespeare.example</value>
|
<value>123456#coven@mix.shakespeare.example</value>
|
||||||
</field>
|
</field>
|
||||||
</x>
|
</x>
|
||||||
</query>
|
</query>
|
||||||
</iq>
|
</iq>
|
||||||
|
|
||||||
<message id='iasd208' to='hag66@shakespeare.example/UUID-c8y/1573'>
|
<message id='iasd208' to='hag66@shakespeare.example/UUID-c8y/1573'>
|
||||||
<result xmlns='urn:xmpp:mam:2' queryid='f28' id='28482-20987-73623'>
|
<result xmlns='urn:xmpp:mam:2' queryid='f28' id='28482-20987-73623'>
|
||||||
<forwarded xmlns='urn:xmpp:forward:0'>
|
<forwarded xmlns='urn:xmpp:forward:0'>
|
||||||
<delay xmlns='urn:xmpp:delay' stamp='2010-07-10T23:08:25Z'/>
|
<delay xmlns='urn:xmpp:delay' stamp='2010-07-10T23:08:25Z'/>
|
||||||
<message xmlns="jabber:client">
|
<message xmlns="jabber:client">
|
||||||
<event xmlns='http://jabber.org/protocol/pubsub#event'>
|
<event xmlns='http://jabber.org/protocol/pubsub#event'>
|
||||||
<items node='urn:xmpp:mix:nodes:jidmap'>
|
<items node='urn:xmpp:mix:nodes:jidmap'>
|
||||||
<item id='123456#coven@mix.shakespeare.example'>
|
<item id='123456#coven@mix.shakespeare.example'>
|
||||||
<participant xmlns='urn:xmpp:mix:1'>
|
<participant xmlns='urn:xmpp:mix:1'>
|
||||||
<jid>hecate@mix.shakespeare.example</jid>
|
<jid>hecate@mix.shakespeare.example</jid>
|
||||||
</participant>
|
</participant>
|
||||||
</item>
|
</item>
|
||||||
</items>
|
</items>
|
||||||
</event>
|
</event>
|
||||||
</message>
|
</message>
|
||||||
</forwarded>
|
</forwarded>
|
||||||
</result>
|
</result>
|
||||||
</message>
|
</message>
|
||||||
@ -1776,12 +1776,12 @@ This approach enables flexible support of multiple clients for a MIX channel pa
|
|||||||
to='hag66@shakespeare.example'
|
to='hag66@shakespeare.example'
|
||||||
id='77E07BB0-55CF-4BD4-890E-3F7C0E686BBD'
|
id='77E07BB0-55CF-4BD4-890E-3F7C0E686BBD'
|
||||||
type='groupchat'>
|
type='groupchat'>
|
||||||
<body>Harpier cries: 'tis time, 'tis time.</body>
|
<body>Harpier cries: 'tis time, 'tis time.</body>
|
||||||
<mix xmlns='urn:xmpp:mix:1'>
|
<mix xmlns='urn:xmpp:mix:1'>
|
||||||
<nick>thirdwitch</nick>
|
<nick>thirdwitch</nick>
|
||||||
<jid>123456#coven@mix.shakespeare.example</jid>
|
<jid>123456#coven@mix.shakespeare.example</jid>
|
||||||
<submission-id>92vax143g</submission-id>
|
<submission-id>92vax143g</submission-id>
|
||||||
</mix>
|
</mix>
|
||||||
</message>
|
</message>
|
||||||
]]></example>
|
]]></example>
|
||||||
</section3>
|
</section3>
|
||||||
@ -1870,12 +1870,12 @@ This approach enables flexible support of multiple clients for a MIX channel pa
|
|||||||
to='hag66@shakespeare.example/UUID-h5z/0253'
|
to='hag66@shakespeare.example/UUID-h5z/0253'
|
||||||
type='result'>
|
type='result'>
|
||||||
<invite xmlns='urn:xmpp:mix:1'>
|
<invite xmlns='urn:xmpp:mix:1'>
|
||||||
<invitation>
|
<invitation>
|
||||||
<inviter>hag66@shakespeare.example</inviter>
|
<inviter>hag66@shakespeare.example</inviter>
|
||||||
<invitee>cat@shakespeare.example</invitee>
|
<invitee>cat@shakespeare.example</invitee>
|
||||||
<channel>coven@mix.shakespeare.example</channel>
|
<channel>coven@mix.shakespeare.example</channel>
|
||||||
<token>ABCDEF</token>
|
<token>ABCDEF</token>
|
||||||
</invitation>
|
</invitation>
|
||||||
<invite/>
|
<invite/>
|
||||||
</iq>
|
</iq>
|
||||||
]]></example>
|
]]></example>
|
||||||
@ -1928,10 +1928,10 @@ This approach enables flexible support of multiple clients for a MIX channel pa
|
|||||||
<invitation-ack xmlns='urn:xmpp:mix:1'>
|
<invitation-ack xmlns='urn:xmpp:mix:1'>
|
||||||
<value>Declined</value>
|
<value>Declined</value>
|
||||||
<invitation>
|
<invitation>
|
||||||
<inviter>hag66@shakespeare.example</inviter>
|
<inviter>hag66@shakespeare.example</inviter>
|
||||||
<invitee>cat@shakespeare.example</invitee>
|
<invitee>cat@shakespeare.example</invitee>
|
||||||
<channel>coven@mix.shakespeare.example</channel>
|
<channel>coven@mix.shakespeare.example</channel>
|
||||||
<token>ABCDEF</token>
|
<token>ABCDEF</token>
|
||||||
</invitation>
|
</invitation>
|
||||||
</invitation-ack>
|
</invitation-ack>
|
||||||
</iq>
|
</iq>
|
||||||
|
Loading…
Reference in New Issue
Block a user