%general-entities; ]> $LastChangedBy$ $Date$ HTML Tidy-&tidy-version; HTML Tidy Introduction to HTML Tidy 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. &lfs75_checked; Package Information Download (HTTP): Download (FTP): Download MD5 sum: &tidy-md5sum; Download size: &tidy-size; Estimated disk space required: &tidy-buildsize; Estimated build time: &tidy-time; 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, then generating the autotool components and documentation. BLFS made no changes to the existing source files. HTML Tidy Dependencies Optional Dmalloc User Notes: Installation of HTML Tidy Install HTML Tidy by running the following commands: ./configure --prefix=/usr --disable-static && make This package does not come with a test suite. Now, as the root user: make install && install -v -m644 -D htmldoc/tidy.1 \ /usr/share/man/man1/tidy.1 && install -v -m755 -d /usr/share/doc/tidy-&tidy-version; && install -v -m644 htmldoc/*.{html,gif,css} \ /usr/share/doc/tidy-&tidy-version; If you wish to install the API documentation you must have installed, then change directories into the htmldoc of the source tree and issue the command doxygen. Then as the root user copy the api directory to /usr/share/doc/tidy-&tidy-version;. Command Explanations Configuring HTML Tidy Config Files The absolute path of the file specified in $HTML_TIDY. Configuration Information 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 parameter. Contents Installed Programs Installed Library Installed Directory tab2space and tidy libtidy.so /usr/share/doc/tidy-&tidy-version; Short Descriptions tab2space is a utility to expand tabs and ensure consistent line endings. tab2space tidy validates, corrects, and pretty-prints HTML files. tidy libtidy.so library provides the HTML Tidy API functions to tidy and can also be called by other programs. libtidy.so