Mercurial > genshi > genshi-test
view UPGRADE.txt @ 311:01e2c48f6dfb
* The `HTMLParser` class and the `HTML` function now accept an `encoding` parameter to properly deal with bytestring input (defaults to UTF-8).
* The `TemplateLoader` class can now also be initialized from a string for the search path, for cases where the search path contains only a single directory.
author | cmlenz |
---|---|
date | Sun, 22 Oct 2006 14:57:40 +0000 |
parents | 7a426ab6407a |
children | 5f2c7782cd8a |
line wrap: on
line source
Upgrading Genshi ================ Upgrading from Markup --------------------- Prior to version 0.3, the name of the Genshi project was "Markup". The name change means that you will have to adjust your import statements and the namespace URI of XML templates, among other things: * The package name was changed from "markup" to "genshi". Please adjust any import statements referring to the old package name. * The namespace URI for directives in Genshi XML templates has changed from http://markup.edgewall.org/ to http://genshi.edgewall.org/. Please update the xmlns:py declaration in your template files accordingly. Furthermore, due to the inclusion of a text-based template language, the class: `markup.template.Template` has been renamed to: `markup.template.MarkupTemplate` If you've been using the Template class directly, you'll need to update your code (a simple find/replace should do--the API itself did not change).