[jdev] Protocol customization guidelines
stpeter at stpeter.im
Fri Dec 12 17:59:39 CST 2008
Remko Tronçon wrote:
>> But I
>> guess the right way is to use custom messages, like
>> <message><event><shot from='1' to='2'/></event></message>. Are there
>> any guidelines or best practices on how to do this?
> - No, don't use <body>
> - Yes, custom events in your own custom namespace is the way to go.
> Whether you want to use <messages> or <iq> is up to you. Make sure
> that, if you use <messages>, you use XEP-0079 to make sure that
> messages are not stored offline on the server.
> - No, there are no guidelines on this.
Well, there's XEP-0134. But I'm sure there could always be more
documentation. Maybe someone will write a book about XMPP. :P
More information about the JDev