Algorithm that measures how relevant a given data set is, kinda like Reddit
Doesn't do any jitter stuff and can probably be gamed if you try hard enough, but it should be useful enough if you want to wire up community-driven news site that always has fresh, relevant content for people to discover.
var rank =var start = 20 2 2006var upvotes = 15var downvotes = 4var date =var itemRank =
itemRank = rank(upvotes, downvotes, date, start)
Generate an item rank based off upvotes, downvotes and the current date. The last argument is the time of the first post, generally this should be close to when the server first goes live.