Page creation

I just pushed Fabulator 0.0.12 and Radiant Fabulator Extension 0.0.9 to RubyGems. The first adds the template element to libraries. The latter adds a page and page-part action for creating pages in Radiant. This will eventually enable editing of existing pages, but for now it’s aimed at creating new ones. That’s the functionality we need, so that’s what we wrote.

You can use the page creation code by doing something like:

The t:blog-body and t:blog-summary functions are templates defined in a library:

Of course, this could be used to write programs that write programs. :-) We don’t have a way yet to execute programs from within other programs.