annotate MoinMoin/events/JabberNotification.py @ 2066:b73b2b885b02

Add a stub for jabber notification plugin. It currently only prints info about received events.
author Karol 'grzywacz' Nowak <grzywacz@sul.uni.lodz.pl>
date Thu, 31 May 2007 01:03:54 +0200
parents
children 09eeb9cb9afc
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
2066
b73b2b885b02 Add a stub for jabber notification plugin.
Karol 'grzywacz' Nowak <grzywacz@sul.uni.lodz.pl>
parents:
diff changeset
1 # -*- coding: iso-8859-1 -*-
b73b2b885b02 Add a stub for jabber notification plugin.
Karol 'grzywacz' Nowak <grzywacz@sul.uni.lodz.pl>
parents:
diff changeset
2 """
b73b2b885b02 Add a stub for jabber notification plugin.
Karol 'grzywacz' Nowak <grzywacz@sul.uni.lodz.pl>
parents:
diff changeset
3 MoinMoin - jabber notification plugin from event system
b73b2b885b02 Add a stub for jabber notification plugin.
Karol 'grzywacz' Nowak <grzywacz@sul.uni.lodz.pl>
parents:
diff changeset
4
b73b2b885b02 Add a stub for jabber notification plugin.
Karol 'grzywacz' Nowak <grzywacz@sul.uni.lodz.pl>
parents:
diff changeset
5 This code sends notifications using a separate daemon.
b73b2b885b02 Add a stub for jabber notification plugin.
Karol 'grzywacz' Nowak <grzywacz@sul.uni.lodz.pl>
parents:
diff changeset
6
b73b2b885b02 Add a stub for jabber notification plugin.
Karol 'grzywacz' Nowak <grzywacz@sul.uni.lodz.pl>
parents:
diff changeset
7 @copyright: 2007 by Karol Nowak <grywacz@gmail.com>
b73b2b885b02 Add a stub for jabber notification plugin.
Karol 'grzywacz' Nowak <grzywacz@sul.uni.lodz.pl>
parents:
diff changeset
8 @license: GNU GPL, see COPYING for details.
b73b2b885b02 Add a stub for jabber notification plugin.
Karol 'grzywacz' Nowak <grzywacz@sul.uni.lodz.pl>
parents:
diff changeset
9 """
b73b2b885b02 Add a stub for jabber notification plugin.
Karol 'grzywacz' Nowak <grzywacz@sul.uni.lodz.pl>
parents:
diff changeset
10
b73b2b885b02 Add a stub for jabber notification plugin.
Karol 'grzywacz' Nowak <grzywacz@sul.uni.lodz.pl>
parents:
diff changeset
11 # nothing here yet 8)
b73b2b885b02 Add a stub for jabber notification plugin.
Karol 'grzywacz' Nowak <grzywacz@sul.uni.lodz.pl>
parents:
diff changeset
12
b73b2b885b02 Add a stub for jabber notification plugin.
Karol 'grzywacz' Nowak <grzywacz@sul.uni.lodz.pl>
parents:
diff changeset
13 def handle(event):
b73b2b885b02 Add a stub for jabber notification plugin.
Karol 'grzywacz' Nowak <grzywacz@sul.uni.lodz.pl>
parents:
diff changeset
14 print event