<?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: Building a &#8220;Tag Cloud&#8221; in PHP</title>
	<atom:link href="http://blog.calevans.com/2005/12/06/building-a-tag-cloud-in-php/feed/" rel="self" type="application/rss+xml" />
	<link>http://blog.calevans.com/2005/12/06/building-a-tag-cloud-in-php/</link>
	<description>Lint I find in my mind&#039;s belly-button.</description>
	<lastBuildDate>Sun, 29 Aug 2010 06:47:03 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0.1</generator>
<atom:link rel="hub" href="http://pubsubhubbub.appspot.com" />
	<atom:link rel="hub" href="http://superfeedr.com/hubbub" />
		<item>
		<title>By: Cal Evans</title>
		<link>http://blog.calevans.com/2005/12/06/building-a-tag-cloud-in-php/comment-page-1/#comment-8</link>
		<dc:creator>Cal Evans</dc:creator>
		<pubDate>Wed, 07 Dec 2005 19:10:50 +0000</pubDate>
		<guid isPermaLink="false">http://blog.calevans.com/?p=39#comment-8</guid>
		<description>Jackson,

I&#039;ve fixed the problem G was griping about. I forgot to use &amp; lt ; and &amp; gt ; in my code so pieces of it were missing.  Made for a really ugly looking for condition. :)

I don&#039;t use FOREACH mainly out of habit. I do use it sometimes but in most cases I still use old-school FOR.

I thought of that but I wanted more than just the font-size changing. (bold, italics, etc.) One thing I would have loved to do (but I&#039;ve moved on to my next AJAX project) is the use both class and ID style sheets so I could have a tagcloud stylesheet class that gives the basics and an id 0-10 that would be the actual modifies.  It just seems cleaner to me.

Thanks for the suggestions though. I&#039;ve got to start using things like FOREACH and other PHP specific commands more often. Just been doing it too long. :)

=C=</description>
		<content:encoded><![CDATA[<p>Jackson,</p>
<p>I&#8217;ve fixed the problem G was griping about. I forgot to use &amp; lt ; and &amp; gt ; in my code so pieces of it were missing.  Made for a really ugly looking for condition. :)</p>
<p>I don&#8217;t use FOREACH mainly out of habit. I do use it sometimes but in most cases I still use old-school FOR.</p>
<p>I thought of that but I wanted more than just the font-size changing. (bold, italics, etc.) One thing I would have loved to do (but I&#8217;ve moved on to my next AJAX project) is the use both class and ID style sheets so I could have a tagcloud stylesheet class that gives the basics and an id 0-10 that would be the actual modifies.  It just seems cleaner to me.</p>
<p>Thanks for the suggestions though. I&#8217;ve got to start using things like FOREACH and other PHP specific commands more often. Just been doing it too long. :)</p>
<p>=C=</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: jaxn</title>
		<link>http://blog.calevans.com/2005/12/06/building-a-tag-cloud-in-php/comment-page-1/#comment-7</link>
		<dc:creator>jaxn</dc:creator>
		<pubDate>Wed, 07 Dec 2005 18:44:27 +0000</pubDate>
		<guid isPermaLink="false">http://blog.calevans.com/?p=39#comment-7</guid>
		<description>Just a thought, but you could set the font-size to a percentage with an inline style.  This would mean that you would have unlimited buckets and would not have to create styles.

That is how I have done it, using the $difference to make sure that fonts are between 100% and 300%.

As for the loop, why not use:
foreach ( $rsArray as $rs) {
}

That still works with objects as long as you implement the proper Array interface, and then gphat is left admiting that Perl is ugly ;)</description>
		<content:encoded><![CDATA[<p>Just a thought, but you could set the font-size to a percentage with an inline style.  This would mean that you would have unlimited buckets and would not have to create styles.</p>
<p>That is how I have done it, using the $difference to make sure that fonts are between 100% and 300%.</p>
<p>As for the loop, why not use:<br />
foreach ( $rsArray as $rs) {<br />
}</p>
<p>That still works with objects as long as you implement the proper Array interface, and then gphat is left admiting that Perl is ugly ;)</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Cal Evans</title>
		<link>http://blog.calevans.com/2005/12/06/building-a-tag-cloud-in-php/comment-page-1/#comment-6</link>
		<dc:creator>Cal Evans</dc:creator>
		<pubDate>Tue, 06 Dec 2005 22:48:08 +0000</pubDate>
		<guid isPermaLink="false">http://blog.calevans.com/?p=39#comment-6</guid>
		<description>Naw...the loop is fine, my ability to properly format  blog sucks.  :) 
/me waves hi @ G!</description>
		<content:encoded><![CDATA[<p>Naw&#8230;the loop is fine, my ability to properly format  blog sucks.  :)<br />
/me waves hi @ G!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: gphat</title>
		<link>http://blog.calevans.com/2005/12/06/building-a-tag-cloud-in-php/comment-page-1/#comment-5</link>
		<dc:creator>gphat</dc:creator>
		<pubDate>Tue, 06 Dec 2005 22:32:14 +0000</pubDate>
		<guid isPermaLink="false">http://blog.calevans.com/?p=39#comment-5</guid>
		<description>And I thought Perl could be ugly.  Blech!  That for loop is deplorable!</description>
		<content:encoded><![CDATA[<p>And I thought Perl could be ugly.  Blech!  That for loop is deplorable!</p>
]]></content:encoded>
	</item>
</channel>
</rss>
