XHTML-IM partial support in Tkabber

Tkabber has partial support to render XHTML messages as described in the experimental JEP-0071: XHTML-IM. In this test I used Tkabber CVS 2004-06-24 and Gaim 0.79.

Warning: please don't forget that JEP-0071: XHTML-IM is still experimental. The publication as a Jabber Enhancement Proposal does not imply acceptance or approval of this proposal by the Jabber Software Foundation. The Jabber Software Foundation recommends its implementation only for exploratory purposes.

In this test I'll only check font color, background, size and typeface.
This screenshot shows the Gaim original and the Tkabber drawn message:

xhtml-im screenshot

This is the XMPP message:

<message to='*************/Tka'
type='chat'
        from='*************/Gaim'>
  <x xmlns='jabber:x:event'>
    <composing/>
  </x>
  <body>En un lugar de la Mancha, de cuyo nombre no quiero acordarme, no ha mucho tiempo que vivĂ­a un hidalgo de los de lanza en astillero, </body>
  <html xmlns='http://jabber.org/protocol/xhtml-im'>
    <body xmlns='http://www.w3.org/1999/xhtml'>
      <span style='color: #FF9797; '>
        <span style='font-size: small; '>un lugar</span>
      </span>
      <span style='font-size: small; '>
        <strong>Mancha</strong>
        <em>nombre</em>
        <span style='background: #0B4462; '>
          <span style='color: #F0C9A3; '>quiero</span>
        </span>
        <span style='text-decoration: underline;'>acordarme</span>
        <span style='color: #BAE258; '>
          <span style='background: #036FA6; '>no ha mucho tiempo</span>
        </span>
        <strong>
          <em>
            <span style='text-decoration: underline;'>hidalgo</span>
          </em>
        </strong>
      </span>
      <span style='font-size: xx-small; '>los</span>
      <span style='font-size: small; '> de </span>
      <span style='font-size: xx-large; '>lanza</span>
      <span style='font-size: small; '>
        <span style='background: #C9E29D; '>astillero</span>
      </span>
    </body>
  </html>
</message>

Note: the message is a citation from the novel 'Don Quijote de la Mancha' (english: Don Quixote) by spanish writer Miguel de Cervantes, first published in 1605. This novel is often refered as the best work of fiction, ever. Of course, the text is freely available for the mankind enjoyment.

On the following screenshot you can see how Tkabber renders four example messages available in JEP-0071.

xhtml-im screenshot 2

Syndicate content