diff commentator.ini @ 0:1c95a3fa76c1

initial commit of commentator
author k0s <k0scist@gmail.com>
date Sun, 24 Jan 2010 17:39:05 -0500
parents
children
line wrap: on
line diff
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/commentator.ini	Sun Jan 24 17:39:05 2010 -0500
@@ -0,0 +1,25 @@
+#!/usr/bin/env paster
+
+[DEFAULT]
+debug = true
+email_to = k0scist@gmail.com
+smtp_server = localhost
+error_email_from = paste@localhost
+
+[server:main]
+use = egg:Paste#http
+host = 0.0.0.0
+port = 1080
+
+[composite:main]
+use = egg:Paste#urlmap
+/ = commentator
+
+set debug = false
+
+[app:commentator]
+paste.app_factory = commentator.example:factory
+directory = %(here)s/example
+commentator.database = %(here)s/test.pck
+commentator.pattern = (.*)#.//div[@id='comment_on_this'] -> ${1}
+#commentator.pattern = /blog/.*##([0-9]{14})->/blog/$1 # for bitsyblog