XML.com: XML From the Inside Out

XML.comWebServices.XML.comO'Reilly Networkoreilly.com
  Articles | Weblogs | Newsletter | Safari Bookshelf
advertisement

 Resource Guide -> Perl Implementations, P2P Tutorials, Instant Messaging -> A More Sensitive Mail Notifier

A More Sensitive Mail Notifier

Date: Jun. 16, 2001
Link: http://www.openp2p.com/pub/a/p2p/2001/04/13/jabber.html
Source Author or Organization: D. J. Adams, OpenP2P.com

This tutorial covers the process of using a Perl script to facilitate the notification of incoming Jabber messages when either a user is not present when the notification arrives or when a user is connected but does not wish to be disturbed. It also provides solutions to the problem of message traffic piling up when a user is away for an extended period of time.

The described approach takes advantage of the Net::Jabber Perl module and the Jabber XML structure for handling "presence". Five presence states are defined: Normal, Free for Chat, Away, Extended Away and Do Not Disturb. The tutorial steps the reader through development of small Perl scripts that utilize Extended Away and Do Not Disturb for a flexible solution. All Perl code is listed.

Sponsored By:


Contact Us | Our Mission | Privacy Policy | Advertise With Us | | Submissions Guidelines
Copyright © 2008 O'Reilly Media, Inc. | (707) 827-7000 / (800) 998-9938