Quote:
Originally Posted by kingdavid
Does anyone have any good resources that you can point me too? or sample ASP.NET scripts for doing this?
|
Without knowing how the tags are stored and assigned in your database, you won't find terribly applicable code samples.
First you need a list of all your tags, and how often each one is used
Select Tag, Count_Big(*) From Some_Table Where Some_Condition_Is_Met
Then you need to normalize the range somehow, which again is domain specific. But for example if you have 3 tags, you've used Tag A 14 times, Tab B 9 times, and you've used Tag C a whopping 1,831,726 times, that isn't going to work.
Finally, write out the text of each tag with a font size style attribute based on however you normalize your range of use counts.
|