[JDEV] Rich Text in Messages

Julian Missig julian at jabber.org
Sun Dec 10 18:12:19 CST 2000


I'm working on the specification for XHTML and CSS as used in Jabber.
You can see my preliminary notes at
http://gabber.sourceforge.net/jabber-xhtml-css.txt

Julian

On 09 Dec 2000 10:45:22 -0500, Thomas Charron wrote:
>     Using extended namespaces..  That's what the 'x' tag is used for.  You
> simply have two versions of the message..  Plain text in the body tag, and
> rich text such as XHTML in a <x xmlns="whateverxhtmlis>SomeDatainXHTML</x>
> 
>   A rough example from the jpg (not 100% acurate)
> 
> <message to="horatio at denmark">
>   <body>Angels and Ministers of Grace, defend us!</body>
>   <html xmlns="http://www.w3.org/TR/xhtml-basic">
>     <body>
>       <div style="font-size: medium;
>         color: red;
>         text-align: center">
>         Angels and Ministers of Grace, defend us!
>       </div>
>     </body>
>   </html>
> </message>
> 
>   The html part if what I find incorrect, as it's not part of any of the
> DTD's I've seen.  If anything it's be more like <x xmlns="jabber:x:xhtml">
> or something..
> 
> From: Justin Van Patten <kvanpat790 at yahoo.com>
> To: <jdev at jabber.org>
> Sent: Saturday, December 09, 2000 5:14 AM
> Subject: Re: [JDEV] Rich Text in Messages
> > How are you doing this?  How will the clients that
> > aren't able to "format" text be able to get to the
> > plain text?
> > --- Ryszard Sommefeldt <ryszards at xnl-interactive.com>
> > wrote:
> > > I have a Win32 client in development (unreleased)
> > > that
> > > does message formatting using HTML and XHTML
> > > Basic.  It does so with Groupchat and normal Jabber
> > > messages.
> 
> 
> 
> _______________________________________________
> jdev mailing list
> jdev at jabber.org
> http://mailman.jabber.org/listinfo/jdev



-- 
email: julian at jabber.org
jabber:julian at jabber.org





More information about the JDev mailing list