<div class="gmail_quote">On Sat, Jan 23, 2010 at 9:21 AM, Vincent Courcelle <span dir="ltr"><<a href="mailto:vincent.courcelle@gmail.com">vincent.courcelle@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
<div class="gmail_quote"><div>Hi,<br>I don't need those additionnal functionalities, so I guess it should be OK.<br>But I'm still getting the same 400 error:<br>[...]<br>Do you see anything wrong/different with <a href="http://xmpp.org/extensions/xep-0248.html" target="_blank">http://xmpp.org/extensions/xep-0248.html</a> ?<br>
<br>Here is my new config:<br>{mod_pubsub, [<div class="im"><br> {access_createnode, pubsub_createnode},<br> {last_item_cache, true},<br></div> {max_items_node, 50},<div class="im">
<br> {nodetree, "dag"},<br>
{plugins, ["dag","hometree"]}<br> ]},<br></div></div></div>
</blockquote></div><br>As I'm not able to make this working correctly, I though to another way, more extensible, to achieve the same: filtered notifications.<br>Users wishing to be notified on only certain datas might request a filtered subscription.<br>
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?<br>This doesn't seems to be what I want (or I didn't understood how to do it): <a href="http://xmpp.org/extensions/xep-0060.html#filtered-notifications">http://xmpp.org/extensions/xep-0060.html#filtered-notifications</a><br>
<br>For example, the server publishes the item:<br>
<item brand="mercedes" model="sl500"><body>Great car</body></item><br>
<item brand="bmw" model="m5"><body>Horse power!</body></item><br><br>Clients subscribes to (in order to save bandwidth):<br>item[brand='mercedes']<br>and is only notified of:<br>
<item brand="mercedes" model="sl500"><body>Great car</body></item><br><br><br>Do you have any idea how to do that?<br><br>Thanks!<br>