HTML::Clean

HTML::Clean module cleans up HTML code for web browsers, not humans.
Download

HTML::Clean Ranking & Summary

Advertisement

  • Rating:
  • License:
  • Perl Artistic License
  • Price:
  • FREE
  • Publisher Name:
  • Paul Lindner
  • Publisher web site:
  • http://search.cpan.org/~lindner/HTML-Clean-0.8/lib/HTML/Clean.pm

HTML::Clean Tags


HTML::Clean Description

HTML::Clean module cleans up HTML code for web browsers, not humans. HTML::Clean module cleans up HTML code for web browsers, not humans.SYNOPSIS use HTML::Clean; $h = new HTML::Clean($filename); # or.. $h = new HTML::Clean($htmlcode); $h->compat(); $h->strip(); $data = $h->data(); print $$data;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 (begining of line, etc) Remove unneeded META elements. Remove HTML comments (except for styles, javascript and SSI) Replace tags with equivilant shorter tags (< strong > --> < b >) etc.The entire proces is configurable, so you can pick and choose what you want to clean.Requirements:· Perl


HTML::Clean Related Software