[JDEV] Emoticons: guidelines

Richard Dobson richard at dobson-i.net
Tue Apr 23 10:15:33 CDT 2002


----- Original Message -----
From: "Julian Fitzell" <julian at beta4.com>
To: <jdev at jabber.org>
Sent: Tuesday, April 23, 2002 3:23 PM
Subject: Re: [JDEV] Emoticons: guidelines

> > Thats much better than a url to an external source, but there is still
the
> > problem of the file format here, it should not be assumed that everyone
uses
> > a particular image format for their emoticons.
> > What about this:
> >
> > <img src="urn:jabber-emoticon:smilie"> alt=":-)" />
> >
> > Just doing this solves many of the problems, although I still like my
> > solution ;-).
>
> Sure, but then in either case why are we using an <img> tag?  Sure we
> can use a tag called <img> if we want, but why not an x tag with an
> appropriate namespace?  This doesn't save any bandwidth and now the
> client can't use and HTML widget to display XHTML messages because it
> won't understand the URN...

Yes I know, I forsaw the problem that a client may not understand the urn,
thats why I like my way of defining appropriate replacements, if a client
does not understand the x element, it can just ignore it, and it wont break
displaying of the message it will just come out as the original text. Also
im not sure if inline x elements are even allowed in the xhtml segment.





More information about the JDev mailing list