[Standards-JIG] new disco#publish-info feature

Ralph Meijer jabber.org at ralphm.ik.nu
Tue Sep 27 10:44:25 CDT 2005


On Tue, Sep 27, 2005 at 04:09:10PM +0100, Ian Paterson wrote:
> Ralph wrote:
> > However, some of the fields in the disco extension might
> > be automatically generated.
> >
> > For publish-subscribe, you can do a disco#info query on 
> > a node and get the node's meta data, which may include 
> > fields that are set using node configuration.
> >
> > How would you solve this generically?
> 
> It would be nice to keep this protocol as simple as possible (for more
> complex cases we have JEP-0060). So are the automatically generated
> fields really necessary?

Yes. I see this as a feature.

> > (e.g. whether the node persists items)
> 
> I was assuming that nodes would always persist items (until they are
> explicitly deleted by the owner).

No, for pubsub, this is a configuration option. See section 5 of JEP-0060.
Also, items have no owners. They may have their publisher registered and
it depends on the implementation which entities may delete items. See
the pubsub#delete-any feature.

> > and other fields (e.g. the creation date of the node)
> 
> The owner can publish any information 'manually' including a creation
> date.

Sure, but would you want to allow the user to actually change this?

-- 
Groetjes,

ralphm



More information about the Standards-JIG mailing list