The HTML Tidy package contains a command line tool and libraries used to read HTML, XHTML and XML files and write cleaned up markup. It detects and corrects many common coding errors and strives to produce visually equivalent markup that is both W3C compliant and compatible with most browsers.
Download (HTTP): http://anduin.linuxfromscratch.org/files/BLFS/6.3/sources/tidy-cvs_20070326.tar.bz2
Download MD5 sum: 468bfaa5cf917a8ecbe7834c13a61376
Download size: 872 KB
Estimated disk space required: 15 MB
Estimated build time: 0.2 SBU
HTML Tidy tarballs are no longer generated by the maintainers. To build from source, the HTML Tidy developers recommend using current CVS. The source tarball shown above was created by the BLFS team by pulling a CVS version and generating the autotool components. BLFS made no changes to the existing source files.
User Notes: http://wiki.linuxfromscratch.org/blfs/wiki/tidy
Install HTML Tidy by running the following commands:
./configure --prefix=/usr && make
To test the results, issue: make check.
Now, as the root
user:
make install
If you wish to install the API documentation, issue the following
command as the root
user:
make -C htmldoc install_apidocs
The absolute path of the file specified in $HTML_TIDY
.
The default configuration options can be set in the file defined
in $HTML_TIDY
. Additional
configuration options can be passed to tidy via command line
parameters or the -config
<file>
parameter.
Last updated on 2007-04-04 14:42:53 -0500