3 ms·
Ask HN: How do you follow your favourite people on HN
I usually ignore the author's username when reading comments. When I read an exceptional comment, though, I will click the author's username so I can see all their other nuggets.
I would like to pull these comments into my RSS reader (NewsBlur). The HN search API from Algolia has a generous allowance (1000 requests per IP per hour), so I intend to write a quick Flask app to convert the search API's output (a JSON object) into an RSS feed. This would mostly just require mapping the field names, and using Werkzeug's AtomFeed to generate the feed: http://flask.pocoo.org/snippets/10/
Does anyone have a better suggestion?
- redox_ 13y agoIf you're familiar with ruby/rails, feel free to create a pull-request directly on our github repository: https://github.com/algolia/hn-search https://github.com/algolia/hn-search (we've already some code generating feeds: https://github.com/algolia/hn-search/blob/master/app/controllers/home_controller.rb#L25 https://github.com/algolia/hn-search/blob/master/app/control...).
- rahimnathwani 13y agoI'm not familiar with Rails, but the code looks simple enough. Is it easy for me to install and run it? I mean, can I just do the following? - (Install ruby and rails) - git clone https://github.com/algolia/hn-search https://github.com/algolia/hn-search - bundle - rails server
- redox_ 13y agoAlmost yes; I've just updated our README to explain how to contribute + add default configurations: https://github.com/algolia/hn-search#contribution https://github.com/algolia/hn-search#contribution
- rahimnathwani 13y agoThanks. I just submitted a pull request.