HTML::Sanitizer 0.04
Sponsored Links
HTML::Sanitizer 0.04 Ranking & Summary
File size:
0.009 MB
Platform:
Any Platform
License:
Perl Artistic License
Price:
Downloads:
838
Date added:
2007-07-11
Publisher:
David Nesting
HTML::Sanitizer 0.04 description
HTML::Sanitizer is a HTML Sanitizer.
SYNOPSIS
my $safe = new HTML::Sanitizer;
$safe->permit_only(
qw/ strong em /,
a => {
href => qr/^(?:http|ftp):/,
title => 1,
},
img => {
src => qr/^(?:http|ftp):/,
alt => 1,
},
b => HTML::Element->new(strong),
);
$sanitized = $safe->filter_html_fragment($evil_html);
# or
my $tree = HTML::TreeBuilder->new->parse_file($filename);
$safe->sanitize_tree($tree);
ABSTRACT
This module acts as a filter for HTML. It is not a validator, though it might be possible to write a validator-like tool with it. Its intended to strip out unwanted HTML elements and attributes and leave you with non-dangerous HTML code that you should be able to trust.
SYNOPSIS
my $safe = new HTML::Sanitizer;
$safe->permit_only(
qw/ strong em /,
a => {
href => qr/^(?:http|ftp):/,
title => 1,
},
img => {
src => qr/^(?:http|ftp):/,
alt => 1,
},
b => HTML::Element->new(strong),
);
$sanitized = $safe->filter_html_fragment($evil_html);
# or
my $tree = HTML::TreeBuilder->new->parse_file($filename);
$safe->sanitize_tree($tree);
ABSTRACT
This module acts as a filter for HTML. It is not a validator, though it might be possible to write a validator-like tool with it. Its intended to strip out unwanted HTML elements and attributes and leave you with non-dangerous HTML code that you should be able to trust.
HTML::Sanitizer 0.04 Screenshot
HTML::Sanitizer 0.04 Keywords
HTML
Sanitizer 0.04
Sanitizer
html sanitizer
0.04
HTML::Sanitizer
HTMLSanitizer
HTML::Sanitizer 0.04
Libraries
Programming
Bookmark HTML::Sanitizer 0.04
HTML::Sanitizer 0.04 Copyright
WareSeeker periodically updates pricing and software information of HTML::Sanitizer 0.04 full version from the publisher, so some information may be slightly out-of-date. You should confirm all information before relying on it. Software piracy is theft, Using crack, password, serial numbers, registration codes, key generators is illegal and prevent future development of HTML::Sanitizer 0.04 Edition. Download links are directly from our publisher sites, torrent files or links from rapidshare.com, yousendit.com or megaupload.com are not allowed
Featured Software
Want to place your software product here?
Please contact us for consideration.
Contact WareSeeker.com
Related Information
html code
html body html
archive html sanitizer
purell instant hand sanitizer 0.043 fl oz
html codes
html sanitizer php
myspace html
what is html
html rulez d00d
html color code
html color codes
html help
php html sanitizer
html colors
html rulez d00d music video
what does html stand for
html tags
html sanitizer java
Related Software
HTML::Manipulator is a Perl extension for manipulating HTML files. Free Download
HTML::Simple is a simple, dependency free module for generating HTML (and XML). Free Download
HTML::Tiny is a lightweight, dependency free HTML/XML generator. Free Download
HTML::Scrubber is a Perl extension for scrubbing/sanitizing html. Free Download
HTTunnel is a universal HTTP tunnel using Apache, mod_perl and Perl. Free Download
HTML::Clean module cleans up HTML code for web browsers, not humans. Free Download
SWISH::HiLiter is a simple Perl interface to SWISH::API and HTML::HiLiter. Free Download
mod_limitipconn is an Apache module which allows web server administrators to limit the number of simultaneous downloads. Free Download
Latest Software
Popular Software
Favourite Software