<?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: Simple PHP Pluralize</title>
	<atom:link href="http://www.nerdydork.com/simple-php-pluralize.html/feed" rel="self" type="application/rss+xml" />
	<link>http://www.nerdydork.com/simple-php-pluralize.html</link>
	<description>Dustin Davis reviews... the internet.</description>
	<lastBuildDate>Thu, 11 Mar 2010 02:42:28 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9.2</generator>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
		<item>
		<title>By: Michael Hodgins</title>
		<link>http://www.nerdydork.com/simple-php-pluralize.html/comment-page-1#comment-6218</link>
		<dc:creator>Michael Hodgins</dc:creator>
		<pubDate>Fri, 20 Nov 2009 14:10:13 +0000</pubDate>
		<guid isPermaLink="false">http://www.nerdydork.com/simple-php-pluralize.html#comment-6218</guid>
		<description>Ooops, the server filtered my php tags. Fair enough I suppose.</description>
		<content:encoded><![CDATA[<p>Ooops, the server filtered my php tags. Fair enough I suppose.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Michael Hodgins</title>
		<link>http://www.nerdydork.com/simple-php-pluralize.html/comment-page-1#comment-6217</link>
		<dc:creator>Michael Hodgins</dc:creator>
		<pubDate>Fri, 20 Nov 2009 14:07:24 +0000</pubDate>
		<guid isPermaLink="false">http://www.nerdydork.com/simple-php-pluralize.html#comment-6217</guid>
		<description>Hi. I didn&#039;t use this script but it provided inspiration, so I thought I&#039;d post a few pointers of my own. Don&#039;t take these as criticisms.

First, php short tags aren&#039;t a good idea (I think they&#039;re deprecated in PHP6) as they make the code harder to move from server to server; you should use &#039;&#039; and &#039; instead.

Also, the two statements &#039;if ($num == 1) return $single; else return $plural; &#039; can be tidied up by using the ternary operator: &#039;return $num == 1 ? $single : $plural;&#039;. Much nicer than that semi-colon in the middle of the line.</description>
		<content:encoded><![CDATA[<p>Hi. I didn&#8217;t use this script but it provided inspiration, so I thought I&#8217;d post a few pointers of my own. Don&#8217;t take these as criticisms.</p>
<p>First, php short tags aren&#8217;t a good idea (I think they&#8217;re deprecated in PHP6) as they make the code harder to move from server to server; you should use &#8221; and &#8216; instead.</p>
<p>Also, the two statements &#8216;if ($num == 1) return $single; else return $plural; &#8216; can be tidied up by using the ternary operator: &#8216;return $num == 1 ? $single : $plural;&#8217;. Much nicer than that semi-colon in the middle of the line.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Colon Cleansing</title>
		<link>http://www.nerdydork.com/simple-php-pluralize.html/comment-page-1#comment-6068</link>
		<dc:creator>Colon Cleansing</dc:creator>
		<pubDate>Mon, 26 Oct 2009 11:33:06 +0000</pubDate>
		<guid isPermaLink="false">http://www.nerdydork.com/simple-php-pluralize.html#comment-6068</guid>
		<description>Any benefit is lost as soon as one requires to support localizable web sites and guess you don’t need to leave the States for this …</description>
		<content:encoded><![CDATA[<p>Any benefit is lost as soon as one requires to support localizable web sites and guess you don’t need to leave the States for this …</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Emma Millward</title>
		<link>http://www.nerdydork.com/simple-php-pluralize.html/comment-page-1#comment-5832</link>
		<dc:creator>Emma Millward</dc:creator>
		<pubDate>Sun, 20 Sep 2009 21:32:38 +0000</pubDate>
		<guid isPermaLink="false">http://www.nerdydork.com/simple-php-pluralize.html#comment-5832</guid>
		<description>Dustin - I just wanted to post you a big thank you for providing such useful code I was hoping to PHP Pluralize functions but found some code very complex, I was looking a Paul&#039;s Osman&#039;s website (based on your post) in regards to the Rails implementation - thankfully with with both yours and Paul&#039;s suggestion contribution was able to get the code working.

Many thanks again, Emma</description>
		<content:encoded><![CDATA[<p>Dustin &#8211; I just wanted to post you a big thank you for providing such useful code I was hoping to PHP Pluralize functions but found some code very complex, I was looking a Paul&#8217;s Osman&#8217;s website (based on your post) in regards to the Rails implementation &#8211; thankfully with with both yours and Paul&#8217;s suggestion contribution was able to get the code working.</p>
<p>Many thanks again, Emma</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Susan</title>
		<link>http://www.nerdydork.com/simple-php-pluralize.html/comment-page-1#comment-5181</link>
		<dc:creator>Susan</dc:creator>
		<pubDate>Fri, 12 Jun 2009 22:38:15 +0000</pubDate>
		<guid isPermaLink="false">http://www.nerdydork.com/simple-php-pluralize.html#comment-5181</guid>
		<description>Brilliant.  Sometimes keeping it simple is the best.  I&#039;m getting tired of bloated code.</description>
		<content:encoded><![CDATA[<p>Brilliant.  Sometimes keeping it simple is the best.  I&#8217;m getting tired of bloated code.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Bill@PHP code snippets forum</title>
		<link>http://www.nerdydork.com/simple-php-pluralize.html/comment-page-1#comment-5135</link>
		<dc:creator>Bill@PHP code snippets forum</dc:creator>
		<pubDate>Fri, 05 Jun 2009 17:55:20 +0000</pubDate>
		<guid isPermaLink="false">http://www.nerdydork.com/simple-php-pluralize.html#comment-5135</guid>
		<description>Beautifully simple, Davis. I&#039;ve tended to formulate my output so as to not make it as big a deal if I have the plural version or not (&quot;Current users: X&quot; etc), but I might rip you off now. :)</description>
		<content:encoded><![CDATA[<p>Beautifully simple, Davis. I&#8217;ve tended to formulate my output so as to not make it as big a deal if I have the plural version or not (&#8220;Current users: X&#8221; etc), but I might rip you off now. <img src='http://www.nerdydork.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Shaz@Photoshop Tutorials</title>
		<link>http://www.nerdydork.com/simple-php-pluralize.html/comment-page-1#comment-5067</link>
		<dc:creator>Shaz@Photoshop Tutorials</dc:creator>
		<pubDate>Thu, 28 May 2009 12:53:13 +0000</pubDate>
		<guid isPermaLink="false">http://www.nerdydork.com/simple-php-pluralize.html#comment-5067</guid>
		<description>Im glad im more of a front end developer using actionscript 3 with flex i dont usually end up getting involved with these backend tiffs betweent the rails and the hp&#039;s. Nice coding and yes really nerdy so you have my vote :)</description>
		<content:encoded><![CDATA[<p>Im glad im more of a front end developer using actionscript 3 with flex i dont usually end up getting involved with these backend tiffs betweent the rails and the hp&#8217;s. Nice coding and yes really nerdy so you have my vote <img src='http://www.nerdydork.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Dustin</title>
		<link>http://www.nerdydork.com/simple-php-pluralize.html/comment-page-1#comment-4918</link>
		<dc:creator>Dustin</dc:creator>
		<pubDate>Tue, 05 May 2009 22:49:58 +0000</pubDate>
		<guid isPermaLink="false">http://www.nerdydork.com/simple-php-pluralize.html#comment-4918</guid>
		<description>I&#039;ve heard of internationalization... do I care? NO. I figured this was an arrogant Rails developer comment just from the tone. Precisely why I opted to learn Django instead. I can&#039;t stand arrogant Rails mentality - too much like the arrogant Mac mentality.

I don&#039;t know how you can say a one liner function is quite &quot;large&quot;. Have you seen Rails&#039; pluralize function?</description>
		<content:encoded><![CDATA[<p>I&#8217;ve heard of internationalization&#8230; do I care? NO. I figured this was an arrogant Rails developer comment just from the tone. Precisely why I opted to learn Django instead. I can&#8217;t stand arrogant Rails mentality &#8211; too much like the arrogant Mac mentality.</p>
<p>I don&#8217;t know how you can say a one liner function is quite &#8220;large&#8221;. Have you seen Rails&#8217; pluralize function?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Anonymous</title>
		<link>http://www.nerdydork.com/simple-php-pluralize.html/comment-page-1#comment-4917</link>
		<dc:creator>Anonymous</dc:creator>
		<pubDate>Tue, 05 May 2009 22:42:48 +0000</pubDate>
		<guid isPermaLink="false">http://www.nerdydork.com/simple-php-pluralize.html#comment-4917</guid>
		<description>Obviously none of you (poster and commenters) heard of internationalization before, do you? This method is still quite &quot;large&quot; (return ($num==1)?$single:$plural;). Any benefit is lost as soon as one requires to support localizable web sites and guess you don&#039;t need to leave the States for this ... I&#039;d appreciate to see a pluralizer as used in Rails instead.</description>
		<content:encoded><![CDATA[<p>Obviously none of you (poster and commenters) heard of internationalization before, do you? This method is still quite &#8220;large&#8221; (return ($num==1)?$single:$plural;). Any benefit is lost as soon as one requires to support localizable web sites and guess you don&#8217;t need to leave the States for this &#8230; I&#8217;d appreciate to see a pluralizer as used in Rails instead.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Jye@Web and graphic design services</title>
		<link>http://www.nerdydork.com/simple-php-pluralize.html/comment-page-1#comment-4913</link>
		<dc:creator>Jye@Web and graphic design services</dc:creator>
		<pubDate>Tue, 05 May 2009 12:43:25 +0000</pubDate>
		<guid isPermaLink="false">http://www.nerdydork.com/simple-php-pluralize.html#comment-4913</guid>
		<description>I use the same, similar, function to complete a task like this.</description>
		<content:encoded><![CDATA[<p>I use the same, similar, function to complete a task like this.</p>
]]></content:encoded>
	</item>
</channel>
</rss>
