[jdev] another PEP question

Daniel Dormont dan at greywallsoftware.com
Fri Aug 16 16:46:17 UTC 2013


I'm trying to familiarize myself with PEP and am having a bit of trouble
understanding XEP-0163. I guess my question is: what's the minimum I have
to do to enable this, assuming my server supports PEP? I have my client
sending a stanza like so:

<iq type='set' from='user_2253 at mydomain/17220692211376671048176100'
node='http://jabber.org/protocol/geoloc'><item><geoloc xmlns='

The sender then gets back a response like this:

<iq xmlns="jabber:client" from="user_2253 at mydomain" to="user_2253 at domain
/17220692211376671048176100" type="result">
<pubsub xmlns="http://jabber.org/protocol/pubsub">
<publish node="http://jabber.org/protocol/geoloc">
<item id="560A3E9F9D113"></item>

And that user's subscribed contacts don't receive anything.

XEP-0163 mentions something about sending caps in the presence, but makes
it seem like that's optional, if I want to filter the type of notifications
a particular user receives, which for the moment I don't. Am I misreading

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.jabber.org/pipermail/jdev/attachments/20130816/baf81398/attachment.html>

More information about the JDev mailing list