DevX Home    Today's Headlines   Articles Archive   Tip Bank   Forums   

Results 1 to 4 of 4

Thread: tag cloud (weighted list)

  1. #1
    Join Date
    Mar 2006
    Posts
    21

    tag cloud (weighted list)

    hi,

    i am interested in finding out how to create a tag cloud (weighted list) in asp.net.

    thanks.

  2. #2
    Join Date
    Nov 2003
    Location
    Portland, OR
    Posts
    8,387
    Please post ASP.NET questions to the ASP.NET forum.

    I couldn't find an example online, but I would iterate through the list of tags adding them to a hashtable. If a tag is already present in the hashtable, increment its count. Finally, print the list of tags, using the count to set the font size of each tag.
    Phil Weber
    http://www.philweber.com

    Please post questions to the forums, where others may benefit.
    I do not offer free assistance by e-mail. Thank you!

  3. #3
    Join Date
    Mar 2006
    Posts
    21
    Thanks for the reply, another question I have is if I do get a hash table algorithm to work, how do I get the results to look like this:

    User1 user2 user3 user4 Ö

    With datagrid and datalist, I only know how to display it this way:

    User1
    User2
    User3
    User4

    In columns.

    Also, this is my sql server 2000 db table (see attached doc), where each goal title is user specific. Do you think itís better if I just do a count(username) who has the same goal title? Once I get those values back, I then put the values into a hashtable, and then display them. What do you think?

    Thanks,
    Attached Files Attached Files

  4. #4
    Join Date
    Apr 2006
    Posts
    1

    Download an ASP.NET Tag Cloud Sample

    Hi,

    I have a working ASP.NET tag cloud sample on the Wingio Labs blog .The sample code is "slightly" documented.

    Hope it helps!

    Stefan

Similar Threads

  1. Java Doubly Circular Linked List
    By xsouldeath in forum Java
    Replies: 1
    Last Post: 11-28-2005, 12:19 AM
  2. Replies: 0
    Last Post: 10-27-2005, 12:16 AM
  3. Problem with linked lists and iterators
    By white94cam in forum C++
    Replies: 2
    Last Post: 03-31-2005, 12:02 AM
  4. JS functions list in body tag
    By JS Beginner in forum Web
    Replies: 4
    Last Post: 06-03-2002, 02:18 PM
  5. ListBot Going Out of Business
    By Larry Rebich in forum vb.announcements
    Replies: 1
    Last Post: 06-28-2001, 01:22 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
HTML5 Development Center
 
 
FAQ
Latest Articles
Java
.NET
XML
Database
Enterprise
Questions? Contact us.
C++
Web Development
Wireless
Latest Tips
Open Source


   Development Centers

   -- Android Development Center
   -- Cloud Development Project Center
   -- HTML5 Development Center
   -- Windows Mobile Development Center