资 源 简 介
Ehtml-py
Introduction
Ehtml(Extend HTML) help you build static web site(page) easy and quickly.
There are a php version of ehtml on sf.
and ehtml-py build on genshi(python).
System Requirements
apache2
python2.5+
genshi0.4.4+
Install
checkout the ehtml
svn checkout http://ehtml-py.googlecode.com/svn/trunk/ ehtml-py-read-only
to anywhere you like.
consider the directory as $ehtml-dir$.
change file $ehtml-dir$/ehtml/handler.py "s mode to 755.
chmod a+x $ehtml-dir$/ehtml/handler.py
open the apache"s config file,
add the following 3 lines:
AddHandler cgi-script .pyAction ehtml-render $ehtml-dir$/ehtml/handler.pyAddHandler ehtml-render .ehtml
to the Directory of your site.
if there already has a line like