3 ms·
provides the N most popular articles (by vote) for the day where N is defined in the URL Aside from the "don't include links which were on a previous Daily Hac
by cperciva 16y ago
provides the N most popular articles (by vote) for the day where N is defined in the URL
Aside from the "don't include links which were on a previous Daily Hacker News", this is exactly what I do. The top-10 list for YYYY-MM-DD is at http://www.daemonology.net/hn-daily/YYYY-MM-DD.html http://www.daemonology.net/hn-daily/YYYY-MM-DD.html
s there any way you would be willing to put the source up on GitHub?
I'd prefer not to do that, simply because it would encourage people to add extra load to the HN web server -- besides which, the code is extremely trivial and I'm sure anyone who wants to could replicate it easily. :-)
- almost 16y agoMaybe you could provide the data as a JSON feed? Then others can do their thing without hurting the HN servers. I imagine the bandwidth to serve them would be pretty small (or maybe I underestimate the hunger for HN JSON feeds :p) I'm sure you have better things to do with your time, but it would be cool and maybe would lead to some other cool stuff...