|
From: Konstantin T. <an...@ya...> - 2010-04-29 15:34:10
|
> Or have another idea about how to have toc/index? It could be implemented on top of Html generator I've committed. 1. Contents of every page (i.e., Tag body) should be placed in Hash 2. TOC is trivially generated from Hash 3. To generate index, perform substring search through page bodies (Tag supports toString), find occurences of important words (or you want to index every word?) 4. Visualization could be easily implemented using frames (left frame with TOC and index, right is changeable). TOC and Index in frame could be switched in JS onclick event handler -- Regards, Konstantin |