[Standards] Re: [Standards-JIG] XEP-0163: PEP updates

Peter Saint-Andre 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'
>              url='http://the-tech.mit.edu/Shakespeare/'/>
>       </storage>
>     </item>
>   </publish>
>   <configure>
>     <x xmlns='jabber:x:data' type='submit'>
>       <field var='FORM_TYPE' type='hidden'>
>         <value>http://jabber.org/protocol/pubsub#node_config</value>
>       </field>
>       <field var='pubsub#access_model'><value>whitelist</value></field>
>       <field var='pubsub#persist_items'><value>1</value></field>
>     </x>
>   </configure>
> </pubsub>
> </iq>

Yes that seems worth pursuing.

A similar functionality is "subscribe and get items".

/psa
-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/x-pkcs7-signature
Size: 7358 bytes
Desc: S/MIME Cryptographic Signature
URL: <http://mail.jabber.org/pipermail/standards/attachments/20070118/f7e02bd2/attachment.bin>


More information about the Standards mailing list