Download GHRML
- Install using setuptools with "easy_install GHRML"
- Download tarball at http://www.ghrml.org/download/
- Mercurial repository at hg clone http://www.ghrml.org/ghrml/
- PyPI page at http://pypi.python.org/pypi/GHRML/
Note that GHRML depends on Genshi 0.4.4. It also works with later/development versions, but may require changes in the argument list of GHRMLTemplate._init_ to mirror Genshi's changes to MarkupTemplate._init_ - see comments in the code for more details.
Use GHRML
- For Genshi users, ghrml.GHRMLTemplate extends MarkupTemplate, providing the same interface, but processing GHRML-format templates, instead of Genshi-format templates
- For Django users, ghrml.ghrml_django provides methods such as render_to_response (note: you will need to set GENSHI_TEMPLATE_DIRS - see John Leung's instructions on how to use the snippet which inspired this feature).