public this repo is viewable by everyone
Description: An example of a stand-alone Ruby web filter
Clone URL: git://github.com/JackDanger/hacker_news.git
name age message
folder README.markdown Thu Apr 10 11:59:19 -0700 2008 Trying to remember how markdown works [Jack Danger Canty]
folder hackernews.rb Mon Apr 21 14:18:06 -0700 2008 Returning to the bare-lambda version [Jack Danger Canty]
folder init.god Mon Apr 21 14:05:29 -0700 2008 Got god working with app again [Jack Danger Canty]
README.markdown

Hacker News

This tiny script is a scraper for http://news.ycombinator.com. It shows just how little Ruby is required to run a powerful web filter.

What it be doin':

  • Fetches the YCombinator news page
  • HPricot's it into pieces
  • Builds an RSS feed
  • Uses links to parse the destination article page and include the main text inline
  • Runs as a stand-alone server thanks to Rack and Mongrel