Sponsor FloSync Free digital signage & video wall software for Mac and Windows Download Free

TTidy 1.0b1

Post Reply
User avatar
Info-Mac
Administrator
Posts: 13716
Joined: December 21st, 1988, 11:00 am

TTidy 1.0b1

Post by Info-Mac »

Download: http://archive.info-mac.org/inet/web/ttidy-10b1.hqx

TTidy 1.0b1-Freeware

TTidy is a straight UNIX port of the Tidy HTML parser. I created this port
after looking at the two Macintosh tidy ports already in existance (written
by Terry Teague) I decided that neither of these ports fit my needs as a
webmaster for my high school, Homestead High School. I needed a port of Tidy
that could scan multiple files, overwriting the original files with the
correct HTML code after scanning them. I visited the W3C Tidy site,
downloaded the source code and with the help of the DropUNIX library, I
created a rudimentary Tidy port.

TTidy isn't a speed deamon, nor is it a very flexible port. The DropUNIX
library doesn't support command line parameters, so I wired a couple of
defaults into the program. The default behavior is to overwrite the original
file, to force tags to uppercase, and to indent tags. These are equivalent
to the -i, -c, -u, and -m options. TTidy does not support XML parsing
because it doesn't support command-line parameters.

To use TTidy, drag one or more HTML documents onto its icon, or double-click
it's icon and choose Select File... from the File menu. If you choose to run
additional batches after the first, quit TTidy between batches. You will be
presented with a dialog box asking whether you want to save your ERROR
REPORT--NOT YOUR MODIFIED HTML DOCUMENTS. Your modified HTML files are
automatically saved as TTidy runs.

Known Bugs:

*TTidy only accepts a few files at a time dropped on it. I've been able to
do twenty to thirty at a time, but the web site I tested it on has a couple
hundred HTML files.

*TTidy occasionally hits an infinite loop. If TTidy appears to be attempting
to correct the same error IN THE SAME PLACE over and over again, choose Quit
from the File menu. You may save changes to your error log. The file causing
the loop (and all those after it, alphabetically) will be left untouched for
you to try again. TTidy will cause an infinite loop again if you attempt to
run a file that caused this type of behavior through it again without
modification.

*TTidy suffers from slow screen display.

Ken Bloom -- [email protected]
Post Reply