Mercurial > hg > contenttransformer
annotate example.ini @ 15:946176949bba
add the genshi transformer
author | Jeff Hammel <jhammel@mozilla.com> |
---|---|
date | Mon, 06 Sep 2010 08:45:30 -0700 |
parents | a9ddcfc7c4e8 |
children | 0ad456dbb4c5 |
rev | line source |
---|---|
0
29805d442afc
initial commit of contenttransformer; still in the stub stage
k0s <k0scist@gmail.com>
parents:
diff
changeset
|
1 #!/usr/bin/env paster |
29805d442afc
initial commit of contenttransformer; still in the stub stage
k0s <k0scist@gmail.com>
parents:
diff
changeset
|
2 |
29805d442afc
initial commit of contenttransformer; still in the stub stage
k0s <k0scist@gmail.com>
parents:
diff
changeset
|
3 [DEFAULT] |
29805d442afc
initial commit of contenttransformer; still in the stub stage
k0s <k0scist@gmail.com>
parents:
diff
changeset
|
4 debug = true |
29805d442afc
initial commit of contenttransformer; still in the stub stage
k0s <k0scist@gmail.com>
parents:
diff
changeset
|
5 email_to = k0scist@gmail.com |
29805d442afc
initial commit of contenttransformer; still in the stub stage
k0s <k0scist@gmail.com>
parents:
diff
changeset
|
6 smtp_server = localhost |
29805d442afc
initial commit of contenttransformer; still in the stub stage
k0s <k0scist@gmail.com>
parents:
diff
changeset
|
7 error_email_from = paste@localhost |
29805d442afc
initial commit of contenttransformer; still in the stub stage
k0s <k0scist@gmail.com>
parents:
diff
changeset
|
8 |
29805d442afc
initial commit of contenttransformer; still in the stub stage
k0s <k0scist@gmail.com>
parents:
diff
changeset
|
9 [server:main] |
29805d442afc
initial commit of contenttransformer; still in the stub stage
k0s <k0scist@gmail.com>
parents:
diff
changeset
|
10 use = egg:Paste#http |
29805d442afc
initial commit of contenttransformer; still in the stub stage
k0s <k0scist@gmail.com>
parents:
diff
changeset
|
11 host = 0.0.0.0 |
29805d442afc
initial commit of contenttransformer; still in the stub stage
k0s <k0scist@gmail.com>
parents:
diff
changeset
|
12 port = 6666 |
29805d442afc
initial commit of contenttransformer; still in the stub stage
k0s <k0scist@gmail.com>
parents:
diff
changeset
|
13 |
29805d442afc
initial commit of contenttransformer; still in the stub stage
k0s <k0scist@gmail.com>
parents:
diff
changeset
|
14 [composite:main] |
29805d442afc
initial commit of contenttransformer; still in the stub stage
k0s <k0scist@gmail.com>
parents:
diff
changeset
|
15 use = egg:Paste#urlmap |
1
aa491070ccf3
now works, just doesnt do anything, i dont think
k0s <k0scist@gmail.com>
parents:
0
diff
changeset
|
16 / = contenttransformer |
0
29805d442afc
initial commit of contenttransformer; still in the stub stage
k0s <k0scist@gmail.com>
parents:
diff
changeset
|
17 |
29805d442afc
initial commit of contenttransformer; still in the stub stage
k0s <k0scist@gmail.com>
parents:
diff
changeset
|
18 set debug = false |
29805d442afc
initial commit of contenttransformer; still in the stub stage
k0s <k0scist@gmail.com>
parents:
diff
changeset
|
19 |
1
aa491070ccf3
now works, just doesnt do anything, i dont think
k0s <k0scist@gmail.com>
parents:
0
diff
changeset
|
20 [app:contenttransformer] |
aa491070ccf3
now works, just doesnt do anything, i dont think
k0s <k0scist@gmail.com>
parents:
0
diff
changeset
|
21 paste.app_factory = contenttransformer.factory:factory |
aa491070ccf3
now works, just doesnt do anything, i dont think
k0s <k0scist@gmail.com>
parents:
0
diff
changeset
|
22 transformer.directory = %(here)s/example |
10
a9ddcfc7c4e8
added transformer just of content-type name
k0s <k0scist@gmail.com>
parents:
3
diff
changeset
|
23 transformer.transforms = *.gv.txt=Graphviz,*.txt=ReST,foo=text/plain |