Hi, 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@mydomain/17220692211376671048176100' xmlns='jabber:client'><pubsub xmlns='http://jabber.org/protocol/pubsub'><publish node='http://jabber.org/protocol/geoloc'><item><geoloc xmlns=' http://jabber.org/protocol/geoloc '><accuracy>22000</accuracy><lat>41.xxxx</lat><lon>-72.xxxx </lon></geoloc></item></publish></pubsub></iq></body> The sender then gets back a response like this: <iq xmlns="jabber:client" from="user_2253@mydomain" to="user_2253@domain /17220692211376671048176100" type="result"> <pubsub xmlns="http://jabber.org/protocol/pubsub"> <publish node="http://jabber.org/protocol/geoloc"> <item id="560A3E9F9D113"></item> </publish> </pubsub> </iq> 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 that? -Dan
_______________________________________________ JDev mailing list Info: http://mail.jabber.org/mailman/listinfo/jdev Unsubscribe: [email protected] _______________________________________________
