ejabberd - Comments for "would like help in getting pubsub to work" https://www.ejabberd.im/node/1642 en It seems ejabberd 1.1.x implements PubSub v1.7 https://www.ejabberd.im/node/1642#comment-50924 <div class="quote-msg"> <div class="quote-author"><em>sander</em> wrote:</div> <p>I heard ejabberd implements an older version of the pubsub protocol and that it is not yet updated with the latest version.</p></div> <p>Yes, this bug issue says that ejabberd (I assume ejabberd 1.1.x) implements v1.7:<br /> <noindex><a href="https://support.process-one.net/browse/EJAB-117" rel="nofollow" >Upgrade pubsub from JEP-0060 version 1.7 to JEP-0060 version 1.9</a></noindex></p> Fri, 21 Sep 2007 20:27:51 +0000 mfoss comment 50924 at https://www.ejabberd.im I heard ejabberd implements https://www.ejabberd.im/node/1642#comment-50794 <p>I heard ejabberd implements an older version of the pubsub protocol and that it is not yet updated with the latest version. So, maybe there are incompatible differences here.</p> <p>--<br /> sander</p> Fri, 14 Sep 2007 10:59:02 +0000 sander comment 50794 at https://www.ejabberd.im I'm at the same point. https://www.ejabberd.im/node/1642#comment-50662 <p>Hi,</p> <p>Have you found a way to solve your problem ?<br /> As you can see in the subject, I'm at the same point (working with the version 1.1.4).</p> <p>Or anyone have any tip to solve the issue ?</p> <p>Thanks.</p> Thu, 13 Sep 2007 16:32:26 +0000 lapin comment 50662 at https://www.ejabberd.im can publish, but not subscribe https://www.ejabberd.im/node/1642#comment-29642 <p>Thanks for the help, I now am able to publish items! However, I still have two problems which are identified at the bottom of this note.</p> <p>Here is what I did (using the examples from JEP-060, with the names changed to match accounts &amp; machines in my installation:</p> <p>1) create top level node of my_username<br /> Example 116 with these changes:<br /> * node name is full path, i.e.<br /> node='home/jabber.mycompany.com/my_username'<br /> * remove configure/ line</p> <p>2) create leaf node where information will be published<br /> Example 116 (again) with these changes:<br /> * node name is full path, i.e.<br /> node='home/jabber.mycompany.com/my_username/first_node'<br /> * remove configure/ line</p> <p>3) publish data to that node<br /> Example 1 with node name of<br /> node='home/jabber.mycompany.com/my_username/first_node'</p> <p>4) retrieve all items<br /> Example 66 with node name of 3 above<br /> The data returned in the iq stanza is the data that was published!</p> <p>5) Subscribe to a node<br /> Example 28 with node name of 3 above</p> <p>PROBLEM: The response is<br /> iq<br /> from='pubsub.jabber.mycompany.com'<br /> to='my_username@jabber.mycompany.com/30194896771184793349711507'<br /> id='sub1'<br /> type='result'/</p> <p>Example 29 indicates that there should be subscription information<br /> in the response, as in:<br /> subscription<br /> node='princely_musings'<br /> jid='francisco@denmark.lit'<br /> subid='ba49252aaa4f5d320c24d3766f0bdcade78c78d3'<br /> subscription='subscribed'/</p> <p>But there is none. I think the default configuration for ejabberd is for nodes not to require authorization.</p> <p>6) Retrieve subscriptions<br /> Example 20 with names changed</p> <p>PROBLEM:<br /> The response is<br /> error code="501" type="cancel" feature-not-implemented</p> <p>What am I doing wrong?</p> <p>Thank you for your help.</p> Wed, 18 Jul 2007 22:19:05 +0000 wendell comment 29642 at https://www.ejabberd.im more pubsub https://www.ejabberd.im/node/1642#comment-28906 <p>Thank you for the instruction page. I was not doing the create before the publish, but it still isn't working for me.</p> <p>Q: What do you mean about the auto-generated node name? What is that?</p> <p>Q: Do I need to create the user node, as in:<br /> create node='home/jabber.myhost.com/myuser'</p> <p>In a Unix filesystem, I would need to do a 'mkdir myuser' before populating the directory. Is there the same concept in pubsub? Is the node at the 'myuser' level a container, and the nodes within that node leaf nodes? I've tried several combinations and always get back 'bad-request'</p> <p>If I get it working I'll be glad to add to the pubsub instruction page.</p> <p>Thanks,<br /> Wendell</p> Wed, 18 Jul 2007 15:56:29 +0000 wendell comment 28906 at https://www.ejabberd.im I realized that this is not https://www.ejabberd.im/node/1642#comment-28863 <p>I realized that this is not described anywhere in the documentation, so I <noindex><a href="/node/1643" rel="nofollow" >wrote a page</a></noindex> about it. Does it answer your questions?</p> Wed, 18 Jul 2007 07:53:34 +0000 legoscia comment 28863 at https://www.ejabberd.im