Apache2::HTML::Detergent - Clean the gunk off HTML documents on the fly
Version 0.04
# httpd.conf or .htaccess # The + prefix forces the module to preload PerlOutputFilterHandler +Apache2::HTML::Detergent # These default matching content types can be overridden DetergentTypes text/html application/xhtml+xml # This invocation just pulls the matching element into a new document DetergentMatch /xpath/statement # An optional second argument can specify an XSLT stylesheet DetergentMatch /other/xpath/statement /path/to/transform.xsl # Configure <link> and <meta> tags DetergentLink relvalue http://href DetergentMeta namevalue "Content" # that's it!
Dorian Taylor, <dorian at cpan.org>
<dorian at cpan.org>
Please report any bugs or feature requests to bug-apache2-html-detergent at rt.cpan.org, or through the web interface at http://rt.cpan.org/NoAuth/ReportBug.html?Queue=Apache2-HTML-Detergent. I will be notified, and then you'll automatically be notified of progress on your bug as I make changes.
bug-apache2-html-detergent at rt.cpan.org
You can find documentation for this module with the perldoc command.
perldoc Apache2::HTML::Detergent
You can also look for information at:
RT: CPAN's request tracker (report bugs here)
http://rt.cpan.org/NoAuth/Bugs.html?Dist=Apache2-HTML-Detergent
AnnoCPAN: Annotated CPAN documentation
http://annocpan.org/dist/Apache2-HTML-Detergent
CPAN Ratings
http://cpanratings.perl.org/d/Apache2-HTML-Detergent
Search CPAN
http://search.cpan.org/dist/Apache2-HTML-Detergent/
Copyright 2013 Dorian Taylor.
Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0.
Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.
To install Apache2::HTML::Detergent, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Apache2::HTML::Detergent
CPAN shell
perl -MCPAN -e shell install Apache2::HTML::Detergent
For more information on module installation, please visit the detailed CPAN module installation guide.