Hi Everybody,<br><br>I would like to have (leaf) nodes like :<br>/home/<a href="http://push.oopad.com/server/vehicles/cars/mercedes/sl500">push.oopad.com/server/vehicles/cars/mercedes/sl500</a><br clear="all"> <br>But I want subscribers to be able to subscribe to an entire vehicule type/brand and be notified to all items published in the sub-nodes.<br>
For example, subscribing to <br>/home/<a href="http://push.oopad.com/server/vehicles/cars">push.oopad.com/server/vehicles/cars</a><br>or /home/<a href="http://push.oopad.com/server/vehicles/cars/mercedes">push.oopad.com/server/vehicles/cars/mercedes</a><br>
<br>The problem:<br>- If I haven't created the parent node, I got a 404 error when subscribing<br>- If I've created it, subscription is OK but I'm notified of items published in child nodes<br><br>Here is my subscription iq:<br>
<iq
from='<a href="http://35416690051264182528163365@push.oopad.com/22811250301264182528701303">35416690051264182528163365@push.oopad.com/22811250301264182528701303</a>'
to='<a href="http://pubsub.push.oopad.com">pubsub.push.oopad.com</a>' type='set' id='1199:subscribenode'
xmlns='jabber:client'><pubsub
xmlns='<a href="http://jabber.org/protocol/pubsub">http://jabber.org/protocol/pubsub</a>'><subscribe
node='/home/<a href="http://push.oopad.com/server/vehicles/cars">push.oopad.com/server/vehicles/cars</a>'
jid='<a href="http://35416690051264182528163365@push.oopad.com/22811250301264182528701303'/">35416690051264182528163365@push.oopad.com/22811250301264182528701303'/</a>></pubsub></iq><br><br>Here is my pubsub config:<br>
<span class="Apple-style-span" style="border-collapse: separate; color: rgb(0, 0, 0); font-family: 'Times New Roman'; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: 2; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; font-size: medium;"><span class="Apple-style-span" style="color: rgb(83, 71, 65); font-family: Arial,Verdana,sans-serif; font-size: 13px;"><div>
{mod_pubsub, [ % requires mod_caps</div><div> {access_createnode, pubsub_createnode},<br></div><div> {last_item_cache, true},<br></div><div> {plugins, ["hometree"]}</div>
</span></span><br><br>I've tried <a href="http://xmpp.org/extensions/xep-0248.html">http://xmpp.org/extensions/xep-0248.html</a> whithout success (error 400)<br>Could someone indicate me how to create a collection node or how to subscribe to it in order to be notified of items published in child nodes?<br>
<br><br>Cordialement,<br>Vincent Courcelle<br>