Main > Free Download Search >

Free html rulez d00d software for linux

html rulez d00d

Sponsored Links
Sponsored Links
Secleted [ 0 ] software to compare
Results 1 - 15 of about 2161
HTML::Scrubber 0.08

HTML::Scrubber 0.08


HTML::Scrubber is a Perl extension for scrubbing/sanitizing html. more>>
HTML::Scrubber is a Perl extension for scrubbing/sanitizing html.

SYNOPSIS

#!/usr/bin/perl -w
use HTML::Scrubber;
use strict;
#
my $html = q[




a => link
br =>

b => bold
u => UNDERLINE
];
#
my $scrubber = HTML::Scrubber->new( allow => [ qw[ p b i u hr br ] ] ); #
#
print $scrubber->scrub($html); #
#
$scrubber->deny( qw[ p b i u hr br ] ); #
#
print $scrubber->scrub($html); #
#

If you wanna "scrub" or "sanitize" html input in a reliable an flexible fashion, then this module is for you.

I wasnt satisfied with HTML::Sanitizer because it is based on HTML::TreeBuilder, so I thought Id write something similar that works directly with HTML::Parser.

<<less
Download (0.017MB)
Added: 2007-06-18 License: Perl Artistic License Price:
859 downloads
HTML::Puzzle 0.13

HTML::Puzzle 0.13


HTML::Puzzle is a framework to build web component based on database. more>>
HTML::Puzzle is a framework to build web component based on database.

HTML::Puzzle::DBTable

Connection module to data table

Examples

Have a look to
http://www.ebruni.it/en/software/perl/cpan/html/puzzle/examples/ex1.htm

to see some examples on what you can simply do using this module.

<<less
Download (0.012MB)
Added: 2007-02-22 License: Perl Artistic License Price:
975 downloads
HTML::Clean 0.8

HTML::Clean 0.8


HTML::Clean module cleans up HTML code for web browsers, not humans. more>>
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.

<<less
Download (0.047MB)
Added: 2007-08-07 License: Perl Artistic License Price:
808 downloads
HTML::Simple 0.4

HTML::Simple 0.4


HTML::Simple is a simple, dependency free module for generating HTML (and XML). more>>
HTML::Simple is a simple, dependency free module for generating HTML (and XML).

SYNOPSIS

Note: It turns out that TOMC owns the HTML::Simple namespace so Ive moved development of this module to HTML::Tiny. Please use HTML::Tiny in preference to this module.

use HTML::Simple;

my $h = HTML::Simple->new;

# Generate a simple page
print $h->html(
[
$h->head( $h->title( Sample page ) ),
$h->body(
[
$h->h1( { class => main }, Sample page ),
$h->p( Hello, World, { class => detail }, Second para )
]
)
]
);

# Outputs
< html>
< head>
< title>Sample page< /title>
< /head>
< body>
< h1 class="main">Sample page< /h1>
< p>Hello, World< /p>
< p class="detail">Second para< /p>
< /body>
< /html>

<<less
Download (0.010MB)
Added: 2007-07-04 License: Perl Artistic License Price:
843 downloads
HTML::BBReverse 0.07

HTML::BBReverse 0.07


HTML::BBReverse is a Perl module to convert HTML to BBCode and back. more>>
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 $bbcode = $bbr->reverse($html);

HTML::BBReverse is a pure perl module for converting BBCode to HTML and is able to convert the generated HTML back to BBCode.

And why would you want to reverse the generated HTML? Well, when you have a nice dynamic website where you and/or visitors can post messages, and in those messages BBCode is used for markup. In normal cases, your website has a lot more pageviews than edits, and saving all those messages as HTML will be a lot faster than saving them as the original BBCode and parsing them to HTML for every visit.

So now all BBCode gets converted to HTML before it will be saved, but what if you want to edit a message? Just reverse the generated HTML back to BBCode, edit your message, and save it as HTML again.

<<less
Download (0.009MB)
Added: 2006-08-10 License: Perl Artistic License Price:
676 downloads
HTML::Manipulator 0.07

HTML::Manipulator 0.07


HTML::Manipulator is a Perl extension for manipulating HTML files. more>>
HTML::Manipulator is a Perl extension for manipulating HTML files.

SYNOPSIS

use HTML::Manipulator;

my $html = {
_content => Slashdot,
href=>http://www.slashdot.org/ }
);

# extract a tag content
my $content = HTML::Manipulator::extract_content($html, link);

# extract a tag content and attributes
my $tag = HTML::Manipulator::extract($html, link);
# returns a hash ref like
# { href => http://www.google.com, id => link, _content => Google }

This module manipulates of the contents of HTML files. It can query and replace the content or attributes of any HTML tag.

The advertised usage pattern is to update static HTML files.

<<less
Download (0.012MB)
Added: 2006-12-05 License: Perl Artistic License Price:
1054 downloads
HTML::Mail 0.02_05

HTML::Mail 0.02_05


HTML::Mail is a Perl extension for sending emails with embedded HTML and media. more>>
HTML::Mail is a Perl extension for sending emails with embedded HTML and media.

SYNOPSIS

use HTML::Mail;

### initialisation
my $html_mail = HTML::Mail->new(
HTML => http://www.cpan.org,
Text => This is the text representation of the webpage http://www.cpan.org,
From => me@myhost.org,
To => you@yourhost.org,
Subject => CPAN webpage);

### Send the email ("inherited" from MIME::Lite)
$html_mail->send();

#### Remove text representation
$html_mail->set_Text();

### Rebuild the message and send
$html_mail->build->send;

### Serialise to file for later reuse
$html_mail->dump_file(/tmp/cpan_mail.data);

### Restore from file
my $restored = HTML::Mail->restore_file(/tmp/cpan_mail.data);

HTML::Mail is supposed to help with the task of sending emails with HTML and images (or other media) embedded or externally linked. It uses MIME::Lite for all MIME related jobs, HTML::Parser to find related files and change the URIs and LWP::UserAgent to retrieve the related files.

Email can be multipart/alternative if both HTML and Text content exist and multipart/related if there is only HTML content.

If all you want is to send text-only email, you probably wont find this module useful at all, or at best a huge overkill.

<<less
Download (0.015MB)
Added: 2006-10-23 License: Perl Artistic License Price:
1096 downloads
HTML::Latex 1.1

HTML::Latex 1.1


HTML::Latex is a Perl module that creates a Latex file from an HTML file. more>>
HTML::Latex is a Perl module that creates a Latex file from an HTML file.

SYNOPSIS

use HTML::Latex

my $parser = new HTML::Latex($conffile);
$parser->set_option(%options);
$parser->add_package(@packages);
$parser->ban_tag(@banned);
$parser->set_log($logfile);

# Option 1:
foreach my $uri (@ARGV) {
my ($htmlfile,$latexfile) = $parser->html2latex($uri);
}

# Option 2:
foreach my $uri (@ARGV) {
my $in = IO::File->new("< $uri");
my $out = IO::File->new("> $uri.tex");
$parser->html2latex($in,$out);
}

# Option 3:
my $html_string = join("n",);
my $tex_string = $parser->parse_string($html_string,1);

# Option 4:
my $html_string = join("",@ARGV);
my $tex_string = $parser->parse_string($html_string);
print $tex_string;

This class is used to create a text file in Latex format from a file in HTML format. Use the class as follows:

1. Create a new HTML::Latex object.
2. Override any options using set_option(), add_package(), ban_tag(), or set_log().
3. Run html2latex() on a file or URL.
4. Do whatever you want with the filename that was returned.

<<less
Download (0.047MB)
Added: 2006-09-21 License: Perl Artistic License Price:
1133 downloads
HTML::Sanitizer 0.04

HTML::Sanitizer 0.04


HTML::Sanitizer is a HTML Sanitizer. more>>
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.

<<less
Download (0.009MB)
Added: 2007-07-11 License: Perl Artistic License Price:
835 downloads
HTML::FromText 2.0.5

HTML::FromText 2.0.5


HTML::FromText is a Perl module that can convert plain text to HTML. more>>
HTML::FromText is a Perl module that can convert plain text to HTML.

SYNOPSIS

use HTML::FromText;
text2html( $text, %options );

# or

use HTML::FromText ();
my $t2h = HTML::FromText->new( %options );
my $html = $t2h->parse( $html );

HTML::FromText converts plain text to HTML. There are a handfull of options that shape the conversion. There is a utility function, text2html, thats exported by default. This function is simply a short- cut to the Object Oriented interface described in detail below.

<<less
Download (0.013MB)
Added: 2006-08-05 License: Perl Artistic License Price:
1175 downloads
HTML::QuickTable 1.12

HTML::QuickTable 1.12


HTML::QuickTable is a Perl module to quickly create fairly complex HTML tables. more>>
HTML::QuickTable is a Perl module to quickly create fairly complex HTML tables.

SYNOPSIS

use HTML::QuickTable;

my $qt = HTML::QuickTable->new(
table_width => 95%, # opt method 1
td => {bgcolor => gray}, # opt method 2
font_face => arial, # set font
font => {face => arial}, # same thing
labels => 1, # make top
<<less
Download (0.014MB)
Added: 2006-09-29 License: Perl Artistic License Price:
1123 downloads
HTML::FormRemove 0.3a

HTML::FormRemove 0.3a


HTML::FormRemove is a Perl module to remove form tags from HTML. more>>
HTML::FormRemove is a Perl module to remove form tags from HTML.

SYNOPSIS

my $html =
"< FORM > < INPUT TYPE=TEXT NAME=Test VALUE=Hello World! > < /FORM >";
use HTML::FormRemove
print RemoveFormValues($html);

HTML::FormRemove is a module that removes form tags from HTML, while otherwise leaving the HTML intact. This allows for forms to be converted into something printable and usable.

RemoveFormValues ( HTML [, HTML [, HTML [...]]] )
Removes the form values. Exported by default. Returns an array of lines containing the updated HTML, or one single like containing them separated by newlines.

NOTES

This module is a work in progress; Ive only got basic functionality working at the moment.

<<less
Download (0.004MB)
Added: 2007-02-13 License: Other/Proprietary License Price:
983 downloads
HTML::CGIChecker 0.90

HTML::CGIChecker 0.90


HTML::CGIChecker is a Perl module to detect dangerous HTML code. more>>
HTML::CGIChecker is a Perl module to detect dangerous HTML code.

SYNOPSIS

use HTML::CGIChecker;

$feedback =
< TABLE CELLPADDING="2" >< TR >< TD >One column< /TD >< /TR >< /TABLE >< BR >
" Arrays & variables "

Dough > Hi, how are you ?

And now some Perl code:
< PRE >
print "< HTML >< BODY >< /BODY >< /HTML >";
< /PRE >
;

# create the $checker object

$checker = new HTML::CGIChecker (
mode => allow,
allowclasses => [ qw( tables images ) ],
allowtags => [ qw ( B I A U STRONG BR HR ) ],
jscript => 0,
html => 0,
pre => 1,
debug => 0,
err_tag => Tag {tag} is not allowed in {element}.
);

# Now you can use it to check any string using its checkHTML()
# method. It "remembers" its configuration, so you can reuse it.

($checked_feedback, $Warnings) =
$checker->checkHTML ($feedback);

# Process the results ...

if ($checked_feedback) {
# save $checked_feedback to the database ....
}
else {
# print the warnings ...
print join ("n", @{$Warnings});
}

The example above produces no warning messages and returns $feedback checked and properly HTML escaped. The only HTML "error" - the unescaped ">" bracket on the fourth line - is autocorrected. One warning message was overriden by a customized version. Potential warnings would not be HTML formatted and HTML safe, because the html parameter is not true.

<<less
Download (0.014MB)
Added: 2007-08-07 License: Perl Artistic License Price:
809 downloads
Learn HTML By Example 1.03

Learn HTML By Example 1.03


Learn HTML By Example is a sweet little JavaScript / HTML program. more>>
Learn HTML By Example is a sweet little JavaScript / HTML program that allows you to see the HTML you input into on side displayed as a web page on the other.
To install the program, just download it from Web Design Factory, and upload it to your web site.
Main features:
- Easy installation. Just upload to your web site and youre done!
- Immediate feedback on testing HTML and CSS code
- Several examples of commonly used HTML and CSS elements
- No page refreshing required
- Easy to expand by adding new examples
<<less
Download (0.008MB)
Added: 2005-12-19 License: Freeware Price:
1406 downloads
HTML::Parser 3.54

HTML::Parser 3.54


HTML::Parser is a HTML parser class. more>>
HTML::Parser is a HTML parser class. Objects of the HTML::Parser class will recognize markup and separate it from plain text (alias data content) in HTML documents. As different kinds of markup and text are recognized, the corresponding event handlers are invoked.
HTML::Parser is not a generic SGML parser.

We have tried to make it able to deal with the HTML that is actually "out there", and it normally parses as closely as possible to the way the popular web browsers do it instead of strictly following one of the many HTML specifications from W3C. Where there is disagreement, there is often an option that you can enable to get the official behaviour.

The document to be parsed may be supplied in arbitrary chunks. This makes on-the-fly parsing as documents are received from the network possible.
If event driven parsing does not feel right for your application, you might want to use HTML::PullParser. This is an HTML::Parser subclass that allows a more conventional program structure.

SYNOPSIS:

use HTML::Parser ();

# Create parser object
$p = HTML::Parser->new( api_version => 3,
start_h => [&start, "tagname, attr"],
end_h => [&end, "tagname"],
marked_sections => 1,
);

# Parse document text chunk by chunk
$p->parse($chunk1);
$p->parse($chunk2);
#...
$p->eof; # signal end of document

# Parse directly from file
$p->parse_file("foo.html");
# or
open(my $fh, "<<less
Download (0.082MB)
Added: 2006-05-05 License: Perl Artistic License Price:
1269 downloads
Secleted [ 0 ] software to compare
  • Page: 1 of 5
  • 1
  • 2
  • 3
  • 4
  • 5