![]()
|
We have been programming HTML for several years using a method we call "down style". Most folks are surprised to learn how many irritating "requirements" of HTML are not required. For example, all of those quotes around URL's, image sources, widths, heights, borders, etc. are not necessary for any browser past Netscape® 1.0 and Microsoft® Internet Explorer 3.0. Not to mention all of the so-called "elegant" tabbed and space indents provided by the WYSIWYG editors and the ubiquitous carriage returns. This script engine will analyze your HTML (which may include META, STYLE and SCRIPT tags) and pull out - dare we say it? - all the crap that is unnecessary. Remember, every unnecessary byte must still be downloaded to visitors to your clients' pages through the paralyzing choke of their respective modem speeds - most of whom are still working with slow dial-up connects averaging less than 28kbaud (much less than the mathematically derived 3500 bytes per second at that speed) Other HTML Post-processing scripts:
Note from John H. and Erika E. Keyes: For years, my son John-Michael has pleaded, begged, ranted, preached and otherwise made an absolute pest of himself trying to convince me to use the now-supported JavaScript regular expressions. Naturally, I didn't. But recently, I saw a script by Charles Kelly, a professor at AICHI Institute of Technology in Japan using the blamed things, and - gasp! they really are neetso-keeno. This script is my first re-write using regular expressions (I've been habituated to string searches) In February of 2002, that's only about 4 years too late! |
| First, copy the HTML from your text editor and paste it into this window: |
| These will be removed only if checked: Remove Comments. (Note: Once gone, these can not be recovered later. Your company may require them.) Remove </P> tags. (Note: Don't check if you are using style sheets with the paragraph tag defined.) Remove (non-breaking spaces) (Note: Be cautious, because these often are used to adjust the format of the page.)
|
It is a good idea to test the returned HTML to make sure nothing is broken before pasting it back into your file:
|
| Fourth, after testing, click in window and paste the returned HTML into your file. |
Download this HTML Postprocessing Suite:
|