Introduction | Disadvantages |
Installation | Bugs |
Advantages | Links |
version 5.6.0 Last revised/verified: 2017-11-25 In general, a tidy program is any program that cleans up data or source. Sometimes they are called tidiers, beautifiers or pretty-printers.
There is one important program for tidying HTML5 (Hypertext Markup Language v 5) called tidy.exe. It gives you quite fine control. I find it makes changes I don’t particularly like, so I do post processing with a Funduc Search and Replace script.
Tidy.exe is an open source program written in C, originally by W3C (World Wide Web Consortium). It beautifies, transforms and corrects errors in HTML (Hypertext Markup Language) source. For example in indents, starts new lines for <br> and converts old-style HTML to CSS (Cascading Style Sheets). It is highly configurable.
Download the binary containing tidy.exe in the zip file. Unpack it and put tidy.exe into "X:\Program Files\tidy\".
Create a tidy.config file that looks something like this:
Read the Quick Reference to discover what the possible options are. Click on the option to get more detail.
You
rem run tidy on some.html replacing the contents with the tidied contents. set TidyDir=F:\Program Files\tidy\bin %TidyDir\tidy.exe -config E:\env\tidy.config -m some.html
This page is posted |
http://mindprod.com/jgloss/tidy.html | |
Optional Replicator mirror
|
J:\mindprod\jgloss\tidy.html | |
Please read the feedback from other visitors,
or send your own feedback about the site. Contact Roedy. Please feel free to link to this page without explicit permission. | ||
Canadian
Mind
Products
IP:[65.110.21.43] Your face IP:[3.145.164.47] |
| |
Feedback |
You are visitor number | |