<?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: Introducing ErlTL: A Simple Erlang Template Language</title>
	<atom:link href="http://yarivsblog.com/articles/2006/10/17/introducting-erltl-a-simple-erlang-template-language/feed/" rel="self" type="application/rss+xml" />
	<link>http://yarivsblog.com/articles/2006/10/17/introducting-erltl-a-simple-erlang-template-language/</link>
	<description>Adventures in Open Source Erlang</description>
	<lastBuildDate>Sun, 06 Dec 2009 10:29:08 -0500</lastBuildDate>
	<generator>http://wordpress.org/?v=2.8.4</generator>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
		<item>
		<title>By: Erlang Examples &#187; Record introspection at compile time</title>
		<link>http://yarivsblog.com/articles/2006/10/17/introducting-erltl-a-simple-erlang-template-language/comment-page-1/#comment-438537</link>
		<dc:creator>Erlang Examples &#187; Record introspection at compile time</dc:creator>
		<pubDate>Fri, 09 Oct 2009 02:27:30 +0000</pubDate>
		<guid isPermaLink="false">#comment-438537</guid>
		<description>[...] template language like ErlyDTL or ErlTL [...]</description>
		<content:encoded><![CDATA[<p>[...] template language like ErlyDTL or ErlTL [...]</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Alieniloquent: Blog</title>
		<link>http://yarivsblog.com/articles/2006/10/17/introducting-erltl-a-simple-erlang-template-language/comment-page-1/#comment-246427</link>
		<dc:creator>Alieniloquent: Blog</dc:creator>
		<pubDate>Mon, 08 Sep 2008 20:54:44 +0000</pubDate>
		<guid isPermaLink="false">#comment-246427</guid>
		<description>[...] the views. Not YAWS pages. This will involve creating my own template language. I don&#8217;t like ErlTL for this as it is too [...]</description>
		<content:encoded><![CDATA[<p>[...] the views. Not YAWS pages. This will involve creating my own template language. I don&#8217;t like ErlTL for this as it is too [...]</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Daniel Kwiecinski</title>
		<link>http://yarivsblog.com/articles/2006/10/17/introducting-erltl-a-simple-erlang-template-language/comment-page-1/#comment-16285</link>
		<dc:creator>Daniel Kwiecinski</dc:creator>
		<pubDate>Fri, 16 Mar 2007 16:25:41 +0000</pubDate>
		<guid isPermaLink="false">#comment-16285</guid>
		<description>If the *.et files contains top level expresions not in the first line (as in album.et) and are saved with Windows style line ending (CR+LF) instead of Unix one (LF), during the compilation I got the following error:

{error,{misplaced_top_exprs,{{line,2},
                             {chunk,&quot; {Title, Artist, Songs} = Data %&gt;\r&quot;},
                             {msg,&quot;top expressions must appear before all other expressions in a function&quot;}}}}

Cheers,
Daniel</description>
		<content:encoded><![CDATA[<p>If the *.et files contains top level expresions not in the first line (as in album.et) and are saved with Windows style line ending (CR+LF) instead of Unix one (LF), during the compilation I got the following error:</p>
<p>{error,{misplaced_top_exprs,{{line,2},<br />
                             {chunk,&#8221; {Title, Artist, Songs} = Data %&gt;\r&#8221;},<br />
                             {msg,&#8221;top expressions must appear before all other expressions in a function&#8221;}}}}</p>
<p>Cheers,<br />
Daniel</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Dru Nelson</title>
		<link>http://yarivsblog.com/articles/2006/10/17/introducting-erltl-a-simple-erlang-template-language/comment-page-1/#comment-4915</link>
		<dc:creator>Dru Nelson</dc:creator>
		<pubDate>Fri, 12 Jan 2007 08:31:29 +0000</pubDate>
		<guid isPermaLink="false">#comment-4915</guid>
		<description>just saw this on Reddit, I think this is a great tool for Erlang!</description>
		<content:encoded><![CDATA[<p>just saw this on Reddit, I think this is a great tool for Erlang!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: taide</title>
		<link>http://yarivsblog.com/articles/2006/10/17/introducting-erltl-a-simple-erlang-template-language/comment-page-1/#comment-415</link>
		<dc:creator>taide</dc:creator>
		<pubDate>Mon, 23 Oct 2006 18:23:45 +0000</pubDate>
		<guid isPermaLink="false">#comment-415</guid>
		<description>&lt;p&gt;Check this for inspiration, it&#8217;s very good: 
&lt;a href=&quot;http://www.kieranholland.com/code/documentation/nevow-stan/&quot; rel=&quot;nofollow&quot;&gt;http://www.kieranholland.com/code/documentation/nevow-stan/&lt;/a&gt;&lt;/p&gt;</description>
		<content:encoded><![CDATA[<p>Check this for inspiration, it&#8217;s very good:<br />
<a href="http://www.kieranholland.com/code/documentation/nevow-stan/" rel="nofollow">http://www.kieranholland.com/code/documentation/nevow-stan/</a></p>
]]></content:encoded>
	</item>
	<item>
		<title>By: taide</title>
		<link>http://yarivsblog.com/articles/2006/10/17/introducting-erltl-a-simple-erlang-template-language/comment-page-1/#comment-414</link>
		<dc:creator>taide</dc:creator>
		<pubDate>Mon, 23 Oct 2006 18:23:36 +0000</pubDate>
		<guid isPermaLink="false">#comment-414</guid>
		<description>&lt;p&gt;Check this for inspiration, it&#8217;s very good: 
&lt;a href=&quot;http://www.kieranholland.com/code/documentation/nevow-stan/&quot; rel=&quot;nofollow&quot;&gt;http://www.kieranholland.com/code/documentation/nevow-stan/&lt;/a&gt;&lt;/p&gt;</description>
		<content:encoded><![CDATA[<p>Check this for inspiration, it&#8217;s very good:<br />
<a href="http://www.kieranholland.com/code/documentation/nevow-stan/" rel="nofollow">http://www.kieranholland.com/code/documentation/nevow-stan/</a></p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Yariv</title>
		<link>http://yarivsblog.com/articles/2006/10/17/introducting-erltl-a-simple-erlang-template-language/comment-page-1/#comment-413</link>
		<dc:creator>Yariv</dc:creator>
		<pubDate>Wed, 18 Oct 2006 13:07:12 +0000</pubDate>
		<guid isPermaLink="false">#comment-413</guid>
		<description>&lt;p&gt;Hi Dmitirii, I &lt;em&gt;think&lt;/em&gt; ErlTL will work at least with UTF8 encoding, but I haven&#8217;t tried it myself. Would you like to give it a test drive and tell me what happens. If there are problems, I &lt;em&gt;may&lt;/em&gt; be able to find a solution to dealing with different encoding schemes.&lt;/p&gt;</description>
		<content:encoded><![CDATA[<p>Hi Dmitirii, I <em>think</em> ErlTL will work at least with UTF8 encoding, but I haven&#8217;t tried it myself. Would you like to give it a test drive and tell me what happens. If there are problems, I <em>may</em> be able to find a solution to dealing with different encoding schemes.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Dmitrii Dimandt aka Mamut</title>
		<link>http://yarivsblog.com/articles/2006/10/17/introducting-erltl-a-simple-erlang-template-language/comment-page-1/#comment-412</link>
		<dc:creator>Dmitrii Dimandt aka Mamut</dc:creator>
		<pubDate>Wed, 18 Oct 2006 01:31:05 +0000</pubDate>
		<guid isPermaLink="false">#comment-412</guid>
		<description>&lt;p&gt;What about non-ASCII :)&lt;/p&gt;

&lt;p&gt;Will ErlT be able to compile templates with, say, Unicode data in them?&lt;/p&gt;

&lt;p&gt;&lt;em&gt;The usual amount of drooling goes here :))&lt;/em&gt;&lt;/p&gt;</description>
		<content:encoded><![CDATA[<p>What about non-ASCII :)</p>
<p>Will ErlT be able to compile templates with, say, Unicode data in them?</p>
<p><em>The usual amount of drooling goes here :))</em></p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Yariv</title>
		<link>http://yarivsblog.com/articles/2006/10/17/introducting-erltl-a-simple-erlang-template-language/comment-page-1/#comment-410</link>
		<dc:creator>Yariv</dc:creator>
		<pubDate>Tue, 17 Oct 2006 17:42:19 +0000</pubDate>
		<guid isPermaLink="false">#comment-410</guid>
		<description>&lt;p&gt;(Another advantage to ErlTL is that with ErlTL, Yaws doesn&#8217;t have to  spend time expanding the ehtml structure.)&lt;/p&gt;</description>
		<content:encoded><![CDATA[<p>(Another advantage to ErlTL is that with ErlTL, Yaws doesn&#8217;t have to  spend time expanding the ehtml structure.)</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Yariv</title>
		<link>http://yarivsblog.com/articles/2006/10/17/introducting-erltl-a-simple-erlang-template-language/comment-page-1/#comment-409</link>
		<dc:creator>Yariv</dc:creator>
		<pubDate>Tue, 17 Oct 2006 17:36:52 +0000</pubDate>
		<guid isPermaLink="false">#comment-409</guid>
		<description>&lt;p&gt;I think the two approaches are complementary. When your content is largely programatically generated, it&#8217;s easier to work with functions. When you have a lot of static binary text and you want to embed some dynamic expressions inside it, it may be more readable to use a ErlTL template. I think in this example, a hybrid approach could work well:&lt;/p&gt;

&lt;pre&gt;&lt;code&gt;&amp;lt;html&amp;gt;&lt;br /&gt;&lt;br /&gt;
&amp;lt;title&amp;gt;&#46;..&amp;lt;/title&amp;gt;&lt;br /&gt;&lt;br /&gt;
&amp;lt;body&amp;gt;&#46;..&amp;lt;% table(Data) %&amp;gt;&amp;lt;/body&amp;gt;&lt;br /&gt;&lt;br /&gt;
&amp;lt;/html&amp;gt;&lt;/code&gt;&lt;/pre&gt;

&lt;p&gt;In the end, it&#8217;s about readability. In addition, ErlTL helps newbies use binaries by default in places where they may mistakenly use strings.&lt;/p&gt;</description>
		<content:encoded><![CDATA[<p>I think the two approaches are complementary. When your content is largely programatically generated, it&#8217;s easier to work with functions. When you have a lot of static binary text and you want to embed some dynamic expressions inside it, it may be more readable to use a ErlTL template. I think in this example, a hybrid approach could work well:</p>
<pre>&lt;code&gt;&amp;amp;lt;html&amp;amp;gt;&lt;br /&gt;
&amp;amp;lt;title&amp;amp;gt;&amp;#46;..&amp;amp;lt;/title&amp;amp;gt;&lt;br /&gt;
&amp;amp;lt;body&amp;amp;gt;&amp;#46;..&amp;amp;lt;% table(Data) %&amp;amp;gt;&amp;amp;lt;/body&amp;amp;gt;&lt;br /&gt;
&amp;amp;lt;/html&amp;amp;gt;&lt;/code&gt;</pre>
<p>In the end, it&#8217;s about readability. In addition, ErlTL helps newbies use binaries by default in places where they may mistakenly use strings.</p>
]]></content:encoded>
	</item>
</channel>
</rss>
