[jdev] Re: GEOLOC XEP

Remko Troncon remko at el-tramo.be
Mon Oct 16 11:20:20 CDT 2006


> <iq type='get'
>     from='francisco at denmark.lit/barracks'
>     to='pubsub.shakespeare.lit'
>     id='items2'>
>   <pubsub xmlns='http://jabber.org/protocol/pubsub'>
>     <items node='geoloc:fransisco at denmark.lit'/>
>   </pubsub>
> </iq>

The pubsub service you want to use is addressed by the JID instead
of 'pubsub.shakespear.lit' (i.e. 'every account is a pubsub service') 

<iq type='get'
    from='francisco at denmark.lit/barracks'
    to='francisco at denmark.lit'
    id='items2'>
  <pubsub xmlns='http://jabber.org/protocol/pubsub'>
    <items node='http://jabber.org/protocol/geoloc'/>
  </pubsub>
</iq>

cheers,
Remko



More information about the JDev mailing list