Forum Moderators: phranque

Message Too Old, No Replies

Clean many pages at once

         

sionvalais

6:56 pm on Sep 28, 2003 (gmt 0)

10+ Year Member



During the years the 350 pages of my website were updated by hand. The source code is therefore almost unreadable by now.
Is there a tool that cleans many webpages at once of the many white lines and restructures the layout of the code?

cheers,

Mark

4serendipity

9:02 pm on Sep 28, 2003 (gmt 0)

10+ Year Member




HTML-Tidy could get this done for you.

There are a number of ways to recursively run tidy.

An example of running tidy recursively with a shell scrip can be found at:
www.freephile.com/docs/tidy/tidy.conf.html
(bottom of page)

Or you could create a couple batch files to do this as well.