[jdev] Re: My outgoing jabber packet

Dan Plesse dplesse at optonline.net
Mon Mar 7 17:44:57 CST 2005


Hello Magnus, 

      I am looking at that link now and I think it is XHTML-IM! But it's
missing the <html xmlns='http://jabber.org/protocol/xhtml-im' tag, so I
guess it's close like you said.  

http://www.jabber.org/jeps/jep-0071.html#intro

Example: 

<message>
  <body>hi!</body>
  <html xmlns='http://jabber.org/protocol/xhtml-im'>
    <body xmlns='http://www.w3.org/1999/xhtml'>
      <p style='font-weight:bold'>hi!</p>
    </body>
  </html>
</message>

This looks like my packet. 

-----Original Message-----
From: jdev-bounces at jabber.org [mailto:jdev-bounces at jabber.org] On Behalf Of
Magnus Henoch
Sent: Monday, March 07, 2005 5:39 PM
To: jdev at jabber.org
Subject: [jdev] Re: My outgoing jabber packet

Dan Plesse <dplesse at optonline.net> writes:

> While examining my outgoing data packet I see a copy of the message inside
a
>
>
> <html xmlns="http://www.w3.org/1999/xhtml"></html> tag
>
> Example:
> <message id="m_8" type="chat" to="danp5648 at jabber.org/Exodus"><body>hello
> back</body><html xmlns="http://www.w3.org/1999/xhtml">hello
> back</html></message>
>
> I was wondering how I can use this to advance my skills beyond just text
> messages. 

This looks almost, but not quite, like XHTML-IM,
http://www.jabber.org/jeps/jep-0071.html .  XHTML-IM would look like:

<message id="m_8" type="chat" to="danp5648 at jabber.org/Exodus">
<body>hello back</body>
<html xmlns="http://jabber.org/protocol/xhtml-im">
  <body xmlns="http://www.w3.org/1999/xhtml">hello back</body>
</html>
</message>

Magnus

_______________________________________________
jdev mailing list
jdev at jabber.org
http://mail.jabber.org/mailman/listinfo/jdev




More information about the JDev mailing list