[ejabberd] Subscribing to a parent node

Vincent Courcelle vincent.courcelle at gmail.com
Sat Jan 23 13:09:51 MSK 2010

On Sat, Jan 23, 2010 at 9:21 AM, Vincent Courcelle <
vincent.courcelle at gmail.com> wrote:

> Hi,
> I don't need those additionnal functionalities, so I guess it should be OK.
> But I'm still getting the same 400 error:
> [...]
> 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"]}
>                  ]},

As I'm not able to make this working correctly, I though to another way,
more extensible, to achieve the same: filtered notifications.
Users wishing to be notified on only certain datas might request a filtered
Is it possible to assign attributes to published items? And how, at
subscription, do I request the server to filter the notifications based on
attributes matching a pattern?
This doesn't seems to be what I want (or I didn't understood how to do it):

For example, the server publishes the item:
<item brand="mercedes" model="sl500"><body>Great car</body></item>
<item brand="bmw" model="m5"><body>Horse power!</body></item>

Clients subscribes to (in order to save bandwidth):
and is only notified of:
<item brand="mercedes" model="sl500"><body>Great car</body></item>

Do you have any idea how to do that?

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

More information about the ejabberd mailing list