The calendar is gone.
Click here to view posts


Xmpp4r jabber bots
I have started work on a jabber bot using xmpp4r and eventmachine. Its not much of a bot yet. Its more of a queuing system. People can subscribe to different queues ran off the same bot. For example rubytalk@gmail.com us currently sending out the new links in delicious tagged with ruby or rails. Invite rubytalk@gmail.com to chat and type show queues. Then type join:#{queue name} EX join:ruby rss. You get a little welcome message letting you know everything is ok. To leave the queue type leave:#{name}.

There is lots of work to do. I have the message manager creating and sending messages pretty well. I am unsure how I to flexibly handle user input. I think there is a way to centralize some of the standard logic and still allow users to easily add in new functionality. My main running script is about 100 lines and 50 of which are for parsing input.

Things to add: A member object and logic around members, input to the queues, more types of queues, help menu system, configuration, queue member persistence. I hope to put my code some where soon. Until then if rubytalk@gmail.com is on-line send them a message.

Update: You can now translate words, latin:forever or italian:hello. I support Latin, Italian, Spanish, French, German and Portuguese. The dictionaries are kinda limited but the price was right. The Internet Dictionary Project is where I got the files.