Mercurial > hg > commentator
comparison commentator.ini @ 0:1c95a3fa76c1
initial commit of commentator
author | k0s <k0scist@gmail.com> |
---|---|
date | Sun, 24 Jan 2010 17:39:05 -0500 |
parents | |
children |
comparison
equal
deleted
inserted
replaced
-1:000000000000 | 0:1c95a3fa76c1 |
---|---|
1 #!/usr/bin/env paster | |
2 | |
3 [DEFAULT] | |
4 debug = true | |
5 email_to = k0scist@gmail.com | |
6 smtp_server = localhost | |
7 error_email_from = paste@localhost | |
8 | |
9 [server:main] | |
10 use = egg:Paste#http | |
11 host = 0.0.0.0 | |
12 port = 1080 | |
13 | |
14 [composite:main] | |
15 use = egg:Paste#urlmap | |
16 / = commentator | |
17 | |
18 set debug = false | |
19 | |
20 [app:commentator] | |
21 paste.app_factory = commentator.example:factory | |
22 directory = %(here)s/example | |
23 commentator.database = %(here)s/test.pck | |
24 commentator.pattern = (.*)#.//div[@id='comment_on_this'] -> ${1} | |
25 #commentator.pattern = /blog/.*##([0-9]{14})->/blog/$1 # for bitsyblog |