Tag Cloud idea

Post your requests for addons here, and discuss any addons in development here, as well.
Once an addon has completed development, it will be released in the "Addon Release" forum.

Moderator: Spunkmeyer

Tag Cloud idea

Postby AndyP » Sat May 03, 2008 12:33 pm

I visit a lot of sites that emply a keyword tagging/tag cloud system and it's pretty useful so I decided to add something similar to my own site.

I added a field that I called "Keywords". Each time I post a new item I add a couple words to that field, separating the keywords by a comma. This list can be displayed using a style and profile pretty easily. However, when I display them all for all the items posted then multiple instances of a particular keyword will appear. In other words, there's no recognition of multiple instances of the same word.

What I would like to be able to do is display the keywords only once but acknowledge how often it has appeared in the list, and adjust the font size accordingly so that more frequently tagged words appear in a larger font.

Any ideas on how this could be done ?
AndyP
 
Posts: 165
Joined: Wed Jan 10, 2007 10:10 pm

Postby SrNupsen » Sat May 03, 2008 1:08 pm

There are plenty og tag cloud scripts out there, but I have no experience with them. I bet you'll be able to find one that suits you, and then create a custom Coranto style (with some additional PHP behind) that outputs your keywords in the format desired by the script.
-----------------------------------------------------------------------------------------------------
Coranto is free software. I am available for custom work or troubleshooting.

http://www.sundaune.no - transkripsjon, webdesign, nettsider, tekstbyrå
http://www.vagbladet.no - satire, politikk, kultur, sport, nettavis
-----------------------------------------------------------------------------------------------------
SrNupsen
 
Posts: 2229
Joined: Tue Jan 09, 2007 6:46 pm
Location: Nesodden, outside Oslo, Norway

Postby AndyP » Sat May 03, 2008 1:55 pm

I'm always a bit cautious of just finding some random script online though because they aren't always safely coded. Anyone got any pointers in the direction of a particularly good script ?

I found this which analyses the page and pulls out the most frequently found words :

http://johannburkard.de/blog/programmin ... query.html
AndyP
 
Posts: 165
Joined: Wed Jan 10, 2007 10:10 pm


Return to Addon Development and Requests

Who is online

Users browsing this forum: No registered users and 2 guests

cron