Warning: This hasn’t been touched since 2007 and is abandonware!
Ever wanted to create a table of contents for a HTML document?
HTML Outliner will do most of the work for you!
See the tests for usage examples. Yes, I’m lazy…
This little library was written while doing contract work for dela med noll – thanks to them for letting me share it!
HTML Outliner is a part of Hpricot Goodies.