The easy Weblog and Wiki Software
[ start | index | login ]
start > XMPP Notification

XMPP Notification

Created by senikk. Last edited by senikk, 4 years and 309 days ago. Viewed 766 times. #1
[edit] [rdf]
labels
attachments

XMPP Notification

Todo

  • Add an url to the snip
  • Getting the jid from IMLabel
Ideas
  • Add support for transporters making it possible to send notification messages also to IM services like yahoo, aim and icq by reading IMLabel
  • Add a subscribe/unsubscribe message feature
package org.snipsnap.notification.xmpp;

import org.snipsnap.notification.Notifier; import org.snipsnap.app.Application;

/** * Sends notifications via XMPP IM service * @author * @version $Id: SmackNotifier.java,v 1.2 2003/09/02 19:15:52 senikk Exp $ */

public class SmackNotifier implements Notifier { private SmackBot bot; private String user;

public SmackNotifier(String user) { this.user = user; bot = SmackBot.getInstance(); }

public void notify(String message) { bot.sendMessage(user,Application.get().getConfiguration().getName(),message,"HEADLINE"); } }

one comment (by trejkaz) | post comment

What is SnipSnap?
SnipSnap is a free and easy to install weblog and wiki tool written in Java.

SnipSnap download
Current version: 1.0b3-uttoxeter
Try our >>Web Start Demo!

Resources

5567 Users and 13712 Snips. Installed 6 years and 8 days ago

Logged in Users: (2)
… and 19 Guests.

snipsnap-changed for older changes.

< July 2008 >
SunMonTueWedThuFriSat
12345
6789101112
13141516171819
20212223242526
2728293031

snipsnap
Listed on BlogShares
XHTML 1.0 validated
CSS validated
RSS 2.0 validated
RSS Feed

pico-powered

Powered by SnipSnap 1.0b3-uttoxeter
YourKit >>Java Profiler

Fraunhofer FIRST

snipsnap.org | Copyright 2000-2006 Fraunhofer FIRST