diff 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
line wrap: on
line diff
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/discusssions/events.py	Sat Jan 02 13:36:23 2010 -0500
@@ -0,0 +1,13 @@
+"""
+events:
+  add_message(message)
+  add_member(member, discussion)
+  digest(name, discussion) # name: id token of digest, e.g. 'daily'
+"""
+
+def notify_subscribers(message):
+    """notify subscribers""
+
+def notify_digest_subscribers(message, group):
+    """notify digest subscribers"""
+