Simple Jabber Bot

March 28, 2008 – 3:17 pm

I needed a simple Jabber bot for a work project a while back. All it had to do was monitor a file on disk and use the contents of the file to generate Jabber messages.

So basically, you can write:

JID&&MESSAGE&&\n

... to a file and the bot will send MESSAGE to JID. I use this a lot in back end software that users don't really interact with, but still need status updates and the like.

Here is my quick and dirty Perl implementation.

Features:

  • Can get messages from multiple source files.
  • Weather report shows in the bot's status.
  • Current news headlines show in the bot's status

Perl Source

Sorry, comments for this entry are closed at this time.



thevedic.net

Part of the thevedic.net.
[Contact Me] - [Mud Emporium] - [Ozark, AR] - [See my Port?]

This site is in no way represents the opinions or positions of any company or organization including those who employ the creators of this web site. We're not responsible for the content, posts, responses by other users or ideas of any sites that are linked to on this page. This site is recommended for ages 18 and up.

VEDIC VEKO IS PROSPEROUS

Arkie Imports | Dean Vaughan | Dean Vaughan | K. Dean Vaughan | Kenneth Vaughan | Pig Trail 23 | Pig Trail Pics | See My Port Forward Info | See My Port Forward Info


I'm not affiliated with the following in anyway.
Arkansas MMA - Inferno Mixed Martial Arts - Inferno Martial Arts Club - Inferno Martial Arts Club - Official Inferno Fight Gear - Inferno Fight Equipment - Inferno Combat Gear - IFC Online - Inferno Fight Gear - Inferno MMA - Inferno Fight Gear