Website wrangling scripts |
August 20th, 2010 |
ical, python, tech, webscripts |
I have a strange approach to website management. My website is all
static html, but some of it is generated by scripts that read other
static html pages. The scripts manage two separate aspects of the
website:
I have shell aliases that make sure the appropriate publishing command is always run after I make changes:
- The Planned Future table, manipulated by proc_schedule.py
- The news section, manipulated by makerss.py
I have shell aliases that make sure the appropriate publishing command is always run after I make changes:
~/.bashrc: ... alias ne="emacs -nw ~/public_html/news.html && python ~/bin/makerss.py" alias sv="python ~/bin/proc_schedule.py view" alias sa="python ~/bin/proc_schedule.py add && python ~/bin/proc_schedule.py ical" alias se="emacs -nw ~/public_html/index.html && python ~/bin/proc_schedule.py ical" ...
Comment via: facebook