XMPP-FTW XMPP and JSON for the Web

XMPP always had a special place in our heart. It’s an amazing protocol which comes with presence, addressing, as well as PubSub baked in. It’s no surprise we’ve had an XMPP API since day 1 at Superfeedr.

Now, though, XMPP scares a lot of people because of it’s X part: it uses XML as its data schema. Knowing that, Lloyd, an extremely talented web developer invented a very elegant solution for people to discover XMPP without dealing with the XML at all, thru XMPP for the Web (XMPP-FTW).

XMPP-FTW

XMPP-FTW is actually a proxy XMPP client which converts all the XML into a json API. It sits between the XMPP server and any app which can consume JSON. It supports the code XMPP protocol as well as a bunch of other features, including Superfeedr.

The demo is quite helpful to understand exactly what is going on. You can perform calls and configure them. In the back, they’ll be converted by XMPP-FTW to regular XMPP stanzas. Similarly, incoming XMPP messages will be converted into javsacript events which your app can handle.

Superfeedr support

Recently, Lloyd added support for the Superfeedr API and it’s a great playground to get started. Here is a little HOW-TO that you can try in the demo app. (you could also run your own XMPP-FTW)

Type xmpp.login, in the ‘event name’ box.

Options should appear in the following grey box. Replace them with {"jid": "demo@superfeedr.com","password": "demo"}. Hit ‘send’.

Quickly, you should see an incoming event indicating that you’re now connected to Superfeedr XMPP server!