Mercurial > hg > contenttransformer
changeset 18:7800c6553c77
merge commit
author | Jeff Hammel <jhammel@mozilla.com> |
---|---|
date | Sun, 26 Sep 2010 19:58:46 -0700 |
parents | 0ad456dbb4c5 (diff) 6cbe4172b54b (current diff) |
children | afd11b758da0 |
files | |
diffstat | 2 files changed, 3 insertions(+), 3 deletions(-) [+] |
line wrap: on
line diff
--- a/example.ini Fri Sep 24 19:15:13 2010 -0700 +++ b/example.ini Sun Sep 26 19:58:46 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
--- a/example/hello.html Fri Sep 24 19:15:13 2010 -0700 +++ b/example/hello.html Sun Sep 26 19:58:46 2010 -0700 @@ -1,5 +1,5 @@ <html xmlns="http://www.w3.org/1999/xhtml" xmlns:py="http://genshi.edgewall.org/" py:strip="True"> -Hello, world -</html> \ No newline at end of file +Hello, ${request.GET.get('name')} +</html>