Automatic Tag Clouds for Your Site
January 30th, 2007
If you're new here, you may want to subscribe to my RSS feed. Thanks for visiting!
On modern websites (to avoid the use of that ‘2.something’ word) tag clouds are often a feature that is found. Now to follow in the modern spirit tag clouds should be used to let the users contribute content.
Of course, this can be a good thing or bad thing. How do you prevent users from just spamming the tag clouds with unrelated keywords just to draw attention to their content?
One way is to have the categorization of content defined by the site owners themselves. Of course that can remove some of the feeling of control that these modern websites give to users.
So what do you do?
There is a PHP class that will easily allow you to create automatic tag clouds for your site. This class, written by Ver Pangonilo from the Philippines, is a great resource for helping you still allow the users content determine the tag clouds for your site.
The PHP class analyzes the content text and will suggest keywords based on the frequency of one or multiple words. You provide the parameters you want to filter by:
- minimum word length
- minimum times the word appears
- minimum length and occurances of words for 2, and 3 word phrases
- minimum length and occurances of 2 and 3 word phrases


