mirror of
https://github.com/moparisthebest/xeps
synced 2024-11-28 04:02:20 -05:00
Fix data form examples in MAM
This commit is contained in:
parent
1f1d22da8f
commit
cf64b48a65
29
xep-0313.xml
29
xep-0313.xml
@ -27,6 +27,13 @@
|
|||||||
</schemaloc>
|
</schemaloc>
|
||||||
&mwild;
|
&mwild;
|
||||||
&ksmith;
|
&ksmith;
|
||||||
|
<revision>
|
||||||
|
<version>0.4</version>
|
||||||
|
<date>2015-01-23</date>
|
||||||
|
<initials>ks/mw</initials>
|
||||||
|
<remark><p>Switch the sentinel message back to the iq result.
|
||||||
|
Various small fixes to the document.</p></remark>
|
||||||
|
</revision>
|
||||||
<revision>
|
<revision>
|
||||||
<version>0.3</version>
|
<version>0.3</version>
|
||||||
<date>2014-08-14</date>
|
<date>2014-08-14</date>
|
||||||
@ -193,8 +200,8 @@
|
|||||||
<example caption='Querying for all messages to/from a particular JID'><![CDATA[
|
<example caption='Querying for all messages to/from a particular JID'><![CDATA[
|
||||||
<iq type='set' id='juliet1'>
|
<iq type='set' id='juliet1'>
|
||||||
<query xmlns='urn:xmpp:mam:0'>
|
<query xmlns='urn:xmpp:mam:0'>
|
||||||
<x xmlns='jabber:x:data'>
|
<x xmlns='jabber:x:data' type='submit'>
|
||||||
<field var='FORM_TYPE'>
|
<field var='FORM_TYPE' type='hidden'>
|
||||||
<value>urn:xmpp:mam:0</value>
|
<value>urn:xmpp:mam:0</value>
|
||||||
</field>
|
</field>
|
||||||
<field var='with'>
|
<field var='with'>
|
||||||
@ -225,8 +232,8 @@
|
|||||||
<example caption='Querying the archive for all messages in a certain timespan'><![CDATA[
|
<example caption='Querying the archive for all messages in a certain timespan'><![CDATA[
|
||||||
<iq type='set' id='juliet1'>
|
<iq type='set' id='juliet1'>
|
||||||
<query xmlns='urn:xmpp:mam:0'>
|
<query xmlns='urn:xmpp:mam:0'>
|
||||||
<x xmlns='jabber:x:data'>
|
<x xmlns='jabber:x:data' type='submit'>
|
||||||
<field var='FORM_TYPE'>
|
<field var='FORM_TYPE' type='hidden'>
|
||||||
<value>urn:xmpp:mam:0</value>
|
<value>urn:xmpp:mam:0</value>
|
||||||
</field>
|
</field>
|
||||||
<field var='start'>
|
<field var='start'>
|
||||||
@ -242,8 +249,8 @@
|
|||||||
<example caption='Querying the archive for all messages after a certain time'><![CDATA[
|
<example caption='Querying the archive for all messages after a certain time'><![CDATA[
|
||||||
<iq type='set' id='juliet1'>
|
<iq type='set' id='juliet1'>
|
||||||
<query xmlns='urn:xmpp:mam:0'>
|
<query xmlns='urn:xmpp:mam:0'>
|
||||||
<x xmlns='jabber:x:data'>
|
<x xmlns='jabber:x:data' type='submit'>
|
||||||
<field var='FORM_TYPE'>
|
<field var='FORM_TYPE' type='hidden'>
|
||||||
<value>urn:xmpp:mam:0</value>
|
<value>urn:xmpp:mam:0</value>
|
||||||
</field>
|
</field>
|
||||||
<field var='start'>
|
<field var='start'>
|
||||||
@ -263,8 +270,8 @@
|
|||||||
<example caption='A query using Result Set Management'><![CDATA[
|
<example caption='A query using Result Set Management'><![CDATA[
|
||||||
<iq type='set' id='q29302'>
|
<iq type='set' id='q29302'>
|
||||||
<query xmlns='urn:xmpp:mam:0'>
|
<query xmlns='urn:xmpp:mam:0'>
|
||||||
<x xmlns='jabber:x:data'>
|
<x xmlns='jabber:x:data' type='submit'>
|
||||||
<field var='FORM_TYPE'>
|
<field var='FORM_TYPE' type='hidden'>
|
||||||
<value>urn:xmpp:mam:0</value>
|
<value>urn:xmpp:mam:0</value>
|
||||||
</field>
|
</field>
|
||||||
<field var='start'>
|
<field var='start'>
|
||||||
@ -308,8 +315,8 @@
|
|||||||
<example caption='A page query using Result Set Management'><![CDATA[
|
<example caption='A page query using Result Set Management'><![CDATA[
|
||||||
<iq type='set' id='q29303'>
|
<iq type='set' id='q29303'>
|
||||||
<query xmlns='urn:xmpp:mam:0'>
|
<query xmlns='urn:xmpp:mam:0'>
|
||||||
<x xmlns='jabber:x:data'>
|
<x xmlns='jabber:x:data' type='submit'>
|
||||||
<field var='FORM_TYPE'><value>urn:xmpp:mam:0</value></field>>
|
<field var='FORM_TYPE' type='hidden'><value>urn:xmpp:mam:0</value></field>>
|
||||||
<field var='start'><value>2010-08-07T00:00:00Z</value></field>
|
<field var='start'><value>2010-08-07T00:00:00Z</value></field>
|
||||||
</x>
|
</x>
|
||||||
<set xmlns='http://jabber.org/protocol/rsm'>
|
<set xmlns='http://jabber.org/protocol/rsm'>
|
||||||
@ -362,7 +369,7 @@
|
|||||||
<example><![CDATA[
|
<example><![CDATA[
|
||||||
<iq type='set' id='query4'>
|
<iq type='set' id='query4'>
|
||||||
<query xmlns='urn:xmpp:mam:0'>
|
<query xmlns='urn:xmpp:mam:0'>
|
||||||
<x xmlns='jabber:x:data' type='data'>
|
<x xmlns='jabber:x:data' type='submit'>
|
||||||
<field type='hidden' var='FORM_TYPE'>
|
<field type='hidden' var='FORM_TYPE'>
|
||||||
<value>urn:xmpp:mam:0</value>
|
<value>urn:xmpp:mam:0</value>
|
||||||
</field>
|
</field>
|
||||||
|
Loading…
Reference in New Issue
Block a user