[ejabberd] Subscribing to a parent node

Vincent Courcelle vincent.courcelle at gmail.com
Sat Jan 23 11:21:38 MSK 2010


On Fri, Jan 22, 2010 at 10:00 PM, Brian Cully <bcully at gmail.com> wrote:

> On 22-Jan-2010, at 13:53, Vincent Courcelle wrote:
>
> XEP-0248 support is enabled in the nodetree_dag and node_dag modules
> (included in ejabberd-2.1). The config is added to the mod_pubsub section of
> ejabberd.cfg:
>
>                   {nodetree, "dag"},
>                   {plugins, ["dag", "hometree"]}]},
>
> When those plugins are loaded you should have basically complete support
> for XEP-0248 (there is some missing functionality, like association and
> dissociation messages). You may have some issues if you have pubsub data
> created with a different set of plugins, but I'm not sure. If it's an option
> it would probably be best to clear out all your pubsub data before switching
> to these modules.
>

Hi,
I don't need those additionnal functionalities, so I guess it should be OK.
But I'm still getting the same 400 error:
SENT: <body rid='3477435117' xmlns='http://jabber.org/protocol/httpbind'
sid='115cd6167f5784e2fa03ed28e6e845a5964b565a'><iq from='
server-dev at push.oopad.com/21017552261264233615218079' to='
pubsub.push.oopad.com' type='set' id='7204:pubsubcreatenode'
xmlns='jabber:client'><pubsub xmlns='http://jabber.org/protocol/pubsub'><create
node='/home/push.oopad.com/server-dev/channel'/><configure><x
xmlns='jabber:x:data'><field var='FORM_TYPE' type='hidden'><value>
http://jabber.org/protocol/pubsub#node_config</value></field><field
var='pubsub#node_type'><value>collection</value></field></x></configure></pubsub></iq></body>

RECV: <body xmlns='http://jabber.org/protocol/httpbind'><iq
xmlns='jabber:client' from='pubsub.push.oopad.com' to='
server-dev at push.oopad.com/21017552261264233615218079' type='error'
id='7204:pubsubcreatenode'><pubsub
xmlns='http://jabber.org/protocol/pubsub'><create
node='/home/push.oopad.com/server-dev/channel'/><configure><x
xmlns='jabber:x:data'><field var='FORM_TYPE' type='hidden'><value>
http://jabber.org/protocol/pubsub#node_config</value></field><field
var='pubsub#node_type'><value>collection</value></field></x></configure></pubsub><error
code='400' type='modify'><bad-request
xmlns='urn:ietf:params:xml:ns:xmpp-stanzas'/></error></iq></body>

Do you see anything wrong/different with
http://xmpp.org/extensions/xep-0248.html ?

Here is my new config:
{mod_pubsub,   [
                  {access_createnode, pubsub_createnode},
                  {last_item_cache, true},
                  {max_items_node, 50},
                  {nodetree, "dag"},
                  {plugins, ["dag","hometree"]}
                 ]},


Thanks :)
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.jabber.ru/pipermail/ejabberd/attachments/20100123/37d5709a/attachment.html>


More information about the ejabberd mailing list