# HG changeset patch # User Jeff Hammel # Date 1285542213 25200 # Node ID 0ad456dbb4c5d83527d8a9bfac7702adc693589d # Parent 946176949bbaae5d9a4d44ba2fadf27f87208a98 illustrate genshi transformer diff -r 946176949bba -r 0ad456dbb4c5 example.ini --- a/example.ini Mon Sep 06 08:45:30 2010 -0700 +++ b/example.ini Sun Sep 26 16:03:33 2010 -0700 @@ -20,4 +20,4 @@ [app:contenttransformer] paste.app_factory = contenttransformer.factory:factory transformer.directory = %(here)s/example -transformer.transforms = *.gv.txt=Graphviz,*.txt=ReST,foo=text/plain \ No newline at end of file +transformer.transforms = *.gv.txt=Graphviz,*.txt=ReST,foo=text/plain,*.html=Genshi \ No newline at end of file diff -r 946176949bba -r 0ad456dbb4c5 example/hello.html --- a/example/hello.html Mon Sep 06 08:45:30 2010 -0700 +++ b/example/hello.html Sun Sep 26 16:03:33 2010 -0700 @@ -1,5 +1,5 @@ -Hello, world - \ No newline at end of file +Hello, ${request.GET.get('name')} +