[jdev] Usage

Tijl Houtbeckers thoutbeckers at splendo.com
Mon Feb 7 00:24:54 CST 2005


On Sun, 6 Feb 2005 17:58:27 -0500 (EST), Daniel Henninger  
<jadestorm at nc.rr.com> wrote:

> Hi folk,
>
>
> So what I propose is thinking through a stanza to indicate "how do I use
> you?".  I haven't looked in details at anything yet, but the idea might  
> be
> something like:
> <message to="aim.jabber.vorpalcloud.org"
> from="daniel at jabber.vorpalcloud.org"><usage /></message>

Why not just use a normal message send after registering? Or do you want  
to send this every time you use it?

That said:

> <message from="aim.jabber.vorpalcloud.org"
> to="daniel at jabber.vorpalcloud.org"><usage>After registering with this
> transport, you may communicate through Jabber to users on AIM.  Please
> note that some screen names have spaces in them in a real AIM client, but
> through this transport, there are no spaces.  As for group chat, prefix
> the name of the chat room with a pound (#) symbol and, if there are any
> spaces in the name, replace them with underscores (_).  For further
> assistance, please see the online documentation at
> http://pyaim-t.jabberstudio.org/usage.php.</usage></message>

These problems all look solvable. JID's are allowed to have spaces in  
them, so you could map jids with spaces to a non-spaces AIM screen name.  
You can also have the transport add the # and replace spaces with _ for  
groupchat. It might be some extra work for you, yes ;)



More information about the JDev mailing list