[Checkins] SVN: megrok.genshi/tags/0.9/ Release tag.

Lennart Regebro regebro at gmail.com
Mon Nov 12 17:54:45 EST 2007


Log message for revision 81798:
  Release tag.
  

Changed:
  A   megrok.genshi/tags/0.9/
  D   megrok.genshi/tags/0.9/README.txt
  A   megrok.genshi/tags/0.9/README.txt

-=-
Copied: megrok.genshi/tags/0.9 (from rev 81796, megrok.genshi/trunk)

Deleted: megrok.genshi/tags/0.9/README.txt
===================================================================
--- megrok.genshi/trunk/README.txt	2007-11-12 22:50:53 UTC (rev 81796)
+++ megrok.genshi/tags/0.9/README.txt	2007-11-12 22:54:44 UTC (rev 81798)
@@ -1,61 +0,0 @@
-megrok.genshi
-=============
-
-megrok.genshi makes it possible to use Genshi templates in Grok. 
-
-For more information on Grok and Genshi see:
-
-- http://grok.zope.org/
-- http://genshi.edgewall.org/
-
-Requirements
-------------
-
-- Genshi.  Tested with v 0.4.4.
-- Grok v0.11 or later.  Tested with 0.11.
-
-Installation
-------------
-
-To use Genshi under Grok all you need is to add megrok.genshi as an egg in 
-your buildout.cfg.  Assuming you used grokproject to create your buildout,
-you should add it to the eggs list under the headings [app] and [test].
-
-You also need to add <include package="megrok.genshi" /> to your site.zcml,
-also under the [app] heading in your buildout.cfg.
-
-Then run bin/buildout again, and it should now fetch and install the eggs
-for both Genshi and megrok.genshi.
-
-Usage
------
-
-megrok.genshi supports the Grok standard of placing templates in a templates
-directory, for example app_templates, so you can use Genshi by simply placing
-the Genshi templates in the templates directory, just as you would with ZPT
-templates.  Although Genshi itself doesn't have a standard for the file
-extensions for Genshi templates, Grok needs to have an association between an
-extension and a type so it knows which type of template each template is.
-megrok.genshi defines the extension .g for Genshi HTML templates and .gt for
-Genshi Text templates.  Genshi can also include templates, and although you can
-use any extension for this we recommend you use .gi for any include templates,
-to avoid any clashes with other templating languages.
-
-You can also use Genshi templates inline.  The syntax for this is:
-
-   from megrok.genshi.components import GenshiMarkupTemplate, GenshiTextTemplate
-
-   index = GenshiMarkupTemplate('<html>the html code</html>')
-   index = GenshiMarkupTemplate('Text templates')
-
-Or if you use files
-
-   index = GenshiMarkupTemplate(filename='thefilename.html')
-   index = GenshiMarkupTemplate(filename='thefilename.txt')
-
-
-Authors
--------
-
-- Lennart Regebro (regebro at gmail.com)
-- Guido Wesdorp

Copied: megrok.genshi/tags/0.9/README.txt (from rev 81797, megrok.genshi/trunk/README.txt)
===================================================================
--- megrok.genshi/tags/0.9/README.txt	                        (rev 0)
+++ megrok.genshi/tags/0.9/README.txt	2007-11-12 22:54:44 UTC (rev 81798)
@@ -0,0 +1,61 @@
+megrok.genshi
+=============
+
+megrok.genshi makes it possible to use Genshi templates in Grok. 
+
+For more information on Grok and Genshi see:
+
+- http://grok.zope.org/
+- http://genshi.edgewall.org/
+
+Requirements
+------------
+
+- Genshi.  Tested with v 0.4.4.
+- Grok v0.11 or later.  Tested with 0.11.
+
+Installation
+------------
+
+To use Genshi under Grok all you need is to add megrok.genshi as an egg in 
+your buildout.cfg.  Assuming you used grokproject to create your buildout,
+you should add it to the eggs list under the headings [app] and [test].
+
+You also need to add <include package="megrok.genshi" /> to your site.zcml,
+also under the [app] heading in your buildout.cfg.
+
+Then run bin/buildout again, and it should now fetch and install the eggs
+for both Genshi and megrok.genshi.
+
+Usage
+-----
+
+megrok.genshi supports the Grok standard of placing templates in a templates
+directory, for example app_templates, so you can use Genshi by simply placing
+the Genshi templates in the templates directory, just as you would with ZPT
+templates.  Although Genshi itself doesn't have a standard for the file
+extensions for Genshi templates, Grok needs to have an association between an
+extension and a type so it knows which type of template each template is.
+megrok.genshi defines the extension .g for Genshi HTML templates and .gt for
+Genshi Text templates.  Genshi can also include templates, and although you can
+use any extension for this we recommend you use .gi for any include templates,
+to avoid any clashes with other templating languages.
+
+You can also use Genshi templates inline.  The syntax for this is::
+
+   from megrok.genshi.components import GenshiMarkupTemplate, GenshiTextTemplate
+   index = GenshiMarkupTemplate('<html>the html code</html>')
+   index = GenshiMarkupTemplate('Text templates')
+
+Or if you use files::
+
+   from megrok.genshi.components import GenshiMarkupTemplate, GenshiTextTemplate
+   index = GenshiMarkupTemplate(filename='thefilename.html')
+   index = GenshiMarkupTemplate(filename='thefilename.txt')
+
+
+Authors
+-------
+
+- Lennart Regebro (regebro at gmail.com)
+- Guido Wesdorp



More information about the Checkins mailing list