B
Brian Wisti
Hi all,
I've released PageTemplate 1.1. Now with a new 'include' command, so
you can insert content from external files.
* http://rubyforge.org/projects/pagetemplate/
* http://coolnamehere.com/products/pagetemplate/
PageTemplate is a Ruby package which allows you to utilize text
templates for your Web projects. It is mainly intended for use in a
CGI environment, but has been designed to be useful in a broad range
of similar applications. It is inspired by, yet almost entirely
unlike, the HTML::Template package available for Perl. It has a few
features that I hope folks will find useful:
* Variable substitution
* "if/else" blocks - inserting chunks of content depending on the
existence of a flag variable
* "loop/no" blocks - repeatedly inserting a chunk of content,
using values from a list
* A simple default syntax
* Customizable markup syntax (awkward, but it's there)
* Cache template information to disk to speed up access (experimental!)
* New! The ability to include external files (Added in 1.1)
It also has a few features of its own (otherwise, where's the fun?).
* Customizable markup syntax to simplify integration with your own tools.
* Cache template information to disk to speed up access (experimental!)
I hope folks like it!
Kind Regards,
Brian Wisti
http://coolnamehere.com/
I've released PageTemplate 1.1. Now with a new 'include' command, so
you can insert content from external files.
* http://rubyforge.org/projects/pagetemplate/
* http://coolnamehere.com/products/pagetemplate/
PageTemplate is a Ruby package which allows you to utilize text
templates for your Web projects. It is mainly intended for use in a
CGI environment, but has been designed to be useful in a broad range
of similar applications. It is inspired by, yet almost entirely
unlike, the HTML::Template package available for Perl. It has a few
features that I hope folks will find useful:
* Variable substitution
* "if/else" blocks - inserting chunks of content depending on the
existence of a flag variable
* "loop/no" blocks - repeatedly inserting a chunk of content,
using values from a list
* A simple default syntax
* Customizable markup syntax (awkward, but it's there)
* Cache template information to disk to speed up access (experimental!)
* New! The ability to include external files (Added in 1.1)
It also has a few features of its own (otherwise, where's the fun?).
* Customizable markup syntax to simplify integration with your own tools.
* Cache template information to disk to speed up access (experimental!)
I hope folks like it!
Kind Regards,
Brian Wisti
http://coolnamehere.com/