[NTLUG:Discuss] OT: splitting large html files?

Lance Simmons lance at lsimmons.net
Sat Nov 8 08:17:24 CST 2003


* Jack Snodgrass <jack at jacksnodgrass.com> [031108 07:13]:
> 
> What are you trying to do by splitting the HTML files into 'chunks'?
> If you have 100K bytes of html data in your index.html page and you
> split it into 4 25K chunks, the users will still have to download 100K
> ( 4 x 25K ) of data. 

I have in mind the way latex2html takes a structured document and
produces a set of nicely indexed pages.  For example, if a document
(such as Charles Dickens' _Our Mutual Friend_) is 1.8M consisting of 4
books containing 68 chapters, you'll get 68 separate pages, with a nice
table of contents and built-in links to navigate between them.

sgml/xml (such as docbook) can be used to do the same thing, but I don't
know how to turn a standard html file into an xml file that can be thus
split.

In any case, what I want is a way to split html files directly, without
first having to convert them into something else.

-- 
Lance Simmons



More information about the Discuss mailing list