[ejabberd] Re: Sending a message/iq from a web-app

Magnus Henoch mange at freemail.hu
Wed Jun 14 02:07:25 MSD 2006


"Heiner Wolf" <wolf at bluehands.de> writes:

> I would like to send an iq request or a message from a PHP based web
> application. I would like to avoid creating a client connection
> including authentication for each message and a persistant client has
> karma limits.
>
> Is there any way to send an HTTP request to an ejabberd component,
> which turns around and sends the message via xmpp? Is there such a
> component? Can it be done with the HTTP polling thing?

This sounds like a job for mod_xmlrpc:
http://ejabberd.jabber.ru/mod_xmlrpc

It can't send stanzas yet, but that shouldn't be difficult to add.

-- 
Magnus
JID: legoscia at jabber.cd.chalmers.se



More information about the ejabberd mailing list