[Nitro] Nitro templating question

Dimitri Aivaliotis aglarond at gmail.com
Wed Apr 19 10:58:29 EDT 2006

Hi James,

On 1/7/06, James Britt <james_b at neurogami.com> wrote:

> I have  group of pages with the same header, footer, and so on, but the
> main body varies, and I'd like to just have a single "shell" template
> and plug in the guts that differ for each page.

This was one of my motivations for writing the Nitro Transformer. 
I've attached the file, for those that don't have 'darcs' or just
don't want to apply the patch.  Documentation is included.  Usage is
pretty basic: you define a template file, identify the XHTML elements
you would like to replace/expand, identify the source file/text, and
do the transformation.  All in the controller.  My current issues are
outlined in the patch submission under "[PATCH] Nitro Transformer".

Any feedback would be welcome.

- Dimitri
-------------- next part --------------
A non-text attachment was scrubbed...
Name: transformer.rb
Type: application/octet-stream
Size: 5116 bytes
Desc: not available
Url : http://rubyforge.org/pipermail/nitro-general/attachments/20060419/593bb6e8/attachment.obj 

More information about the Nitro-general mailing list