Mercurial > hg > commentator
annotate comments+captcha.ini @ 9:825833a5c4a7 default tip
update metadata
author | Jeff Hammel <k0scist@gmail.com> |
---|---|
date | Tue, 03 Nov 2020 08:18:53 -0800 |
parents | c95f1dfed329 |
children |
rev | line source |
---|---|
6
c95f1dfed329
some work to get commenting + captchas working together
k0s <k0scist@gmail.com>
parents:
diff
changeset
|
1 #!/usr/bin/env paster |
c95f1dfed329
some work to get commenting + captchas working together
k0s <k0scist@gmail.com>
parents:
diff
changeset
|
2 |
c95f1dfed329
some work to get commenting + captchas working together
k0s <k0scist@gmail.com>
parents:
diff
changeset
|
3 [DEFAULT] |
c95f1dfed329
some work to get commenting + captchas working together
k0s <k0scist@gmail.com>
parents:
diff
changeset
|
4 debug = true |
c95f1dfed329
some work to get commenting + captchas working together
k0s <k0scist@gmail.com>
parents:
diff
changeset
|
5 email_to = k0scist@gmail.com |
c95f1dfed329
some work to get commenting + captchas working together
k0s <k0scist@gmail.com>
parents:
diff
changeset
|
6 smtp_server = localhost |
c95f1dfed329
some work to get commenting + captchas working together
k0s <k0scist@gmail.com>
parents:
diff
changeset
|
7 error_email_from = paste@localhost |
c95f1dfed329
some work to get commenting + captchas working together
k0s <k0scist@gmail.com>
parents:
diff
changeset
|
8 |
c95f1dfed329
some work to get commenting + captchas working together
k0s <k0scist@gmail.com>
parents:
diff
changeset
|
9 [server:main] |
c95f1dfed329
some work to get commenting + captchas working together
k0s <k0scist@gmail.com>
parents:
diff
changeset
|
10 use = egg:Paste#http |
c95f1dfed329
some work to get commenting + captchas working together
k0s <k0scist@gmail.com>
parents:
diff
changeset
|
11 host = 0.0.0.0 |
c95f1dfed329
some work to get commenting + captchas working together
k0s <k0scist@gmail.com>
parents:
diff
changeset
|
12 port = 1080 |
c95f1dfed329
some work to get commenting + captchas working together
k0s <k0scist@gmail.com>
parents:
diff
changeset
|
13 |
c95f1dfed329
some work to get commenting + captchas working together
k0s <k0scist@gmail.com>
parents:
diff
changeset
|
14 [composite:main] |
c95f1dfed329
some work to get commenting + captchas working together
k0s <k0scist@gmail.com>
parents:
diff
changeset
|
15 use = egg:Paste#urlmap |
c95f1dfed329
some work to get commenting + captchas working together
k0s <k0scist@gmail.com>
parents:
diff
changeset
|
16 / = commentator |
c95f1dfed329
some work to get commenting + captchas working together
k0s <k0scist@gmail.com>
parents:
diff
changeset
|
17 |
c95f1dfed329
some work to get commenting + captchas working together
k0s <k0scist@gmail.com>
parents:
diff
changeset
|
18 set debug = false |
c95f1dfed329
some work to get commenting + captchas working together
k0s <k0scist@gmail.com>
parents:
diff
changeset
|
19 |
c95f1dfed329
some work to get commenting + captchas working together
k0s <k0scist@gmail.com>
parents:
diff
changeset
|
20 [app:commentator] |
c95f1dfed329
some work to get commenting + captchas working together
k0s <k0scist@gmail.com>
parents:
diff
changeset
|
21 paste.app_factory = commentator.example:captcha_factory |
c95f1dfed329
some work to get commenting + captchas working together
k0s <k0scist@gmail.com>
parents:
diff
changeset
|
22 directory = %(here)s/example |
c95f1dfed329
some work to get commenting + captchas working together
k0s <k0scist@gmail.com>
parents:
diff
changeset
|
23 commentator.database = %(here)s/test.pck |
c95f1dfed329
some work to get commenting + captchas working together
k0s <k0scist@gmail.com>
parents:
diff
changeset
|
24 commentator.pattern = (.*)#.//div[@id='comment_on_this'] -> ${1} |
c95f1dfed329
some work to get commenting + captchas working together
k0s <k0scist@gmail.com>
parents:
diff
changeset
|
25 #commentator.pattern = /blog/.*##([0-9]{14})->/blog/$1 # for bitsyblog |