BSD Ports

www/p5-HTML-Clean 1.4p0 OpenBSD

cleans up HTML code for web browsers, not humans

System
OpenBSD
Repository
OpenBSD ports
Maintainer
The OpenBSD ports mailing-list <[email protected]>
Categories
www, perl5

Description

The HTML::Clean module encapsulates a number of common techniques for minimizing the size of HTML files. You can typically save between 10% and 50% of the size of a HTML file using these methods. It provides the following features:

  • Remove unneeded whitespace (beginning of line, etc)
  • Remove unneeded META elements.
  • Remove HTML comments (except for styles, javascript and SSI)
  • Replace tags with equivalent shorter tags (<strong> --> <b>)
  • etc.

The entire process is configurable, so you can pick and choose what you want to clean.

In the other systems

SystemPortVersion
OpenBSDwww/p5-HTML-Clean1.4p0
FreeBSDwww/p5-HTML-Clean1.4
NetBSDwww/p5-HTML-Clean1.4nb7
DragonFlywww/p5-HTML-Clean1.4
HardenedBSDwww/p5-HTML-Clean1.4
GhostBSDwww/p5-HTML-Clean1.4

Install

Binary package:

pkg_add p5-HTML-Clean

From the ports tree:

cd /usr/ports/www/p5-HTML-Clean && make install

Dependencies

No port depends on this one.