When putting my BeipMU code directory up I left the dots in the vector graphics applet's page's references to .header.html and .footer.html wrong. That's been rather an annoyance, having to have those ..s in the right number, so instead I added an inherit function, like the include function, only it looks up the directory tree for the closest file of the requested name, to POT.py.
I'm fully aware I'm probably the only person using it, since it's yet another templater, but I still like that it's modeled after Radio's upstreaming: check if anything's been touched (except HTML files which are evaluated and compared by hash), and upload whatever's changed. So actually this inherit function is just what Radio does with its templates: use the closest one up the directory tree.
Comments
comment
I have been toying with idea of moving my site over to use POT.py but the only thing stopping me doing that is that I don’t have full control over the server and would have to run POT in a chron job say, every hour, to post the latest update. Right now updates to the site, via LiveJournal and my own mail-to-Livejournal script are instanteous so I am hesitating as to whether use the POT setup that I have made.
comment
Yeah, it’s mostly for publishing to the server from elsewhere (hence Publishing-Oriented Templater). There are probably better Python templaters for your situation.