mirror of https://github.com/moparisthebest/xeps
1.6rc1
git-svn-id: file:///home/ksmith/gitmigration/svn/xmpp/trunk@2275 4b5297f7-1745-476d-ba37-a9c6900126ab
This commit is contained in:
parent
885a067796
commit
2680d46a80
35
xep-0080.xml
35
xep-0080.xml
|
@ -25,6 +25,12 @@
|
||||||
</schemaloc>
|
</schemaloc>
|
||||||
&hildjj;
|
&hildjj;
|
||||||
&stpeter;
|
&stpeter;
|
||||||
|
<revision>
|
||||||
|
<version>1.6rc1</version>
|
||||||
|
<date>in progress, last updated 2008-09-25</date>
|
||||||
|
<initials>psa</initials>
|
||||||
|
<remark><p>Allowed empty geoloc element to signify a pause in publishing.</p></remark>
|
||||||
|
</revision>
|
||||||
<revision>
|
<revision>
|
||||||
<version>1.5</version>
|
<version>1.5</version>
|
||||||
<date>2008-01-30</date>
|
<date>2008-01-30</date>
|
||||||
|
@ -303,9 +309,32 @@
|
||||||
</items>
|
</items>
|
||||||
</event>
|
</event>
|
||||||
</message>
|
</message>
|
||||||
.
|
]]></example>
|
||||||
.
|
<p>In order to indicate that the user is no longer publishing any location information, the user's client shall send an empty <geoloc/> element, which can be considered a "stop command" for geolocation:</p>
|
||||||
.
|
<example caption='User stops publishing geolocation information'><![CDATA[
|
||||||
|
<iq from='portia@merchantofvenice.lit/pda'
|
||||||
|
id='publish2'
|
||||||
|
type='set'>
|
||||||
|
<pubsub xmlns='http://jabber.org/protocol/pubsub'>
|
||||||
|
<publish node='http://jabber.org/protocol/geoloc'>
|
||||||
|
<item>
|
||||||
|
<geoloc xmlns='http://jabber.org/protocol/geoloc'/>
|
||||||
|
</item>
|
||||||
|
</publish>
|
||||||
|
</pubsub>
|
||||||
|
</iq>
|
||||||
|
]]></example>
|
||||||
|
<example caption='Subscriber receives empty event'><![CDATA[
|
||||||
|
<message from='portia@merchantofvenice.lit'
|
||||||
|
to='bassanio@merchantofvenice.lit'>
|
||||||
|
<event xmlns='http://jabber.org/protocol/pubsub#event'>
|
||||||
|
<items node='http://jabber.org/protocol/geoloc'>
|
||||||
|
<item id='d81a52b8-0f9c-11dc-9bc8-001143d5d5db'>
|
||||||
|
<geoloc xmlns='http://jabber.org/protocol/geoloc'/>
|
||||||
|
</item>
|
||||||
|
</items>
|
||||||
|
</event>
|
||||||
|
</message>
|
||||||
]]></example>
|
]]></example>
|
||||||
</section2>
|
</section2>
|
||||||
</section1>
|
</section1>
|
||||||
|
|
Loading…
Reference in New Issue