Re:Ask HN: Hacker news clone script in Ruby?
by jwong42 on Wednesday May 23, 2012 @05:46AM
(#4012344)
I bookmarked these articles when I was trying to search for algorithms to implement in a news website that I wanted to develop as a side project. But I haven't taken a closer look at them yet. Hope these help.
https://github.com/antirez/lamernews
You may find some inspiration there ...
http://amix.dk/blog/post/19574 - HN http://amix.dk/blog/post/19588 - Reddit
This might be a good start. Doesn't really take time into account, but I don't see that part being too hard to add.