On Thu Jul 16 16:14:02 2009, Kevin Smith wrote:
On Thu, Jul 16, 2009 at 4:10 PM, Peter
Saint-Andre<[email protected]> wrote:
>> and discuss the more interesting things we were discussing
before the
>> thread got hijacked?
> At this point I can't remember what they were. Care to summarize?
I'd like to hang arbitrary payloads off roster entries. This
probably
doesn't require any particular protocol work apart from a namespaced
element, and I'll knock up a short spec together with anyone else
that's interested.
I'd quite like this as well.
So multiple arbitrary namespaced elements would be put inside the
roster <item/> elements, and retrieved along with the roster,
depending on whether the client had asked for those particular
elements in the initial roster-get.
Clients says:
<iq type='get'>
<query xmlns='jabber:iq:roster' ver='kjashdasfg'>
<foo xmlns='http://example.net/megaprotocol/'/>
<bar xmlns='http://example.net/otherthing/'/>
</query>
</iq>
Server responds with items looking like:
<item jid='[email protected]' name='Doctor Smith'>
<group>Doctors</group>
<foo xmlns='http://example.net/megaprotocol/'>
<blarg>Rowr!</blarg>
</foo>
</item>
Yes?
Dave.
--
Dave Cridland - mailto:[email protected] - xmpp:[email protected]
- acap://acap.dave.cridland.net/byowner/user/dwd/bookmarks/
- http://dave.cridland.net/
Infotrope Polymer - ACAP, IMAP, ESMTP, and Lemonade