From t.broyer at gmail.com Wed Apr 4 05:55:55 2007 From: t.broyer at gmail.com (Thomas Broyer) Date: Wed, 4 Apr 2007 14:55:55 +0200 Subject: [Imps] HTML5 integration in Genshi (input, output and now templates!) In-Reply-To: <460A64B7.4070705@cutsinger.org> References: <460A64B7.4070705@cutsinger.org> Message-ID: 2007/3/28, Jeff Cutsinger: > Thomas Broyer wrote: > >> > >> http://genshi.edgewall.org/ticket/108 > > OK. THAT is AWESOME. The project now lives at http://code.google.com/p/genshihtml5 I've updated HTML5Template to: * allow inclusion of python script (using ) * allow inclusion of other templates (using or ) * parse included templates as "HTML5 fragments" (requires html5lib rev. 538 at a minimum) I'll add support for to include other templates as this allows for fallback content (e.g. ) Also planned are a filter for stripping optional tags (to save a few bytes in the output stream) and, later, a "form filler" filter with support for Web Forms 1.0 (mainly the repetition model and association of controls with multiple forms), probably following the "seeding" algorithm I've done only a few tests and I'm not yet using it really, so test cases are needed too. Feel free to test and report bugs. -- Thomas Broyer From t.broyer at gmail.com Wed Apr 4 05:55:55 2007 From: t.broyer at gmail.com (Thomas Broyer) Date: Wed, 4 Apr 2007 14:55:55 +0200 Subject: [Imps] HTML5 integration in Genshi (input, output and now templates!) In-Reply-To: <460A64B7.4070705@cutsinger.org> References: <460A64B7.4070705@cutsinger.org> Message-ID: 2007/3/28, Jeff Cutsinger: > Thomas Broyer wrote: > >> > >> http://genshi.edgewall.org/ticket/108 > > OK. THAT is AWESOME. The project now lives at http://code.google.com/p/genshihtml5 I've updated HTML5Template to: * allow inclusion of python script (using ) * allow inclusion of other templates (using or ) * parse included templates as "HTML5 fragments" (requires html5lib rev. 538 at a minimum) I'll add support for to include other templates as this allows for fallback content (e.g. ) Also planned are a filter for stripping optional tags (to save a few bytes in the output stream) and, later, a "form filler" filter with support for Web Forms 1.0 (mainly the repetition model and association of controls with multiple forms), probably following the "seeding" algorithm I've done only a few tests and I'm not yet using it really, so test cases are needed too. Feel free to test and report bugs. -- Thomas Broyer From t.broyer at gmail.com Wed Apr 4 05:55:55 2007 From: t.broyer at gmail.com (Thomas Broyer) Date: Wed, 4 Apr 2007 14:55:55 +0200 Subject: [Imps] HTML5 integration in Genshi (input, output and now templates!) In-Reply-To: <460A64B7.4070705@cutsinger.org> References: <460A64B7.4070705@cutsinger.org> Message-ID: 2007/3/28, Jeff Cutsinger: > Thomas Broyer wrote: > >> > >> http://genshi.edgewall.org/ticket/108 > > OK. THAT is AWESOME. The project now lives at http://code.google.com/p/genshihtml5 I've updated HTML5Template to: * allow inclusion of python script (using ) * allow inclusion of other templates (using or ) * parse included templates as "HTML5 fragments" (requires html5lib rev. 538 at a minimum) I'll add support for to include other templates as this allows for fallback content (e.g. ) Also planned are a filter for stripping optional tags (to save a few bytes in the output stream) and, later, a "form filler" filter with support for Web Forms 1.0 (mainly the repetition model and association of controls with multiple forms), probably following the "seeding" algorithm I've done only a few tests and I'm not yet using it really, so test cases are needed too. Feel free to test and report bugs. -- Thomas Broyer