[jdev] RE: GEOLOC XEP

Stephen Pendleton spendleton at movsoftware.com
Mon Oct 16 14:27:41 CDT 2006


Where do you see this? I got my example from Example 66 in XEP-0060.

Thanks

-----Original Message-----
From: Remko Troncon [mailto:remko at el-tramo.be] 
Sent: Monday, October 16, 2006 12:20 PM
To: pendleto at movsoftware.com; Jabber software development list
Subject: Re: GEOLOC XEP


> <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