<?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: Alternating Comment Classes</title>
	<atom:link href="http://gfmorris.org/archives/2004/07/29/alternating-comment-classes/feed/" rel="self" type="application/rss+xml" />
	<link>http://gfmorris.org/archives/2004/07/29/alternating-comment-classes/</link>
	<description>Smart Guy, Dumb Code</description>
	<lastBuildDate>Sat, 17 Jul 2010 01:05:35 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0.1</generator>
	<item>
		<title>By: Comments with alternating background colors in WordPress at Alex Jones</title>
		<link>http://gfmorris.org/archives/2004/07/29/alternating-comment-classes/comment-page-1/#comment-23676</link>
		<dc:creator>Comments with alternating background colors in WordPress at Alex Jones</dc:creator>
		<pubDate>Thu, 10 May 2007 21:59:17 +0000</pubDate>
		<guid isPermaLink="false">http://gfmorris.org/archives/2004/07/29/alternating-comment-classes/#comment-23676</guid>
		<description>[...] with alternating background colors in WordPress Update: The URL is broken, but here is a page from about the same time that modifies the original hack. I have note tested this at [...]</description>
		<content:encoded><![CDATA[<p>[...] with alternating background colors in WordPress Update: The URL is broken, but here is a page from about the same time that modifies the original hack. I have note tested this at [...]</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: David House</title>
		<link>http://gfmorris.org/archives/2004/07/29/alternating-comment-classes/comment-page-1/#comment-16</link>
		<dc:creator>David House</dc:creator>
		<pubDate>Sat, 14 Aug 2004 20:15:40 +0000</pubDate>
		<guid isPermaLink="false">http://gfmorris.org/archives/2004/07/29/alternating-comment-classes/#comment-16</guid>
		<description>Easier: change the &lt;code&gt;foreach&lt;/code&gt; to read &lt;code&gt;foreach ($comments as $num =&gt; $comment)&lt;/code&gt; then the second line in red to &lt;code&gt;echo &#039;class=&quot;comment-&#039; . ($num%2 ? &#039;odd&#039; : &#039;even&#039;);&lt;/code&gt;</description>
		<content:encoded><![CDATA[<p>Easier: change the <code>foreach</code> to read <code>foreach ($comments as $num => $comment)</code> then the second line in red to <code>echo 'class="comment-' . ($num%2 ? 'odd' : 'even');</code></p>
]]></content:encoded>
	</item>
	<item>
		<title>By: The Indiana Jones School of Management</title>
		<link>http://gfmorris.org/archives/2004/07/29/alternating-comment-classes/comment-page-1/#comment-15</link>
		<dc:creator>The Indiana Jones School of Management</dc:creator>
		<pubDate>Thu, 12 Aug 2004 18:21:44 +0000</pubDate>
		<guid isPermaLink="false">http://gfmorris.org/archives/2004/07/29/alternating-comment-classes/#comment-15</guid>
		<description>&lt;strong&gt;Improving WP Search Capabilities&lt;/strong&gt;
Carthik&#039;s WordLog has a quite featureful entry today: Improving the Search Results Page.  I will be implementing some or all of those suggestions in the near future.  [When exactly?  Your guess is at least as good as mine.]

If you thought that I&#039;d...</description>
		<content:encoded><![CDATA[<p><strong>Improving WP Search Capabilities</strong><br />
Carthik&#8217;s WordLog has a quite featureful entry today: Improving the Search Results Page.  I will be implementing some or all of those suggestions in the near future.  [When exactly?  Your guess is at least as good as mine.]</p>
<p>If you thought that I&#8217;d&#8230;</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Ian Eure</title>
		<link>http://gfmorris.org/archives/2004/07/29/alternating-comment-classes/comment-page-1/#comment-14</link>
		<dc:creator>Ian Eure</dc:creator>
		<pubDate>Thu, 12 Aug 2004 17:56:07 +0000</pubDate>
		<guid isPermaLink="false">http://gfmorris.org/archives/2004/07/29/alternating-comment-classes/#comment-14</guid>
		<description>My &lt;a href=&quot;http://www.websprockets.com/index.php?p=30&quot;&gt;JavaScript&lt;/a&gt; version of this only gives you one class - &quot;alternate&quot; is the default - but you can still style the other rows. If you use a selector to get at the parent of the area you want striped, you can set a default, then define the style for the alternate class.</description>
		<content:encoded><![CDATA[<p>My <a href="http://www.websprockets.com/index.php?p=30">JavaScript</a> version of this only gives you one class &#8211; &#8220;alternate&#8221; is the default &#8211; but you can still style the other rows. If you use a selector to get at the parent of the area you want striped, you can set a default, then define the style for the alternate class.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Geof F. Morris</title>
		<link>http://gfmorris.org/archives/2004/07/29/alternating-comment-classes/comment-page-1/#comment-12</link>
		<dc:creator>Geof F. Morris</dc:creator>
		<pubDate>Tue, 03 Aug 2004 16:05:38 +0000</pubDate>
		<guid isPermaLink="false">http://gfmorris.org/archives/2004/07/29/alternating-comment-classes/#comment-12</guid>
		<description>Yes, Graham, there is.  I&#039;ll fix it.  One has to encode &lt; and &gt; to get them to work properly.</description>
		<content:encoded><![CDATA[<p>Yes, Graham, there is.  I&#8217;ll fix it.  One has to encode &lt; and &gt; to get them to work properly.</p>
]]></content:encoded>
	</item>
</channel>
</rss>
