<?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: 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>
	<lastBuildDate>Mon, 22 Feb 2010 03:53:26 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9.1</generator>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
		<item>
		<title>By: blogger</title>
		<link>http://jivebay.com/2007/08/01/css-class-based-on-date/comment-page-1/#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&#039;t use SimplePie you just need to send the date in &#039;YmdHis&#039; format or convert it using PHP&#039;s date() function.

For instance you&#039;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;
&lt;?php
	echo &#039;&lt;li class=&quot;&#039; . create_age_css_class(&#039;20081003181300&#039;) . &#039;&quot;&gt;your comment title&lt;/li&gt;&#039;;
?&gt;
&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-page-1/#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&#039;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. <img src='http://jivebay.com/wp-includes/images/smilies/icon_surprised.gif' alt=':o' class='wp-smiley' /> )</p>
]]></content:encoded>
	</item>
</channel>
</rss>
