Scripts for generating my personal web site
Python
Switch branches/tags
Nothing to show
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
lib
templates
tools
README
TODO
blog.py
constance.conf.sample
constance.py
homepage.py
htaccess
reading.py
sample.xsl
tags.py
viewutils.py

README

Dependencies
------------

python-2.6
genshi-0.6
pyyaml
lxml
mysql-python (for export_wp.py)

Initial config
--------------

1. cp constance.conf.sample ~/.constance.conf
2. Edit ~/.constance.conf -- ensure you update the root directory or your 
   working directory will be used!
3. mkdir ROOT/{blog,tags}
4. Edit your XSLT stylesheet
5. Copy or symlink htaccess to ROOT/.htaccess

Running constance
-----------------

1. Place entries in the `blog` subdirectory as YAML-formatted .txt files
2. Run python constance.py