[Standards] XEP-0080 interoperability

Peter Saint-Andre stpeter at stpeter.im
Thu Apr 15 03:48:39 UTC 2010

On 4/13/10 10:54 AM, Stephen Pendleton wrote:
> -----Original Message-----
> From: standards-bounces at xmpp.org [mailto:standards-bounces at xmpp.org] On
> Behalf Of Dave Cridland
> Sent: Tuesday, April 13, 2010 11:52 AM
> To: XMPP Standards
> Subject: Re: [Standards] XEP-0080 interoperability
>> It is, but that's an explicit subscription to a PEP node, so if  
>> Juliet doesn't have PEP, then that won't work.
>> The thing is, if you have a person, represent that with an IM account.
>> If you want to tie Pubsub nodes to that person, do so with PEP (or at  
>> least Pubsub-onna-jid, which is a superset of PEP).
> Thank you, that is quite a revelation to me. I didn't realize that there was
> such a distinction. I realize now this is also covered in section 4.6 of
> XEP-0060.
> So in theory, I should be able to use pubsub and use the following stanza to
> subscribe to the geoloc PEP node (assuming permissions are OK):
>  <iq type='set'
>      from='mywebservice.shakespeare.lit'
>      to='juliet at shakespeare.lit'
>      id='sub1'>
>    <pubsub xmlns='http://jabber.org/protocol/pubsub'>
>      <subscribe
>          node='http://jabber.org/protocol/geoloc'
>          jid='mywebservice.shakespeare.lit'/>
>    </pubsub>
>  </iq>
> My guess is that this will fail on most implementations because the access
> mode for PEP nodes is "roster". But that is OK.

s/roster/presence/ -- but yes. If you want to have an open system in
which anyone can subscribe to your geolocation nodes, then you'll need
to change the default access model from "presence" to "open".


Peter Saint-Andre

-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/pkcs7-signature
Size: 6820 bytes
Desc: S/MIME Cryptographic Signature
URL: <http://mail.jabber.org/pipermail/standards/attachments/20100414/9456f220/attachment.bin>

More information about the Standards mailing list