/folklore

Downloading, parse and reformat the folklore.org website content

Primary LanguagePython

Folklore

Build an ePub out of the folklore.org Website by downloading, parsing and reformating its content files.

I got frustated reading Revolution in The Valley as a PDF file in iBooks: even though the editing looks great on paper, the text is fuzzy and small on the iPhone and iPad and zooming in and out is painful.

You can download the pre-compiled book on your iOS device, Mac or PC. The publication of this binary version has been kindly approved by Andy Hertzfeld and Allen Noren, his editor at O'Reilly. I've been informed that an official ePub version is also on its way.

If you want to build a new copy of the book by downloading the website's content, run the build.py script:

$ python build.py
Parsing 119 stories
Generating HTML files
Generating ePub file
Generated Revolution_in_The_Valley.epub

The script has been tested with python 2.7 on Mac OS X Lion. It should be working on Windows and Linux as long as you have python installed.