Skip to content

Instantly share code, notes, and snippets.

@mick
Created March 27, 2012 23:16
Show Gist options
  • Select an option

  • Save mick/2221357 to your computer and use it in GitHub Desktop.

Select an option

Save mick/2221357 to your computer and use it in GitHub Desktop.
subscription with bounds
<iq type='set'
from='admin@talkback.im'
to='geo.talkback.im'
id='sub1'>
<pubsub xmlns='http://jabber.org/protocol/pubsub'>
<subscribe
node='test'
jid='admin@talkback.im'/>
<options node='test' jid='admin@talkback.im'>
<x xmlns='jabber:x:data' type='submit'>
<field var='FORM_TYPE' type='hidden'>
<value>http://jabber.org/protocol/pubsub#subscribe_options</value>
</field>
<field var='pubsub#bounds'>
<value>42.943 </value>
<value>-71.032 </value>
<value>43.039 </value>
<value>-69.856</value>
</field>
</x>
</options>
</pubsub>
</iq>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment