#2287: [PATCH] No simple way to make TurboGears 2 produce HTML
-------------------------+--------------------------------------------------
 Reporter:  chrisz       |        Owner:        
     Type:  enhancement  |       Status:  new   
 Priority:  high         |    Milestone:  2.1a1 
Component:  TurboGears   |      Version:  2.0rc1
 Severity:  normal       |   Resolution:        
 Keywords:  html patch   |  
-------------------------+--------------------------------------------------
Comment (by jorge.vargas):

 Replying to [comment:6 chrisz]:
 > Ok, I commited a
 [http://bitbucket.org/mramm/tg-21/changeset/36d34eb956e0/ similar patch]
 now.
 >
 > However, there are still two open problems:
 >
 > First, the resource injection issue as mentioned above. To fix this, we
 need to work on [http://toscawidgets.org/trac/tw/ticket/40 TW ticket 40].
 >
 > Second, the doctype is not adapted when you change the method from xhtml
 to html, i.e. you need to set the correct doctype in all your templates,
 which is not only inconvenient, but also bad if you want to view the
 templates directly. To fix this, we need to add a custom Genshi renderer
 since passing a doctype is not supported by Pylons (see
 [http://pylonshq.com/project/pylonshq/ticket/61 Pylons ticket 613]).

 Given Ben's input on the pylons ticket I think the correct solution will
 be for TG to build a render genshi function (or set of functions) that
 will take all the parameters like it was said in the pylons ticket. In
 fact I'm willing to simply skip the pylons.templating.render_genshi
 function and simply use our own.

-- 
Ticket URL: <http://trac.turbogears.org/ticket/2287#comment:8>
TurboGears <http://www.turbogears.org/>
TurboGears front-to-back web development

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google
Groups "TurboGears Tickets" group.
This group is read-only. No posting by normal members allowed.
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/turbogears-tickets?hl=en?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to