I need to fix the following code to allow sending XHTML over Jabber (GTalk) using xmpppy:
from xmpp import *
cl = Client(server=’gmail.com’, port=5222, debug=[])
conn = cl.connect(server=(‘talk.google.com’, 5222))
auth = cl.auth(user=’gmail_user’,password=’gmail_password’,
# send instant message
sgt = cl.send(Message(‘another_gmail_user’,”this should show <a href=’#’>a link</a> in gtalk”))
Please notice that I already tried these methods:
http://sourceforge.net/mailarchive/forum.php?thread_name=5b698f5a0908220446y4d919adaoa1ce2f33f2e31551%40mail.gmail.com&forum_name=xmpppy-devel
and
http://intertwingly.net/blog/2007/08/09/Sending-XHTML-over-Jabber
And neither worked (it just sends a plain text message)…. might be a simple fix, I just don’t have time to research…
Thanks!
