Digg’s Amazing FrontPage Rank Algorithm (almost as good as Google’s Pagerank)
July 26, 2006
How Digg manage to serve up stories to the Front Page is still a mystery to most Digg users. And I think it has to do with this chunk of code that got leaked. (source unknown and unverfied). And since I am a Rails/Ruby guy, I will try to show their wonderful frontpage algorithm.
@stories = story.find_by_diggspecialprivilegedusers_and_
So this story which is 19hrs old and has some 60 diggs got to the front of tech news? What is up with that? Wait a minute… Let’s check the user profile of the submitter … ohh…I got it.