<?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"
	>
<channel>
	<title>Comments on: CSS Class Based on Date</title>
	<atom:link href="http://jivebay.com/2007/08/01/css-class-based-on-date/feed/" rel="self" type="application/rss+xml" />
	<link>http://jivebay.com/2007/08/01/css-class-based-on-date/</link>
	<description>Web Development, Code Snippets, Technology, Reviews and Random Stuff Blog.</description>
	<pubDate>Sun, 12 Oct 2008 02:01:45 +0000</pubDate>
	<generator>http://wordpress.org/?v=2.6.1</generator>
		<item>
		<title>By: blogger</title>
		<link>http://jivebay.com/2007/08/01/css-class-based-on-date/#comment-2890</link>
		<dc:creator>blogger</dc:creator>
		<pubDate>Tue, 07 Oct 2008 15:08:18 +0000</pubDate>
		<guid isPermaLink="false">http://jivebay.com/2007/08/01/css-class-based-on-date/#comment-2890</guid>
		<description>I added a screenshot and some sample CSS. If you use SimplePie you can just call it like I showed in the code above. But if you don't use SimplePie you just need to send the date in 'YmdHis' format or convert it using PHP's date() function.

For instance you're comment was posted on &lt;strong&gt;Oct 3, 2008 at 6:13 pm&lt;/strong&gt; so I would send this to the function (assuming the seconds value when you posted was zero).
&lt;code&gt;
&#60;?php
	echo &#039;&#60;li class=&#34;&#039; . create_age_css_class(&#039;20081003181300&#039;) . &#039;&#34;&#62;your comment title&#60;/li&#62;&#039;;
?&#62;
&lt;/code&gt;

You could use this for WordPress blog comments, forum posts or whatever.</description>
		<content:encoded><![CDATA[<p>I added a screenshot and some sample CSS. If you use SimplePie you can just call it like I showed in the code above. But if you don&#8217;t use SimplePie you just need to send the date in &#8216;YmdHis&#8217; format or convert it using PHP&#8217;s date() function.</p>
<p>For instance you&#8217;re comment was posted on <strong>Oct 3, 2008 at 6:13 pm</strong> so I would send this to the function (assuming the seconds value when you posted was zero).<br />
<code><br />
&lt;?php<br />
	echo &#039;&lt;li class=&quot;&#039; . create_age_css_class(&#039;20081003181300&#039;) . &#039;&quot;&gt;your comment title&lt;/li&gt;&#039;;<br />
?&gt;<br />
</code></p>
<p>You could use this for WordPress blog comments, forum posts or whatever.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Nadya</title>
		<link>http://jivebay.com/2007/08/01/css-class-based-on-date/#comment-2886</link>
		<dc:creator>Nadya</dc:creator>
		<pubDate>Sat, 04 Oct 2008 00:13:38 +0000</pubDate>
		<guid isPermaLink="false">http://jivebay.com/2007/08/01/css-class-based-on-date/#comment-2886</guid>
		<description>Is there a demo of this?  Also, where do I plug these bits of code?  I don't wanna mess things up. :o)</description>
		<content:encoded><![CDATA[<p>Is there a demo of this?  Also, where do I plug these bits of code?  I don&#8217;t wanna mess things up. :o)</p>
]]></content:encoded>
	</item>
</channel>
</rss>
