Edgewall Software
Version 2 (modified by cmlenz, 8 years ago)

--

Projects Extending Genshi

 genshihtml5

This projects enables Genshi to use HTML5 as:

input: similar to the built-in tag soup support, see GenshiRecipes/HtmlTransform for an example of use
output: similar to the built-in HTML support but follows HTML5 rules for optional tags and serialization
template language: similar to the built-in XML Template Language (work in progress)

HTML5 parsing is done using html5lib

 genshi2js

Genshi2Js compiles a subset of a genshi templates to javascript functions.

It compiles control flow structures to the javascript equivalent and inserts invokations to a "writer" function into the javascript code to render the template into a javascript string, intended to be inserted into innerHTML of dom elements.


See also: GenshiUsers