In praise of templates
I see that out of sheer boredom, Mark has stumbled onto my code. My guess is that he appreciates the templates. rss.tmpl is very simple, and yet iterates over items and even calls out to escape. rdf.tmpl is not much more involved, even though it iterates twice over the items and makes use of strftime and my own dehtml function. The html.tmpl actually has an #if statement and multiple #includes. The txt.tmpl actually even has one real line of code in it (i.e., more than simple calls to predefined functions).