<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	>
<channel>
	<title>Comments on: Templator - Ruby Template System</title>
	<atom:link href="http://numericalruby.com/2007/06/18/templator-ruby-template-system/feed/" rel="self" type="application/rss+xml" />
	<link>http://numericalruby.com/2007/06/18/templator-ruby-template-system/</link>
	<description>why should I be stuck with FORTRAN?</description>
	<pubDate>Tue, 18 Nov 2008 22:06:14 +0000</pubDate>
	<generator>http://wordpress.org/?v=MU</generator>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
		<item>
		<title>By: Jim</title>
		<link>http://numericalruby.com/2007/06/18/templator-ruby-template-system/#comment-231</link>
		<dc:creator>Jim</dc:creator>
		<pubDate>Sun, 30 Dec 2007 23:26:55 +0000</pubDate>
		<guid isPermaLink="false">http://numericalruby.com/2007/06/18/templator-ruby-template-system/#comment-231</guid>
		<description>You could have a look into Jack Herrington's (quite cool) article in Freshmeat,
http://freshmeat.net/articles/view/447/
Probably some ideas will pop up how to simplify your code.

I really appreciate you sharing the code. Currently wanting to deploy my own (grin:) templating system and hence every example comes handy.</description>
		<content:encoded><![CDATA[<p>You could have a look into Jack Herrington&#8217;s (quite cool) article in Freshmeat,<br />
<a href="http://freshmeat.net/articles/view/447/" rel="nofollow">http://freshmeat.net/articles/view/447/</a><br />
Probably some ideas will pop up how to simplify your code.</p>
<p>I really appreciate you sharing the code. Currently wanting to deploy my own (grin:) templating system and hence every example comes handy.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Chris</title>
		<link>http://numericalruby.com/2007/06/18/templator-ruby-template-system/#comment-197</link>
		<dc:creator>Chris</dc:creator>
		<pubDate>Wed, 21 Nov 2007 16:00:29 +0000</pubDate>
		<guid isPermaLink="false">http://numericalruby.com/2007/06/18/templator-ruby-template-system/#comment-197</guid>
		<description>I did something similar to this to generate input files for a FORTRAN program I was using.  I used 'erb' though, it's the template system used by default in rails : 

require 'erb'
template = File.open( "./input_template.dat" ) { &#124;file&#124; ERB.new( file.read ) }
@title = "test'
@velocity = 0.5
File.open("./output.dat", "w") {&#124;file&#124; file &#60;&#60; template.result}</description>
		<content:encoded><![CDATA[<p>I did something similar to this to generate input files for a FORTRAN program I was using.  I used &#8216;erb&#8217; though, it&#8217;s the template system used by default in rails : </p>
<p>require &#8216;erb&#8217;<br />
template = File.open( &#8220;./input_template.dat&#8221; ) { |file| ERB.new( file.read ) }<br />
@title = &#8220;test&#8217;<br />
@velocity = 0.5<br />
File.open(&#8221;./output.dat&#8221;, &#8220;w&#8221;) {|file| file &lt;&lt; template.result}</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: YAML for serialization &#171; Numerical Ruby</title>
		<link>http://numericalruby.com/2007/06/18/templator-ruby-template-system/#comment-12</link>
		<dc:creator>YAML for serialization &#171; Numerical Ruby</dc:creator>
		<pubDate>Wed, 20 Jun 2007 20:44:51 +0000</pubDate>
		<guid isPermaLink="false">http://numericalruby.com/2007/06/18/templator-ruby-template-system/#comment-12</guid>
		<description>[...] the text in an editor and tweak things this way. I can also markup the text and run it through a template engine and generate a whole bunch of files. This was part of the magic behind my rake example, where I [...]</description>
		<content:encoded><![CDATA[<p>[...] the text in an editor and tweak things this way. I can also markup the text and run it through a template engine and generate a whole bunch of files. This was part of the magic behind my rake example, where I [...]</p>
]]></content:encoded>
	</item>
</channel>
</rss>
