Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Eclipse Communications Framework (ECF) » Sending XHTML via XMPPChatManager's IChatMessageSender
Sending XHTML via XMPPChatManager's IChatMessageSender [message #618893] Wed, 01 August 2007 15:31 Go to next message
Eclipse UserFriend
Originally posted by: robertxlongo.gmail.com

We are trying to send XHTML messages to external clients (e.g. Pidgin,
SoapBox) via XMPPChatManager's IChatMessageSender:

...
chatMessageSender = xmppChatManager.getChatMessageSender();
chatMessageSender.sendChatMessage(remoteID,
"<xhtml><body><b>test</b></body></xhtml>");
...

Unfortunately, when this message is displayed in external clients, all HTML
tags are visible. It's as if the external clients do not recognize the that
the message is XHTML.

Is there a way to send a chat message so that external clients will
recognize the message as XHTML?

Thanks,
Robert
Re: Sending XHTML via XMPPChatManager's IChatMessageSender [message #618896 is a reply to message #618893] Thu, 02 August 2007 00:31 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: remy.suen.gmail.com

Interesting. Looking over our APIs, I don't think that this is actually
supported, though I could be wrong.
Re: Sending XHTML via XMPPChatManager's IChatMessageSender [message #618899 is a reply to message #618893] Mon, 06 August 2007 17:10 Go to previous message
Scott Lewis is currently offline Scott LewisFriend
Messages: 976
Registered: July 2009
Senior Member
Robert Longo wrote:
> We are trying to send XHTML messages to external clients (e.g. Pidgin,
> SoapBox) via XMPPChatManager's IChatMessageSender:
>
> ...
> chatMessageSender = xmppChatManager.getChatMessageSender();
> chatMessageSender.sendChatMessage(remoteID,
> "<xhtml><body><b>test</b></body></xhtml>");
> ...
>
> Unfortunately, when this message is displayed in external clients, all
> HTML tags are visible. It's as if the external clients do not recognize
> the that the message is XHTML.
>
> Is there a way to send a chat message so that external clients will
> recognize the message as XHTML?
>
> Thanks,
> Robert

Hi Robert,

The IChatMessageSender does not (yet) support the sending of XHTML
messages. I've created an enhancement request here

https://bugs.eclipse.org/bugs/show_bug.cgi?id=198959

So that we can track.

Thanks,

Scott
Previous Topic:Announcement: ECF 1.0.2 now available
Next Topic:8/5/2007 conf call RESCHEDULED for 8/13/2007
Goto Forum:
  


Current Time: Mon Dec 22 08:39:20 GMT 2014

Powered by FUDForum. Page generated in 0.02036 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software