Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Tag cloud - how?

Status
Not open for further replies.

damipera

Technical User
Dec 1, 2005
134
GB
Hi guys!

I want to ask about tag cloud. What I want to do is to create a tag cloud based on what the users had typed in the search box. The most popular search words. How do I go about doing it?

I want that to look something like this:

Thanks for any info.
 
you need to know the terms and how often they are used.
the crudest way would be to have a table of tags and counts query this table and set the css depending on ranges
foreach tag :
if(count > 100)
H1
elseif(count > 50)
H2
else
H3

I think there are some GUI tools out there that do this already.

Jason Meckley
Programmer
Specialty Bakers, Inc.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top