<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<rss version="2.0">
  <channel>
  <title>ErlyDTL Users Google Group</title>
  <link>http://groups.google.com/group/erlydtl-users</link>
  <description>General discussion for ErlyDTL, the Erlang implementation of the Django Template Language</description>
  <language>en</language>
  <item>
  <title>trans a variable</title>
  <link>http://groups.google.com/group/erlydtl-users/browse_thread/thread/bf07bd98157c096c/fda8cff13a604855?show_docid=fda8cff13a604855</link>
  <description>
  Hi, &lt;br&gt; &lt;p&gt;Thank you for the great code and I have some questions when using erlydtl. &lt;br&gt; I use the latest code on github. &lt;br&gt; &lt;p&gt;1) to trans a variable, I tried many ways but only the second works: &lt;br&gt; &lt;p&gt;code: &lt;br&gt; &lt;p&gt;when edit = Edit &lt;br&gt; &lt;p&gt;&amp;lt;br&amp;gt; 1 {{ edit }} &lt;br&gt; &amp;lt;br&amp;gt; 2 {% trans &amp;quot;Edit&amp;quot; %} &lt;br&gt; &amp;lt;br&amp;gt; 3 {% trans edit %} &lt;br&gt; &amp;lt;br&amp;gt; 4 {{ _( edit ) }}
  </description>
  <guid isPermaLink="true">http://groups.google.com/group/erlydtl-users/browse_thread/thread/bf07bd98157c096c</guid>
  <author>
  dujinf...@gmail.com
  (Seven Du)
  </author>
  <pubDate>Sun, 23 Sep 2012 02:41:01 UT
</pubDate>
  </item>
  <item>
  <title>Atoms with dots</title>
  <link>http://groups.google.com/group/erlydtl-users/browse_thread/thread/13805e6a4a5ebf6a/64f2d57379438f70?show_docid=64f2d57379438f70</link>
  <description>
  Hello, &lt;br&gt; at first i would like to thank you very much for a great piece of code! &lt;br&gt; I have some minor problem: I have atoms with dots in them (e.g. &lt;br&gt; &#39;atom.with.dots&#39;). I don&#39;t know how to place them in the &lt;br&gt; templates. Do I have to replace the dots (atom_with_dots) or is there any &lt;br&gt; way to use them like &lt;br&gt; {% for asset in assets %}
  </description>
  <guid isPermaLink="true">http://groups.google.com/group/erlydtl-users/browse_thread/thread/13805e6a4a5ebf6a</guid>
  <author>
  m.pry...@gmail.com
  (scolopes)
  </author>
  <pubDate>Sun, 24 Jun 2012 17:30:24 UT
</pubDate>
  </item>
  <item>
  <title>Implementation details</title>
  <link>http://groups.google.com/group/erlydtl-users/browse_thread/thread/b2e7163b8c7c4cb5/f71e10f2d1dcb9b8?show_docid=f71e10f2d1dcb9b8</link>
  <description>
  Greetings, gentlemen. &lt;br&gt; I have a couple of questions — &lt;br&gt; 1. is it possible to use unnamed arguments in custom tags? If &#39;yes&#39; then &lt;br&gt; how? &lt;br&gt; I have on the dtl side of things index_2.dtl template containing &lt;br&gt; On the application side of things I try to make the following call &lt;br&gt; &amp;quot;./site/ebin/&amp;quot;}, {custom_tags_modules, [saloon_lang]} %not doing it with
  </description>
  <guid isPermaLink="true">http://groups.google.com/group/erlydtl-users/browse_thread/thread/b2e7163b8c7c4cb5</guid>
  <author>
  dva.traktori...@gmail.com
  (Jonns Mostovoys)
  </author>
  <pubDate>Tue, 19 Jun 2012 06:17:44 UT
</pubDate>
  </item>
  <item>
  <title>with first contruct doesn&#39;t compile</title>
  <link>http://groups.google.com/group/erlydtl-users/browse_thread/thread/f20921935315d824/8ad568d664c7a0e7?show_docid=8ad568d664c7a0e7</link>
  <description>
  The following template: &lt;br&gt; {% with restaurant.restaurant_images|f irst as img %} &lt;br&gt; &amp;lt;img src=&amp;quot;/restaurant_image/{{ img.filekey }}/200x200&amp;quot; title=&amp;quot;{{ &lt;br&gt; img.caption }}&amp;quot; /&amp;gt; &lt;br&gt; {% endwith %} &lt;br&gt; failes with: &lt;br&gt; ERROR: Compiling template templates/test.dtl failed: &lt;br&gt; {error,{&amp;quot;templates/test.dtl&amp;quot;, &lt;br&gt; [{{1,19},erlydtl_parser,[&amp;quot;synt ax error before: &amp;quot;,&amp;quot;&#39;.&#39;&amp;quot;]}]}}
  </description>
  <guid isPermaLink="true">http://groups.google.com/group/erlydtl-users/browse_thread/thread/f20921935315d824</guid>
  <author>
  wardbek...@gmail.com
  (Ward (TTY))
  </author>
  <pubDate>Wed, 11 Apr 2012 18:56:03 UT
</pubDate>
  </item>
  <item>
  <title>Master/application layouts with Erlydtl</title>
  <link>http://groups.google.com/group/erlydtl-users/browse_thread/thread/582a5c913bf53080/9b367cf0194b24bc?show_docid=9b367cf0194b24bc</link>
  <description>
  Hi Guys, &lt;br&gt; &lt;p&gt;What&#39;s a nice way to do master/application layouts with Erlydtl? With &lt;br&gt; master/application layout I mean separating the main page layout &lt;br&gt; template from template with the pagecontent, but rendering them as &lt;br&gt; one. Think Ruby on Rails application layouts or ASP.NET Master Pages. &lt;br&gt; &lt;p&gt;Thx, &lt;br&gt; &lt;p&gt;Ward
  </description>
  <guid isPermaLink="true">http://groups.google.com/group/erlydtl-users/browse_thread/thread/582a5c913bf53080</guid>
  <author>
  wardbek...@gmail.com
  (Ward (TTY))
  </author>
  <pubDate>Wed, 04 Apr 2012 07:17:35 UT
</pubDate>
  </item>
  <item>
  <title>erlydtl example taken from the upcoming book:&quot;Building Web Applications with Erlang&quot;</title>
  <link>http://groups.google.com/group/erlydtl-users/browse_thread/thread/06513db836785bec/e18c39a4a8989a1f?show_docid=e18c39a4a8989a1f</link>
  <description>
  * &lt;br&gt; * &lt;br&gt; Hi, I setup yaws and erltdtl as follows &lt;br&gt; &lt;p&gt;(foo@plun0142)1&amp;gt; code:add_path(&amp;quot;/home/u1c332/te st/templates/erlydtl/ebin&amp;quot;). &lt;br&gt; true &lt;br&gt; (foo@plun0142)3&amp;gt; code:add_path(&amp;quot;/home/u1c332/er lydtl-0.7.0/ebin&amp;quot;). &lt;br&gt; true &lt;br&gt; (foo@plun0142)4&amp;gt; l(erlydtl). &lt;br&gt; {module,erlydtl} &lt;br&gt; (foo@plun0142)5&amp;gt; cd(&amp;quot;templates&amp;quot;). &lt;br&gt; /home/u1c332 &lt;br&gt; ok &lt;br&gt; (foo@plun0142)6&amp;gt; cd(&amp;quot;/home/u1c332/test/template s&amp;quot;).
  </description>
  <guid isPermaLink="true">http://groups.google.com/group/erlydtl-users/browse_thread/thread/06513db836785bec</guid>
  <author>
  amchen...@gmail.com
  (amchenini)
  </author>
  <pubDate>Fri, 30 Mar 2012 14:03:40 UT
</pubDate>
  </item>
  <item>
  <title>iterate records</title>
  <link>http://groups.google.com/group/erlydtl-users/browse_thread/thread/990c5d31b8968057/0eecd623978faa87?show_docid=0eecd623978faa87</link>
  <description>
  Hi &lt;br&gt; &lt;p&gt;I want to iterate over a list of records with a for loop. &lt;br&gt; A nice feature could be to use exprecs to create a callback module for &lt;br&gt; a record. &lt;br&gt; &lt;a target=&quot;_blank&quot; rel=nofollow href=&quot;https://github.com/esl/parse_trans/blob/master/doc/exprecs.md&quot;&gt;[link]&lt;/a&gt; &lt;br&gt; erlydtl will get the record name from the first element of the tuple &lt;br&gt; and use a module with the same name to get attributes.
  </description>
  <guid isPermaLink="true">http://groups.google.com/group/erlydtl-users/browse_thread/thread/990c5d31b8968057</guid>
  <author>
  pablo.pl...@gmail.com
  (pablo)
  </author>
  <pubDate>Mon, 04 Jul 2011 11:50:22 UT
</pubDate>
  </item>
  <item>
  <title>Dynamic includes</title>
  <link>http://groups.google.com/group/erlydtl-users/browse_thread/thread/7ef081c6655043ae/22ca830db3ece4f3?show_docid=22ca830db3ece4f3</link>
  <description>
  Hello &lt;br&gt; &lt;p&gt;Should this work? &lt;br&gt; &lt;p&gt;{% with foo=&amp;quot;test.html&amp;quot; %} &lt;br&gt; {% include foo %} &lt;br&gt; {% endwith %} &lt;br&gt; &lt;p&gt;I&#39;m getting the following error: &lt;br&gt; &lt;p&gt;erlydtl:compile(&amp;quot;foo.html&amp;quot;, foo_template). &lt;br&gt; {error,{&amp;quot;foo.html&amp;quot;, &lt;br&gt; [{{2,12}, &lt;br&gt; erlydtl_parser, &lt;br&gt; [&amp;quot;syntax error before: &amp;quot;,[&amp;quot;foo&amp;quot;]]}]}} &lt;br&gt; &lt;p&gt;Thanks in advance
  </description>
  <guid isPermaLink="true">http://groups.google.com/group/erlydtl-users/browse_thread/thread/7ef081c6655043ae</guid>
  <author>
  andre...@gmail.com
  (Andre Nathan)
  </author>
  <pubDate>Mon, 02 May 2011 17:19:15 UT
</pubDate>
  </item>
  <item>
  <title>Custom filters</title>
  <link>http://groups.google.com/group/erlydtl-users/browse_thread/thread/102cce280c5cb17a/5f21e2425a1eae71?show_docid=5f21e2425a1eae71</link>
  <description>
  Hello &lt;br&gt; &lt;p&gt;I&#39;m using ErlyDTL on ChicagoBoss here. &lt;br&gt; &lt;p&gt;Is there a way to specify a module of custom filters to ErlyDTL? The &lt;br&gt; idea would be to specify useful filters that are not recognized by &lt;br&gt; Django without having to recompile ErlyDTL. &lt;br&gt; &lt;p&gt;Maybe ErlyDTL could ship with some of those too. For example, the ones
  </description>
  <guid isPermaLink="true">http://groups.google.com/group/erlydtl-users/browse_thread/thread/102cce280c5cb17a</guid>
  <author>
  andre...@gmail.com
  (Andre Nathan)
  </author>
  <pubDate>Fri, 15 Apr 2011 14:05:46 UT
</pubDate>
  </item>
  <item>
  <title>ErlyDTL 0.7.0 is available</title>
  <link>http://groups.google.com/group/erlydtl-users/browse_thread/thread/2aa676b90bd8a172/655e469e52816977?show_docid=655e469e52816977</link>
  <description>
  ErlyDTL 0.7.0 implements 100% of Django filters and several new tags. &lt;br&gt; &lt;p&gt;Download: &lt;a target=&quot;_blank&quot; rel=nofollow href=&quot;http://code.google.com/p/erlydtl/downloads/list&quot;&gt;[link]&lt;/a&gt; &lt;br&gt; &lt;p&gt;Changes: &lt;br&gt; &lt;p&gt;* Feature: Boolean operators in &amp;quot;if&amp;quot; tags. &lt;br&gt; * Feature: {% empty %} block in for loops &lt;br&gt; * Feature: translation funs support run-time translation &lt;br&gt; * Feature: &amp;quot;only&amp;quot; and &amp;quot;with&amp;quot; keywords in &amp;quot;include&amp;quot; tag
  </description>
  <guid isPermaLink="true">http://groups.google.com/group/erlydtl-users/browse_thread/thread/2aa676b90bd8a172</guid>
  <author>
  emmil...@gmail.com
  (Evan Miller)
  </author>
  <pubDate>Mon, 21 Mar 2011 17:36:45 UT
</pubDate>
  </item>
  <item>
  <title>i18n and filters</title>
  <link>http://groups.google.com/group/erlydtl-users/browse_thread/thread/2082596d9bb94ea8/3b7a4803e4f93d28?show_docid=3b7a4803e4f93d28</link>
  <description>
  Hi, &lt;br&gt; &lt;p&gt;It seems that erlydtl translation parser can&#39;t take templates that &lt;br&gt; contains filters. For example, if try to use capfirst in one of the &lt;br&gt; strings of the unit tests I get this: &lt;br&gt; &lt;p&gt;{&amp;quot;init terminating in do_boot&amp;quot;,{function_clause, &lt;br&gt; [{sources_parser,process_ast,[ &amp;quot;dummy_path&amp;quot;,capfirst,[{&amp;quot;Hello &amp;quot;, &lt;br&gt; {&amp;quot;dummy_path&amp;quot;,1,33}}]]},{sourc es_parser,process_ast,3},
  </description>
  <guid isPermaLink="true">http://groups.google.com/group/erlydtl-users/browse_thread/thread/2082596d9bb94ea8</guid>
  <author>
  a...@smeuh.org
  (Alex Marandon)
  </author>
  <pubDate>Sun, 16 Jan 2011 10:08:28 UT
</pubDate>
  </item>
  <item>
  <title>ErlyDTL 0.6.0 is available</title>
  <link>http://groups.google.com/group/erlydtl-users/browse_thread/thread/2fcd9ee1dea49970/7d229c180c736575?show_docid=7d229c180c736575</link>
  <description>
  ErlyDTL 0.6.0 includes several new features, including: &lt;br&gt; &lt;p&gt;* &amp;quot;trans&amp;quot; tag, which provides I18n support in conjunction with &lt;br&gt; erlang_gettext. See the new README_I18N for how to get started. &lt;br&gt; Several helper scripts are provided. Thanks to David Garcia for this &lt;br&gt; excellent new feature. &lt;br&gt; &lt;p&gt;* Django&#39;s new &amp;quot;if ... in ...&amp;quot; syntax, which tests a string for a
  </description>
  <guid isPermaLink="true">http://groups.google.com/group/erlydtl-users/browse_thread/thread/2fcd9ee1dea49970</guid>
  <author>
  emmil...@gmail.com
  (Evan Miller)
  </author>
  <pubDate>Wed, 28 Apr 2010 15:55:20 UT
</pubDate>
  </item>
  <item>
  <title>Welcome to the new list</title>
  <link>http://groups.google.com/group/erlydtl-users/browse_thread/thread/cc4607b65103d27c/5336eb1db34977c8?show_docid=5336eb1db34977c8</link>
  <description>
  The old erlydtl list got filled with spam and shut down. We&#39;ll try &lt;br&gt; moderating messages on this one. This list is open for discussion by &lt;br&gt; developers, users, and general fans of ErlyDTL.
  </description>
  <guid isPermaLink="true">http://groups.google.com/group/erlydtl-users/browse_thread/thread/cc4607b65103d27c</guid>
  <author>
  emmil...@gmail.com
  (Evan Miller)
  </author>
  <pubDate>Wed, 28 Apr 2010 15:06:02 UT
</pubDate>
  </item>
  </channel>
</rss>
