powered by Jive Software

Generate spark messages from a web server

Hi,

I would like to generate messages to a spark user from a web page. Im hoping that there is something already in existance that will allow me to do this. If not any suggestions or pointers on where to start? I’'m new to spark and can use any help you can offer.

Thanks.

Hi,

are you looking for a web interface like JWChat ( http://jwchat.sourceforge.net/ / http://zeank.in-berlin.de/ )? Or something like Spark FastPath http://www.jivesoftware.com/products/fastpath/features.jsp ?

Or what is your use case if one may ask?

LG

Fastpath does something similar, but way more than im looking for.

Here is my basic case:

Some event is triggered in a php script, on an offsite server. The php script builds and sends a spark message to a specific user via my local server running the spark service.

Nothing fancy, I just want to generate and send a message to a specific user.

Make sense?

Thanks

Hi,

this makes sense, yes. Confusing is that you mention a “spark service” - this should be an XMPP server like Wildfire. I don’‘t know about PHP XMPP modules like http://www.jabberstudio.org/projects/phpjabberclass/project/view.php , you’'ll need something like this. Or you launch a short (self-written) Smack java application to send just a message. Other XMPP libraries may be found here: http://www.jabber.org/software/libraries.shtml

LG

This turned out to be quite easy, using the php XMPP library found at:

http://cjphp.netflint.net/?section=news

I had problems using thier connect function, added my own and it is working great. I can send/recieve message etc. Very powerful, I’'m excited to start working with it.

Thanks for the help.