Splity - Split long HTML files |
||
splity.pl is a Perl script to split a long HTML file into separate inter-linked pages, according to the headings in the original file. It is useful for maintaining both a print version and a browsable version of a site.
For example, a file that starts with an <h1> tag and some text, and contains 3 sub-sections that start with an <h3> each, can be split into four interlinked files, as shown.
To use splity you will need to have Text::Template installed.
Latest version is freely available at http://sourceforge.net/projects/splity.