Ralph Meijer wrote: > Hi, > > I am working on getting publish-subscribe collection nodes implemented > in Idavoll. There are two ways to subscribe to a collection nodes using > the 'pubsub#subscription_type' subscription configuration option: nodes > and items. > > In the 'nodes' case, you get notifications when nodes get associated > with the collection. However, we didn't define protocol for notifying > subscribers of deassociation, and I would really like to have that. > > To propose new protocol for that, I'd like to know if there is anyone > actually implementing this bit of the spec.
Ralph, it seems that you're the only one. :)
Notification of a new node takes the following form:
<message from='pubsub.shakespeare.lit'
to='[EMAIL PROTECTED]'
id='newnode1'>
<event xmlns='http://jabber.org/protocol/pubsub#event'>
<collection>
<node id='new-node-id'>
</collection>
</event>
</message>
I suppose that notification of node disassociation might look like this:
<message from='pubsub.shakespeare.lit'
to='[EMAIL PROTECTED]'
id='oldnode1'>
<event xmlns='http://jabber.org/protocol/pubsub#event'>
<collection>
<disassociate id='old-node-id'>
</collection>
</event>
</message>
What do you think?
Peter
--
Peter Saint-Andre
https://stpeter.im/
smime.p7s
Description: S/MIME Cryptographic Signature
