Welcome to WebmasterWorld Guest from 54.167.5.15

Forum Moderators: coopster & jatar k

Message Too Old, No Replies

Digg, how do they do their "Popular"

     

alphacooler

8:17 pm on Jun 26, 2006 (gmt 0)

10+ Year Member



How would one go about displaying "popular" entries like Digg does on their front page? I would think the easiest way would be to query the entries with the most "votes" within a time period (say 24hrs), but there is definitely more to this than just that.

Any ideas?

eelixduppy

8:39 pm on Jun 26, 2006 (gmt 0)

WebmasterWorld Senior Member eelixduppy is a WebmasterWorld Top Contributor of All Time 5+ Year Member




I would think the easiest way would be to query the entries with the most "votes" within a time period (say 24hrs), but there is definitely more to this than just that.

I guess it would depend on what you thought of as popular--Whether it be the number of votes, the rating from those votes, or how many people actually viewed that specific content, or a combination of the these and more. Once you figure that out, a simple query correctly executed should give you the results you want, that is, if the data is stored correctly too ;)

Good luck!

 

Featured Threads

Hot Threads This Week

Hot Threads This Month