Edgewall Software

Version 1 (modified by cmlenz, 13 years ago) (diff)

Added page

Projects Extending Genshi


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 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