Turns out: totally not worth the effort in this case. I’m working on an NPO site right now whose code concerns me more and more as I get into it. I’m new to the group and don’t have a whole lot of time to devote to the site, but one of my first tasks was to get the owner’s recent Tumblr posts to show on the homepage.
I started working up the story engine last night in Ruby. Greg suggested that XSLT would be perfect for it if I stored my stories as XML. Do a simple transformation, and voila, a story in XHTML with layout and everything. I was hoping I could knock it out in a single evening. Turns out Ruby and XSLT are two more separate critters than I thought — there’s no default library to handle it, and the three or so available are older and lack documentation. Better yet, the one easily available as a gem doesn’t use Ruby’s nice REXML, it uses LibXML. Combine all that with never having used XSLT…