Page 1 of 1

Separating page content into multiple pages....

Posted: Fri Aug 13, 2004 5:09 am
by troy.porter
I have a project to separate static web page content (files on disk) on the fly to prevent excessive page scrolling.. (page 1...page2 ...etc)

This should be done on the fly when the page is requested by the browser...hence i need to do some kind of word/character count based on the screen size and site design ....the problem is that page content includes HTML code for formatting so i need to be able to break up the content without breaking the HTML tags :?

has anybody done/seen anything like this done before and can help me out???


(PS.. the content pages have to remain on disk.,....i cannot use a database solution)

Posted: Fri Aug 13, 2004 8:46 am
by anjanesh
I don't know if there is a simpler solution than writing your own html parser. If you can do that you might as well make your browser.