[JDEV] Emoticons: guidelines

Mattias Campe mattias.campe at rug.ac.be
Thu Apr 18 12:44:15 CDT 2002


Richard Dobson wrote:
> Well what about creating a new x element for message which allows people to
> define emoticon text replacements e.g.
> 
> <message type="chat" to="medds at me.com" from="friend at friend.com">
>     <body>This is a emoticon containing message :) (L) ;) :D</body>
>     <x xmlns="jabber:x:emoticon">
>         <emoticon text="(L)" icon="love"/>
>         <emoticon text=":)" icon="smile"/>
>         <emoticon text=";)" icon="wink"/>
>         <emoticon text=":D" icon="grin"/>
>     </x>
> </message>
> 

[...]

I'm not sure if I understand it, but doesn't this mean that the client 
has to support this x element? So if the client doesn't want to support 
that element, people using that client will get "This is a emoticon 
containing message :) (L) ;) :D" I'll understand the ":) (L) ;) :D" 
part, but what about (L)?

And won't this cause to much overhead? In the example you gave me the 
body itself contains less characters than the x-element.

Just my thoughts...

.m.




More information about the JDev mailing list