On Thu, Sep 24, 2009 at 8:37 PM, Jason Eacott <[email protected]>wrote:
> hi All, > I found this post > http://mail.jabber.org/pipermail/standards/2008-May/018810.html > and I need exactly this functionality. I'm wondering if anything like this > actually progressed, I haven't really found anything that seems quite right > in the XEPs > did I miss something? > > Ideally I'd like to be able to do something like this: > create a pubsub node. > use something like stock market ticker stream as publisher input to the > node. > have each subscriber able to filter the notifications (at the/a server) by > arbitrary payload content - ie stockname="abc" and price >x > > This is not my actual usecase, but its a perfect fit for what I need. > > Thanks > Jason. > I'm not aware of any server that supports it, as the spec is specifically vague on this issue. (http://xmpp.org/extensions/xep-0060.html#impl-content, section 12.19). There's probably a good case for an XPath filter subscription option as an additional XEP. As far as running code, you could check out Wokkel and use a node-as-code approach -- program your own behaviors for the node classes. SleekXMPP will have similar features soon as well. If you'd rather existing Pubsub implementations to use it, then starting on a XEP and contracting one of them to implement it is always an option. I'm available to contract for such a feature as well, but I'm perfectly happy to advise for free. Best of luck, Nathan Fritz
