brianloveswords/hacktionary — pull request #1 by toolness (2012-04-05 20:57:50+00:00)
Title: Added MDN scraping for CSS docs.

Hey, I didn't integrate anything into `app.js` yet, but I added some code that pulls/scrapes MDN for docs on CSS properties.

`pull-mdn.js` just caches all of MDN's pages on CSS properties (well, the major ones that the X-Ray Goggles display) into a directory.

`scrape-mdn.js` scrapes the aforementioned pages by grabbing the first `

` element of the first section, which does the trick for most CSS properties. It puts the HTML snippets in a JSON structure that it serializes to `css-properties.json`.