Making Epubs

Recently, I read a few stories from Andy Hertzfeld's site, which are terrific stories about the development of the Macintosh. As I read it, I started to view a few videos, some podcasts etc that were connected to the stories. Wouldn't it be nice to bundle all of this into a single epub, so it's all in one place?

Flipboard's layout algorithm

I did some poking around how Flipboard lays out content, and here are my observations.