Yay, I’ve released Yet Another Templating Language. This one is a perl implementation of TAL, which is a nice XML-based templating language I’ve been playing with recently. There are other (sort of) implementations, but I consider Template::TAL (a) closer to the spec, and (b) more abstracted – I can load templates from anywhere, not just disk. It’s weaker in other respects, of course, but that’s life..
Ah ha! I have a blogroll. Ph33r me.
In other news, Template::Plugin::XML::Simple is really nifty.
<p class="code"> [% USE blogroll = XML.Simple('/export/home/tomi/web/jerakeen.org/blogroll.opml') %] <p class=header>blogroll</p> <p> [% FOREACH section = blogroll.body.outline %] <a href="[% section.htmlUrl %]">[% section.text %]</a> [% UNLESS loop.last %]<br />[% END %] [% END %] </p>