I am trying to implement this tag Cloud Feature for one of my project .
For example see this web site http://www.simb.net/tag/Blogging/ (On the Right side of this Page) On to The Tag Section , Font Size is differeing depending upon the Content of the Word Present .
Could anybody please let me know ,as how to implement such kind of Feature ??
1) Need access to all the content/blog posts
2) Order words in the number times they appear.
3) Pick up first 15-20 words/tags and create a link which will filter out all posts using that word
I have to say that I don't think that this would be particularly challenging, but it would be a good code exercise to do as it has some interesting parts.
1) Query the database to get the top x results with the most tags.
2) Output these tags with a link to your search page adding the tag as a search parameter.
3) Generate a size for each based on the number of results it has (more results has bigger) and probably with a min and max size.
4) Add the size as an inline style (which is what the do in that code).
Of course you can always look for an existing one and it will save you all the effort, but where is the fun in that