htmlclean(1p)

htmlclean1p

A small script to clean up existing html

Usage

htmlclean [-v] [-V] file1 [file2 file3 ...]

Overview

This program provides a command-line interface to the HTML::Clean module, which can help you to provide more compatible, smaller HTML files at the expense of reducing the human readability of the HTML code. In some cases you may be able to reduce the size of your HTML by up to 50%!

The HTML::Clean library provides a number of features that improve your HTML for browsing and serving:

htmlclean passes each file given on the command line to the library and writes out the new HTML according to the specified options. The default is to create a backup file and replace the file with cleaned HTML.

Removing whitespace, Comments and other useless or redundant constructs
Insuring that font tags work across multiple operating systems

For full details see the documentations for HTML::Clean itself.

Options

"-V"

Print the version of the program.

"-v"

Verbose mode. Print out the original and final file sizes, plus the compression percent. For example:

  5261   4065 22% /tmp/development-es.html
  5258   4061 22% /tmp/development-fr.html
  4651   3683 20% /tmp/development.html

Releases

13 releases since Debian 2.2 (Potato); the text changed 7 times.

  1. 2.2
  2. 3.0
  3. 3.1
  4. 4.0
  5. 5.0–7
  6. 8–10
  7. 11
  8. 12–13

-V until Debian 2.2 (Potato); -v until Debian 2.2 (Potato).

Author

"htmlclean" is written by Paul Lindner, <[email protected]>

From libhtml-clean-perl 1.4-4 in Debian 13 (Trixie). Parsed by carta from the page's man source.