tidy : Java Glossary

*0-9ABCDEFGHIJKLMNOPQRSTUVWXYZ (all)

tidy
Introduction Disadvantages
Installation Bugs
Advantages Links

Introduction

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.

Installation

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

Advantages

Disadvantages

Bugs


This page is posted
on the web at:

http://mindprod.com/jgloss/tidy.html

Optional Replicator mirror
of mindprod.com
on local hard disk J:

J:\mindprod\jgloss\tidy.html
Canadian Mind Products
Please the feedback from other visitors, or your own feedback about the site.
Contact Roedy. Please feel free to link to this page without explicit permission.

IP:[65.110.21.43]
Your face IP:[3.145.164.47]
You are visitor number