|
|
Tidy
Product Name: Tidy
Author: Dave Raggett
Website: http://tidy.sourceforge.net/
Download Location: http://tidy.sourceforge.net/trt/tidy_win32.zip
User Tool Settings
| Command Line: |
C:\tidy\tidy.exe |
| Arguments: |
|
| To Tidy an XML file: |
-q -xml "$(FilePath)" |
| To Tidy an HTML file: |
-q "$(FilePath)" |
| To convert an HTML file to XHTML: |
-q -asxml "$(FilePath)" |
| To check an HTML file for errors: |
-errors "$(FilePath)" |
| To check an XML file for errors: |
-errors -xml "$(FilePath)" |
| Initial Directory: |
|
| Options: |
Capture Output in a new document of type: XML File
OR
Capture Output in Tool View (for error checking) |
Comments
To use Tidy, create a new User Tool and enter the Command Line, Arguments, and options as shown above.
If you have installed Tidy in a different directory, replace
C:\tidy\
with the path where it is installed.
Tidy has a large range of options which you can add to the command line. Some of the more interesting are:
-indent (indents element content)
-upper (converts tags to uppercase)
-wrap <column> (wraps text at the specified column)
-clean (replaces FONT, NOBR and CENTER tags with CSS)
See the Tidy documentation for more options.
|
|
|
|