Download Shareware and Freeware Software for Windows, Linux, Macintosh, PDA

line Home  |  About Us  |  Link To Us  |  FAQ  |  Contact

Serving Software Downloads in 976 Categories, Downloaded 29.546.677 Times

HTML::Sanitizer 0.04

  Date Added: May 02, 2010  |  Visits: 1.062

HTML::Sanitizer

Report Broken Link
Printer Friendly Version


Product Homepage
Download (82 downloads)



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..

Requirements: No special requirements
Platforms: Linux
Keyword: Html Html Sanitizer Htmlsanitizer Libraries Programming
Users rating: 0/10

License: Freeware Size: 9.22 KB
USER REVIEWS
More Reviews or Write Review


HTML::SANITIZER RELATED
Libraries  -  HTML::Macro 1.27
HTML::Macro can process HTML templates with loops, conditionals, macros and more! SYNOPSIS use HTML::Macro; $htm = new HTML::Macro (template.html); $htm->print; sub myfunc { $htm->declare (var, missing); $htm->set (var, value); return...
23.55 KB  
Libraries  -  HTML::WikiConverter 0.61
HTML::WikiConverter is a Perl module that can convert HTML to wiki markup. SYNOPSIS use HTML::WikiConverter; my $wc = new HTML::WikiConverter( dialect => MediaWiki ); # Provide HTML directly print $wc->html2wiki( $html ); # ...which is...
34.82 KB  
Libraries  -  HTML::Manipulator 0.07
HTML::Manipulator is a Perl extension for manipulating HTML files. SYNOPSIS use HTML::Manipulator; my $html = New news);...
12.29 KB  
Libraries  -  HTML::BBReverse 0.07
HTML::BBReverse is a Perl module to convert HTML to BBCode and back. SYNOPSIS use HTML::BBReverse my $bbr = HTML::BBReverse->new(); # convert BBCode into HTML my $html = $bbr->parse($bbcode); # convert generated HTML back to BBCode my...
9.22 KB  
Libraries  -  HTML::Scrubber 0.08
HTML::Scrubber is a Perl extension for scrubbing/sanitizing html. SYNOPSIS #!/usr/bin/perl -w use HTML::Scrubber; use strict; # my $html = q[ BAD { background: #666; color: #666;} alert(Hello, I am EVIL!); a => link br => b =>...
17.41 KB  
Libraries  -  HTML::Chunks 1.53
HTML::Chunks is a simple nested template engine for HTML, XML and XHTML. This class implements a simple text-based template engine, originally intented to allow web applications to completely separate layout HTML from programming logic. However,...
10.24 KB  
Libraries  -  HTML::YaTmpl 1.8
HTML::YaTmpl is yet another template processor. SYNOPSIS use HTML::YaTmpl; my $t=HTML::YaTmpl->new( file=>template.tmpl ); $t->evaluate( key1=>$value1, key2=>[$val21, $val22, ...] ... ); $t->evaluate_to_file( $outputfilename,...
41.98 KB  
Libraries  -  HTML::FormHighlight 0.03
HTML::FormHighlight Perl module can help you to highlights fields in an HTML form. SYNOPSIS use HTML::FormHighlight; my $h = new HTML::FormHighlight; print $h->highlight( scalarref => $form, fields => [ A, B, C ], ); print...
5.12 KB  
Libraries  -  HTML::Tiny 0.10
HTML::Tiny is a lightweight, dependency free HTML/XML generator. SYNOPSIS use HTML::Tiny; my $h = HTML::Tiny->new; # Generate a simple page print $h->html( [ $h->head( $h->title( Sample page ) ), $h->body( [ $h->h1( { class => main...
11.26 KB  
Libraries  -  HTML::LoL 1.3
HTML::LoL is a Perl module that can construct HTML from pleasing Perl data structures. SYNOPSIS use HTML::LoL; &hl(sub { print shift }, [body => {bgcolor => white}, [p => Document body, ...], ...]); This module allows you to use Perl...
5.12 KB  
NEW DOWNLOADS IN PROGRAMMING, LIBRARIES
Programming  -  FLEX-db Digital Asset Manager 3.0.9
FLEX-db - an enterprise Digital Asset Manager (DAM). It ingests and links metadata with files, creates thumbnails, and processes files using business rules. FLEX-db has a JSP client, Java app server for file input and output and an EJB metadata...
21.57 MB  
Programming  -  Libicom 0.9.0
The libicom library is a character based dynamicly linked library for Linux. It is used to remotely control the Icom IC-R8500 wide band receiver via an RS232 link. All call and return parameters to the control functions are character string based....
20.48 KB  
Programming  -  dotdesktop 0.3
Dotdesktop library provides ability to parse desktop entry file and access the information in a convenient way. Desktop entry file format is defined by freedesktop.org, it is used to describe information about an application such as the name and...
327.68 KB  
Programming  -  Cedalion for Linux 0.2.6
Cedalion is a programming language that allows its users to add new abstractions and define (and use) internal DSLs. Its innovation is in the fact that it uses projectional editing to allow the new abstractions to have no syntactic limitations.
471.04 KB  
Programming  -  libyasl 0.2
Libyasl is a C++ class library to easily realize TCP/UDP/Multicast clientsand servers in IPv4 and IPv6 environments under GNU/Linux systems.
143.36 KB  
Libraries  -  EuGTK 4.8.9
Makes it easy to develop good- looking, fast, cross-platform programs that run on Linux, OS X, and Windows. Euphoria is a very fast interpreted/compiled language with straight-forward syntax. EuGTK allows programming in a clean, object-oriented...
10.68 MB  
Libraries  -  Linux User Group Library Manager 1.0
The LUG Library Manager is a project to help Linux User Groups start their own library. A LUG library is helpful to the community at large because it increases access to information, and gives everyone the opportunity to become more knowledgeable.
5.35 KB  
Libraries  -  Module::MakefilePL::Parse 0.12
Module::MakefilePL::Parse is a Perl module to parse required modules from Makefile.PL. SYNOPSIS use Module::MakefilePL::Parse; open $fh, Makefile.PL; $parser = Module::MakefilePL::Parse->new( join("", ) ); $info = $parser->required;...
8.19 KB  
Libraries  -  sqlpp 0.06
sqlpp Perl package is a SQL preprocessor. sqlpp is a conventional cpp-alike preprocessor taught to understand SQL ( PgSQL, in particular) syntax specificities. In addition to the standard #define/#ifdef/#else/#endif cohort, provides also...
10.24 KB  
Libraries  -  App::SimpleScan::Substitution::Line 2.02
App::SimpleScan::Substitution::Line is a line with optional fixed variable values. SYNOPSIS my $line = App::SimpleScan::Substitution::Line->new(" this "); # Use only this value when substituting " ". $line->fix(substituite =>...
54.27 KB