hi @ll
i would like use this trivia bot
how can i do this, bot is written in perl.
i tried to adding html tags in to the message , but it was not usefull.
pls help
To access the most up-to-date ejabberd documentation, please visit docs.ejabberd.im »
hi @ll
i would like use this trivia bot
how can i do this, bot is written in perl.
i tried to adding html tags in to the message , but it was not usefull.
pls help
Client topic, not server. Check example.
What you ask is a Jabber client topic, not server. Tkabber and Pidgin support it, and probably many other Jabber clients do, too.
For example, three years ago I posted this small article:XHTML-IM partial support in Tkabber
huhu
What you ask is a Jabber client topic, not server. Tkabber and Pidgin support it, and probably many other Jabber clients do, too.
For example, three years ago I posted this small article:XHTML-IM partial support in Tkabber
no you understand me wrongly,
its not a jabber client question.
this perl script is a bot it asking questions in the channel, like this:
Q ID: F1.Q537
This question is worth 400 points
Category: --
Question: who is the best?
1st Hint:b*******
the text comes from the perl script i would like send this message in color.
not the messages which comes from the user to the server.
do you understand what i mean:(
message will be sent: like
message will be sent: like this:
my $Question = new Net::Jabber::Message;
$Question->SetMessage( from=>$fullid,
to=>$room,
type=>"groupchat",
body=>"test<html xmlns='http://www.w3.org/1999/xhtml'><body><span style='font-family: Arial; color: #660066; margin:0 '><strong>test</strong></span></body></html>");
in the channel i see the same text whhich stands in the body tag.
on ejabberd log i see the html tags are escaped like this
<html xmlns='http://www.w3.org/1999/xhtml'>
whats wrong?
how can i send html messages with net::jabber:message