-
Website
http://www.scripting.com/ -
Original page
http://www.scripting.com/stories/2008/01/21/xmppAsTheBasisForInteropIn.html -
Subscribe
All Comments -
Community
-
Top Commenters
-
eas
55 comments · 4 points
-
AndrewBurton
134 comments · 10 points
-
Michael Markman (Mickeleh)
154 comments · 13 points
-
Rex Hammock
52 comments · 9 points
-
malatmals
80 comments · 3 points
-
-
Popular Threads
-
A new Internet Law, named after Bill Gates. (Scripting News)
1 day ago · 11 comments
-
Build to flip? (Scripting News)
2 days ago · 8 comments
-
Now that Google has a URL shortener. (Scripting News)
2 days ago · 11 comments
-
Have you tried Google's DNS? (Scripting News)
1 week ago · 36 comments
-
No escalation in Afghanistan. (Scripting News)
3 weeks ago · 48 comments
-
A new Internet Law, named after Bill Gates. (Scripting News)
There are two ways to talk XMPP/Jabber. The first is C2S -- where you write a client that can connect to a server. You can write a bot to connect to the Google server, but be aware that you may hit some limits as we really built the system for users, not bots.
The other way is S2S -- where you are another server that connects to Talk. The name of your bot/service wouldn't be @gmail.com but would rather be hosted on your own server with your own domain. In this case you have a lot more freedom to implement the server in whatever way you want. This is the way the twitter bot interacts.
There is *really* a lot to like about XMPP S2S. It is very open much in the model of SMTP. When a message to "joebob@mydomain.com" is seen, the server will do a DNS lookup (SRV record), call that server and deliver the message. Check out xmpp.org for all of the specifications and a list of server implementations to start playing with. If you want to be *really* fancy you can write your own server, but I would suggest you start with something off the shelf to play with.
You could try working with OpenFire to get started it's reasonably easy to use as a server.
http://www.igniterealtime.org/projects/openfire...
yes, you can read all about it here: http://www.xmpp.org/extensions/xep-0060.html
If you're interested in writing something with Openfire, you can check out the XMPP bot that I wrote for Openfire to do instant notifications of RSS changes, it's a component that lives inside the server, much like what Joe talked about above:
http://cephas.net/projects/instantfeeds/
Cheers,
AJ
He's the co-author of XEP-0060, was at Jaiku and is the developer of Idavoll, an implementation of a generic publish-subscribe service component for Jabber servers, which now supports an HTTP-XMPP Pubsub gateway. ;)
See also, this Jaiku thread.
I guess it is slowly creeping into everyone's mindshare...