<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0">
  <channel>
    <title>Comments on snippet: 'Alternate Table Row Classes in a Mako Template'</title>
    <description>Snipplr comments feed</description>
    <link>https://snipplr.com/</link>
    <lastBuildDate>Tue, 14 Apr 2026 16:01:25 +0000</lastBuildDate>
    <item>
      <title>wackysalut said on 16/Feb/2008</title>
      <link>https://snipplr.com/view/3764/alternate-table-row-classes-in-a-mako-template</link>
      <description>&lt;p&gt;&lt;p&gt;% for i, elem in enumerate(elemts):
&lt;/p&gt;

&lt;p&gt;or&lt;/p&gt;

&lt;p&gt;&lt;/p&gt;

&lt;p&gt;or&lt;/p&gt;

&lt;p&gt;&lt;/p&gt;

&lt;p&gt;or&lt;/p&gt;

&lt;p&gt;&lt;/p&gt;

&lt;p&gt;% endfor&lt;/p&gt;
&lt;/p&gt;</description>
      <pubDate>Sat, 16 Feb 2008 13:29:45 UTC</pubDate>
      <guid>https://snipplr.com/view/3764/alternate-table-row-classes-in-a-mako-template</guid>
    </item>
    <item>
      <title>wackysalut said on 16/Feb/2008</title>
      <link>https://snipplr.com/view/3764/alternate-table-row-classes-in-a-mako-template</link>
      <description>&lt;p&gt;&lt;p&gt;hrrmm..  ${['odd','even'][i%2]}
or class="row${i%2}"
or class="${[3,5,7][i%3]}&lt;/p&gt;
&lt;/p&gt;</description>
      <pubDate>Sat, 16 Feb 2008 13:31:15 UTC</pubDate>
      <guid>https://snipplr.com/view/3764/alternate-table-row-classes-in-a-mako-template</guid>
    </item>
  </channel>
</rss>
