Friday, February 15, 2008

Adding a TOC to HTML pages

And another little script for eBook reading on the OLPC: create-toc.rb

This one takes a list of XHTML files, creates a TOC page from the files and inserts next, prev and up links into the files. When you rebind your buttons in Opera for navigating next, prev and up links you can swap forward and backward through a book with a single button press, thus chapter changes become much easier and you no longer need the touchpad for navigation.

No comments: