%general-entities; ]> $LastChangedBy$ $Date$ tidy-html5-&tidy-version; Tidy HTML5 Introduction to Tidy HTML5 The Tidy HTML5 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. &lfs78_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; Tidy HTML5 source tarball shown above downloads with the correct name tidy-html5-&tidy-version;.tar.gz, if using a browser such as Firefox. If you prefer to use a command line program, such as wget, you obtain &tidy-version;.tar.gz. To change the filename, run: mv -vi &tidy-version;.tar.gz tidy-html5-&tidy-version;.tar.gz. Tidy HTML5 Dependencies Required Recommended Optional User Notes: Installation of Tidy HTML5 Install Tidy HTML5 by running the following commands: cd build/cmake && cmake -DCMAKE_INSTALL_PREFIX=/usr \ -DCMAKE_BUILD_TYPE=Release \ -DBUILD_TAB2SPACE=ON \ ../.. && make This package does not come with a test suite. Now, as the root user: make install && install -v -m755 tab2space /usr/bin If you wish to install the API documentation you must have installed, then change directories into the documentation directory of the source tree and issue the command doxygen doxygen.cfg. Then as the root user copy the documentation/temp/tidylib_api directory to /usr/share/doc/tidy-&tidy-version;. Command Explanations -DCMAKE_BUILD_TYPE=Release: This switch is used to build the release library without any debug `assert` in the code. -DBUILD_TAB2SPACE=ON: This switch is used to enable building the tab2space utility. Configuring Tidy HTML5 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 and libtidys.a /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 and libtidys.a library provides the Tidy HTML5 API functions to tidy and can also be called by other programs. libtidy.so