Name : tidy
| |
Version : 20050130
| Vendor : aLinux Soft_ Corporation_
|
Release : 1
| Date : 2013-03-30 21:50:50
|
Group : System
| Source RPM : tidy-20050130-1.src.rpm
|
Size : 0.70 MB
| |
Packager : linuxkid < alinux_alinux_tv>
| |
Summary : Program for tidying up messy HTML
|
Description :
cvs -z3 -d:pserver:anonymousAATTcvs.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 < i> < /i> tag some of us may forget to end the italic text with < /i>. 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!
|
RPM found in directory: /vol/rzm1/linux-ibiblio/distributions/peanut/current/pkgs/RPMS |