As Alessandro said, the rendering options wre already quite sophisticated and well-tested.

Anyway, as suggested by Alex, I have added two more features that allow the last fine-tuning of the rendering options.

1) You can now add rendering parameters to the expose decorator.
   E.g. for suppressing the doctype, you can do this:

   @expose('genshi_template', render_params=dict(doctype=None))

2) You can now override the default mappings of content types
   to doctypes and methods for the Genshi renderer, by setting
   templating.genshi.doctype and templating.genshi.method in
   the config to such mappings instead of fixed strings.

Checked in as commit:2cf110e452. Let me know what you think.

-- Christoph




--
You received this message because you are subscribed to the Google Groups 
"TurboGears" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/turbogears?hl=en.

Reply via email to