0
|
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
|