[Standards] Re: [Standards-JIG] XEP-0163: PEP updates
stpeter at jabber.org
Thu Jan 18 16:09:01 UTC 2007
Ian Paterson wrote:
> IMO there may still be a case for allowing the client to specify
> parameters for "automatic" node creation (for XEP-0060 too). See the
> extract from an earlier post below.
> - Ian
> Ian Paterson wrote on 19 November 2006:
> To make PEP-based "Private Data Storage" easy for clients, we would need
> to allow automatic node creation for persistent as well as transient
> nodes (in addition to for any access model). For example by supporting a
> <configure/> sibling of the <publish/> element (see stanza below)? The
> <configure/> element would be ignored if the node already exists. This
> would also be a nice short-cut for clients to use in cases other than
> Private Data Storage.
> <iq from='juliet at capulet.com/balcony' type='set' id='create-bookmarks'>
> <pubsub xmlns='http://jabber.org/protocol/pubsub'>
> <publish node='http://jabber.org/protocol/prefs'>
> <item id="fje98djh2j9s">
> <storage xmlns='storage:bookmarks'>
> <url name='Complete Works of Shakespeare'
> <x xmlns='jabber:x:data' type='submit'>
> <field var='FORM_TYPE' type='hidden'>
> <field var='pubsub#access_model'><value>whitelist</value></field>
> <field var='pubsub#persist_items'><value>1</value></field>
Yes that seems worth pursuing.
A similar functionality is "subscribe and get items".
-------------- next part --------------
A non-text attachment was scrubbed...
Size: 7358 bytes
Desc: S/MIME Cryptographic Signature
More information about the Standards