There are 2 articles tagged as "xmpp"

Listening to Dbus signals with PHP

on December 26, 2011. in Development, Programming. A 3 minute read.

In my previous post I described (tried, at least) how to communicate with Pidgin from PHP, by using the Dbus PHP extension.

Communicating with Pidgin from PHP via D-Bus

on December 18, 2011. in Development, Programming. A 4 minute read.

Earlier this week I got an idea of trying to communicate with Pidgin, a chat client, via the terminal. Sounded like a fun thing to hack on, plus, could be made useful (in my head, at least), for things like logging from a web application directly to IM, or, heck, even creating something like Github’s Hubot, commanding a server or an application just via chat. Surely I wasn’t the first one to come up with this idea and after a bit of a googling found out that Pidgin’s libpurple has a nice API for that, exposed via D-Bus.