tidy-20050130-1 ,1u̪q ' d 4 8 D ` g t
" , 4 ( 8 F > G \ H d I l Q p d t e y f ~ C tidy 20050130 1 Program for tidying up messy HTML cvs -z3 -d:pserver:anonymous@cvs.sf.net:/cvsroot/tidy co tidy
tidy is a program for tidying up messy html, for example, when we do
html in vi, and we make the text italic with the tag some of us may
forget to end the italic text with . tidy fixes this.
Install this if you need a program to help you tidy up your HTML.
Comon Uses:
Running Tidy on a UNIX-type OS is as easy as:
tidy file.html output_file.html
If you want to modify the file "in place" -- that is, write the
modified HTML to the same file -- then you'll use the modify (-m)
option:
tidy -m file
However, Tidy has many options that you may want to take advantage
of. You can pass arguments to tidy on the command line, or you can
set up a config file. If you're going to set up a config file --
which I recommend if you're going to use Tidy frequently -- you can
either specify the filename on the command line:
tidy -config myconfig.txt file.html output_file.html
or you can set the HTML_TIDY environment variable with the name of
your configuration file, like this:
export HTML_TIDY=htmltidyconfig.tx
Wrap TEXT defaults to 66 - some might not like this so:
If you're using these options on the command line, it would look like
this:
tidy -c --wrap 0 --indent auto --indent-spaces 2 --wrap-php no \
--drop-empty-paras yes --enclose-text yes
HTML TO XHMTL is super easy - impress ur boss or friends on how fast
you converted your website to XHTML :)
tidy --output-xhtml yes; CYA BYE! QWP*aLinux.localdomain ڽaLinux OS aLinux Soft. Corporation. W3C license linuxkid