[Standards] PEP private nodes
Peter Saint-Andre
stpeter at jabber.org
Mon Apr 9 13:40:20 CDT 2007
Ralph Meijer wrote:
> What if we just write a simple protocol for doing Private Storage. Just
> an iq to write a snippet of XML to a named node.
So something like this:
<iq type='set' id='foo'>
<priv xmlns='urn:xmpp:private'
node='storage:bookmarks'>
<storage>
<url name='Complete Works of Shakespeare'
url='http://the-tech.mit.edu/Shakespeare/'/>
</storage>
</priv>
</iq>
> Also, a simple iq to
> read the snippet back from the node.
<iq type='get' id='bar'>
<priv xmlns='urn:xmpp:private'
node='storage:bookmarks'/>
</iq>
> You have automagic constraints on
> who can read, write. Very clear.
Sure. Though how do I know what my nodes are? Do I disco myself on login?
> Now, imagine the namespace for these Private Storage nodes also
> coincides with both disco and pubsub, then you can use the niceties of
> pubsub to get your notifications using that protocol.
Would all private nodes be pubsub nodes (i.e., nodes from which you
could receive notifications)? Or is notification an add-on?
I foresee the need for a spec that says exactly what nodes are. :)
Peter
--
Peter Saint-Andre
XMPP Standards Foundation
http://www.xmpp.org/xsf/people/stpeter.shtml
-------------- 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/20070409/0b677504/smime.bin
More information about the Standards
mailing list