mirror of
https://github.com/moparisthebest/xeps
synced 2025-01-30 23:10:10 -05:00
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>
|
||||
&hildjj;
|
||||
&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>
|
||||
<version>1.5</version>
|
||||
<date>2008-01-30</date>
|
||||
@ -303,9 +309,32 @@
|
||||
</items>
|
||||
</event>
|
||||
</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>
|
||||
</section2>
|
||||
</section1>
|
||||
|
Loading…
Reference in New Issue
Block a user