Friday, February 27, 2009

Twittering....from the terminal!

Have you ever twittered from a terminal?

The last days I have been working on an integration of Coalevo with Twitter, in form of a simple messaging bot. This way, whatever type of access we invent for the presence and messaging services, it will be possible to do some twittering.

However, currently only the shell access supports presence and messaging, so we are essentially looking at a way to access Twitter from a terminal with a BBS style look and feel





These shots are taken from KaraNet, live system, where the bot is currently being beta tested.

The biggest problem I have encountered so far, is the fact that Twitter’s data output in XML, is not really XML by definition. All sorts of content that will cause fatal errors in a parser (entities being the best example; XML only comes with 5 predefined entities, if I remember correctly: lt, gt, amp, apos and quot).