annotate discusssions/events.py @ 0:c904249afb04

initial commit of discussions
author k0s <k0scist@gmail.com>
date Sat, 02 Jan 2010 13:36:23 -0500
parents
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
0
c904249afb04 initial commit of discussions
k0s <k0scist@gmail.com>
parents:
diff changeset
1 """
c904249afb04 initial commit of discussions
k0s <k0scist@gmail.com>
parents:
diff changeset
2 events:
c904249afb04 initial commit of discussions
k0s <k0scist@gmail.com>
parents:
diff changeset
3 add_message(message)
c904249afb04 initial commit of discussions
k0s <k0scist@gmail.com>
parents:
diff changeset
4 add_member(member, discussion)
c904249afb04 initial commit of discussions
k0s <k0scist@gmail.com>
parents:
diff changeset
5 digest(name, discussion) # name: id token of digest, e.g. 'daily'
c904249afb04 initial commit of discussions
k0s <k0scist@gmail.com>
parents:
diff changeset
6 """
c904249afb04 initial commit of discussions
k0s <k0scist@gmail.com>
parents:
diff changeset
7
c904249afb04 initial commit of discussions
k0s <k0scist@gmail.com>
parents:
diff changeset
8 def notify_subscribers(message):
c904249afb04 initial commit of discussions
k0s <k0scist@gmail.com>
parents:
diff changeset
9 """notify subscribers""
c904249afb04 initial commit of discussions
k0s <k0scist@gmail.com>
parents:
diff changeset
10
c904249afb04 initial commit of discussions
k0s <k0scist@gmail.com>
parents:
diff changeset
11 def notify_digest_subscribers(message, group):
c904249afb04 initial commit of discussions
k0s <k0scist@gmail.com>
parents:
diff changeset
12 """notify digest subscribers"""
c904249afb04 initial commit of discussions
k0s <k0scist@gmail.com>
parents:
diff changeset
13