Hi Norman,
Got your solution the morning after I posted - just getting around to
replying. Thanks for the timely response. In short, you were right. At
first I thought this didn't make sense, but I think it allows for a plain
text message delivery if XHTML is not enabled on the client - essentially I
just put the same message in both minus all the markup in the plain text
version.
Nat
On 8/13/07, Norman Rasmussen <[EMAIL PROTECTED]> wrote:
>
> On 8/13/07, Nat Burke <[EMAIL PROTECTED]> wrote:
> >
> > Hitting another problem, hoping someone can point out my mistake. I'm
> > trying to send out XHTML formatted text to an AIM user via pyAIMt. I've
> > formatted a message that looks like this:
> > Unfortunately it does not get through to the AIM user. If I strip off
> > all the XHTML stuff and just do:
> > it works - so I know everything is ok in terms of connection etc. I
> > also made sure the disable XHTML is left commented in the config.xmlfile.
> > I'm probably missing something small - can anyone help?
>
>
> You probably need to send:
>
> <message type=chat to="[EMAIL PROTECTED] <[EMAIL PROTECTED]>" id="1234">
> <body>hi!</body>
> <html xmlns='http://jabber.org/protocol/xhtml-im'
> <http://jabber.org/protocol/xhtml-im%27>>
> <body xmlns='http://www.w3.org/1999/xhtml'
> <http://www.w3.org/1999/xhtml%27>>
> <b>hi!</b>
>
> </body>
> </html>
> </message>
>
> I don't think it's valid to send only html, without a plain-text body. My
> guess is also that PyAIMt ignores the html part, and only uses the
> plain-text body. (i.e. PyAIMt can only generate html, and not consume it)
>
>
> --
> - Norman Rasmussen
> - Email: [EMAIL PROTECTED]
> - Home page: http://norman.rasmussen.co.za/
> _______________________________________________
> py-transports mailing list
> [email protected]
> http://lists.modevia.com/cgi-bin/mailman/listinfo/py-transports
>
>
_______________________________________________
py-transports mailing list
[email protected]
http://lists.modevia.com/cgi-bin/mailman/listinfo/py-transports