<?xml version="1.0"?>
<rss version="2.0">
  <channel>
    <title>PHPDeveloper.org</title>
    <link>http://www.phpdeveloper.org</link>
    <description>Up-to-the Minute PHP News, views and community</description>
    <language>en-us</language>
    <pubDate>Fri, 04 Jul 2008 15:21:42 -0500</pubDate>
    <ttl>30</ttl>
    <item>
      <title><![CDATA[Developer Tutorials Blog: Building Web 2.0 Tag Clouds in PHP]]></title>
      <guid>http://www.phpdeveloper.org/news/10100</guid>
      <link>http://www.phpdeveloper.org/news/10100</link>
      <description><![CDATA[<p>
The Developer Tutorials blog has posted <a href="http://www.developertutorials.com/blog/php/building-web-2-0-tag-clouds-in-php-165/">a tutorial</a> showing you how to set up a tag cloud for your site:
</p>
<blockquote>
Every major website seems to have a tag cloud. Users love tag clouds; they help navigate masses of content quickly and easily. [...] How do we actually build a tag cloud at application level? In this tutorial, I'll take you through putting together a full-blown, calculated web 2.0 tag cloud in PHP.
</blockquote>
<p>
They <a href="http://www.developertutorials.com/blog/php/building-web-2-0-tag-clouds-in-php-165/">start</a> at the end, with an example cloud with some sample tags ("php" being the largest, of course). The code for it is pretty simple - it looks at an array of counts, the number of times the tag is used, and builds the links with the correct font size automatically. 
</p>]]></description>
      <pubDate>Fri, 02 May 2008 13:15:27 -0500</pubDate>
    </item>
    <item>
      <title><![CDATA[Maggie Nelson's Blog: NTILE() - easy way to generate tag clouds]]></title>
      <guid>http://www.phpdeveloper.org/news/10067</guid>
      <link>http://www.phpdeveloper.org/news/10067</link>
      <description><![CDATA[<p>
For the Oracle users out there looking for an easy way to pull those tags together and make a handy little cloud out of them, <i>Maggie Nelson</i> has <a href="http://www.objectivelyoriented.com/2008/04/ntile_easy_way_to_generate_tag.html">posted about</a> a simple Oracle function that can help - NTILE.
</p>
<blockquote>
For example, check out the documentation for the NTILE Function. Yeah, sounds kind of boring. What good could it be in the wonderful world of web development? After all, who manages employee or sales tables anymore... Answer: generating tag clouds. 
</blockquote>
<p>
Her SQL statement categorizes the tags for you automatically, dropping them in to "buckets" of font sizes. This makes it simple to loop through them (like with a foreach) and output your tags with a little help from some CSS. You can even specify how many buckets you want it to fill (how many different tag values to get and compare).
</p>
]]></description>
      <pubDate>Tue, 29 Apr 2008 13:44:01 -0500</pubDate>
    </item>
  </channel>
</rss>
