<div dir="ltr">Hi,<div><br></div><div>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:</div>
<div><br></div><div><code class=""><iq type='set' from='user_2253@mydomain/17220692211376671048176100' xmlns='jabber:client'><pubsub xmlns</code><code class="">='<a href="http://jabber.org/protocol/pubsub">http://jabber.org/protocol/pubsub</a>'><publish node='<a href="http://jabber.org/protocol/geoloc">http://jabber.org/protocol/geoloc</a>'><item><geoloc</code><code class="">
 
xmlns='<a href="http://jabber.org/protocol/geoloc">http://jabber.org/protocol/geoloc</a>'><accuracy>22000</accuracy><lat>41.xxxx</lat><lon>-72.xxxx</code><code class=""></lon></geoloc></item></publish></pubsub></iq></body></code><br>
</div><div><br></div><div><br></div><div><font face="monospace">The sender then gets back a response like this:</font></div><div><font face="monospace"><br></font></div><div class=""><div class=""><div class=""><span class=""><<span class="">iq</span><span class=""> <span class="">xmlns</span>="<span class="">jabber:client</span>"</span><span class=""> <span class="">from</span>="<span class="">user_2253@mydomain</span>"</span><span class=""> <span class="">to</span>="<span class="">user_2253@domain/17220692211376671048176100</span>"</span><span class=""> <span class="">type</span>="<span class="">result</span>"</span><span class="">></span></span></div>
<div class=""><div class=""><div class=""><span class=""><<span class="">pubsub</span><span class=""> <span class="">xmlns</span>="<span class=""><a href="http://jabber.org/protocol/pubsub">http://jabber.org/protocol/pubsub</a></span>"</span><span class="">></span></span></div>
<div class=""><div class=""><div class=""><span class=""><<span class="">publish</span><span class=""> <span class="">node</span>="<span class=""><a href="http://jabber.org/protocol/geoloc">http://jabber.org/protocol/geoloc</a></span>"</span><span class="">></span></span></div>
<div class=""><div class=""><div class=""><span class=""><<span class="">item</span><span class=""> <span class="">id</span>="<span class="">560A3E9F9D113</span>"</span><span class="">></span><span class=""></span></<span class="">item</span>></span></div>
</div></div><div class=""></<span class="">publish</span>></div></div></div><div class=""></<span class="">pubsub</span>></div></div></div></div></div><div></<span class="">iq</span>><font face="monospace"> </font></div>
<div><font face="monospace"><br></font></div><div><font face="monospace">And that user's subscribed contacts don't receive anything.</font></div><div><font face="monospace"><br></font></div><div><font face="monospace">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?</font></div>
<div><font face="monospace"><br></font></div><div><font face="monospace">-Dan</font></div></div>