[jdev] [XEP-0060] Notifications of subscribtions (subscription on subscriptions)

Matthew Wild mwild1 at gmail.com
Fri Apr 15 20:26:07 UTC 2011


On 14 April 2011 19:38, Peter Saint-Andre <stpeter at stpeter.im> wrote:
> On 4/14/11 1:45 AM, Jonathan Dickinson wrote:
>>
>>> Date: Thu, 14 Apr 2011 09:36:17 +0200
>>> From: stefan at konink.de
>>> To: jdev at jabber.org
>>> Subject: Re: [jdev] [XEP-0060] Notifications of subscribtions
>> (subscription on subscriptions)
>>>
>>> On Wed, 13 Apr 2011, Peter Saint-Andre wrote:
>>>
>>> > Do people really want all those notifications?
>>>
>>> Obviously if you have a system that tracks when a user has subscribed on
>>> your events, without having to poll all your events.
>>>
>>>
>> If it's not in the spec there won't be a component that does it (probably).
>>

*cough*

>> You could do it (without having to extend the pubsub schema in any way)
>> by publishing nodes like [node]:subscribed e.g.
>> princely_musings:subscribed. I am sure it wouldn't be too hard to extend
>> existing pubsub components to support that.

Yes, this is how I did it. It saves us having to add yet more length
to XEP-0060, it doesn't require updating existing pubsub support in
libraries, etc.

Regards,
Matthew


More information about the JDev mailing list