This week's giveaway is in the EJB and other Java EE Technologies forum.
We're giving away four copies of EJB 3 in Action and have Debu Panda, Reza Rahman, Ryan Cuprak, and Michael Remijan on-line!
See this thread for details.
The moose likes Other Open Source Projects and the fly likes How to implement Tag Cloud Feature Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of EJB 3 in Action this week in the EJB and other Java EE Technologies forum!
JavaRanch » Java Forums » Products » Other Open Source Projects
Bookmark "How to implement Tag Cloud Feature " Watch "How to implement Tag Cloud Feature " New topic
Author

How to implement Tag Cloud Feature

Ravi Kiran Va
Ranch Hand

Joined: Apr 18, 2009
Posts: 2234

Hi ,

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 ??

Thanks in advance .


Save India From Corruption - Anna Hazare.
Sunny Bhandari
Ranch Hand

Joined: Dec 06, 2010
Posts: 448

That looks something very tricky to me.

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 would also like to see more inputs on this..


Java Experience
David O'Meara
Rancher

Joined: Mar 06, 2001
Posts: 13459

I wouldn't, I'd find an existing one and reuse it.
Sunny Bhandari
Ranch Hand

Joined: Dec 06, 2010
Posts: 448

David O'Meara wrote:I wouldn't, I'd find an existing one and reuse it.


What the guy here is looking to implement it as a project!!
Sean Clark
Rancher

Joined: Jul 15, 2009
Posts: 377

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

Sean


I love this place!
Sunny Bhandari
Ranch Hand

Joined: Dec 06, 2010
Posts: 448

yes it is about the unique ideas that you can generate.

There are no rules to implementationa and unique features you can provide.

Start working and build up the basic code and then add more features to good marks if this is a college project or good increment if office project...
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: How to implement Tag Cloud Feature
 
Similar Threads
Build and deploy Java web apps on the cloud - March 2 webinar
Resouces Shared in Cloud Computing
How to implement "Get Directions" feature of google maps ?
Riddles
AutoCompletion in JTextField