Abstract of INFO-MAC archived encoded Mac binary file 'text/html/html-cleaner.hqx' Uploaded 12/26/1998 14690 bytes From: rene@brouwermedia.com Subject: HTML Cleaner HTML Cleaner is an AppleScript for BBEdit 5.0 designed to perform a few common HTML chores: € Based on the presence of a frameset in your document the script will identify your page either as HTML 4.0 Transitional or HTML 4.0 Frameset. € It adds an empty alt="" attribute to image tags that don't have an alt attribute already. € It gets rid of heights, since they are not permitted in HTML 4.0 Transitional. € It will by default get rid of heights, since they are not permitted in HTML 4.0 Transitional. MSIE still uses them, though. There is a preference setting, should you choose to keep table heights. € It will remove a stray "frame" attribute in a table, when no value is specified for it. € HTML Cleaner will discontinue the existence of gridx, showgridx, usegridx, gridy, showgridy, usegridy in your tables. € It will attempt to place your noframes tags inside your frameset, which is where they should be. € The script will take (illegal) spacer tags and replace them with a dot.gif image. it's up to you to make sure there are dot.gif images in the referenced places. € It will remove xpos attributes in a
tag. € In BBEdit 5.0, the script will run the CyberCleaner tool, which gets rid of (some) excess font tags. CAUTION! This script works fine for me, but may need some adjustments for your specific HTML. Please test thoroughly on a COPY of your site.