Main > Free Download Search >

Free html software for linux

html

Sponsored Links
Sponsored Links
Secleted [ 0 ] software to compare
Results 1 - 15 of about 2214
HTML::EP

HTML::EP


HTML::EP is a system for embedding Perl into HTML. more>>
HTML::EP is a system for embedding Perl into HTML.
SYNOPSIS
< html >< head >< title >CGI-Env< /title >< /head >
< ep-comment >
This is an HTML document. You see. Perhaps you wonder about
the unknown HTML tags like ep-comment above? They are part
of the EP system. For example, this comment section will
be removed and you wont see it in your browser.
< /ep-comment >
< ep-perl >
# This is an example of embedding Perl into the page.
# We create a variable called time, containing the current
# time. This variable will be used below.
my $self = $_;
$self->{time} = localtime(time());
; # Return an empty string; result becomes embedded into the
# HTML page
< /ep-perl >
< body >< h1 >The current time< /h1 >
Your HTML::EP system is up and running: The current time is $time$.
< /body >
< /html >
NEWS
HTML::EP does now have a homepage, a CVS repository and a bug tracking system. Try
http://html-ep.sourceforge.net/
Have you ever written a CGI binary? Easy thing, isnt it? Was just fun!
Have you written two CGI binaries? Even easier, but not so much fun.
How about the third, fourth or fifth tool? Sometimes you notice that you are always doing the same:
- Reading and parsing variables
- Formatting output, in particular building tables
- Sending mail out from the page
- Building a database connection, passing CGI input to the database and vice versa
- Talking to HTML designers about realizing their wishes
You see, its soon to become a pain. Of course there are little helpers around, for example the CGI module, the mod_perl suite and lots of it more. Using them make live a lot easier, but not so much as you like. CGI(3). mod_perl(3).
On the other hand, there are tools like PHP or WebHTML. Incredibly easy to use, but not as powerfull as Perl. Why not get the best from both worlds? This is what EP wants to give you, similar to ePerl or HTML::EmbPerl. I personally believe that EP is simpler and better extendible than the latter two. ePerl(1). HTML::EmbPerl(3).
In short, its a single, but extensible program, that scans an HTML document for certain special HTML tags. These tags are replaced by appropriate output generated by the EP. What remains is passed to the browser. Its just like writing HTML for an enhanced browser!
<<less
Download (0.042MB)
Added: 2006-06-15 License: Perl Artistic License Price:
1227 downloads
HTML Tidy

HTML Tidy


HTML Tidy cleans up HTML source and formats it nicely. more>>
HTML TIDY is a free utility to fix mistakes made while editing HTML and to automatically tidy up sloppy editing into nicely layed out markup. It also works great on the atrociously hard to read markup generated by specialized HTML editors and conversion tools, and can help you identify where you need to pay further attention on making your pages more accessible to people with disabilities.
When editing HTML its easy to make mistakes. Wouldnt it be nice if there was a simple way to fix these mistakes automatically and tidy up sloppy editing into nicely layed out markup? Well now there is! Dave Raggetts HTML TIDY is a free utility for doing just that. It also works great on the atrociously hard to read markup generated by specialized HTML editors and conversion tools, and can help you identify where you need to pay further attention on making your pages more accessible to people with disabilities.
Tidy is able to fix up a wide range of problems and to bring to your attention things that you need to work on yourself. Each item found is listed with the line number and column so that you can see where the problem lies in your markup. Tidy wont generate a cleaned up version when there are problems that it cant be sure of how to handle. These are logged as "errors" rather than "warnings".
Dave Raggett has now passed the baton for maintaining Tidy to a group of volunteers working together as part of the open source community at Source Forge. The source code continues to be available under an open source license, and you are encouraged to pass on bug reports and enhancement requests at http://tidy.sourceforge.net.
If you find HTML Tidy useful and you would like to say thanks, then please send me a (paper) postcard or other souvenir from the area in which you live along with a few words on what you are using Tidy for. It will be fun to map out where Tidy users are to be found! My postal address is given at the end of this file.
The W3C public email list devoted to HTML Tidy is: . To subscribe send an email to html-tidy-request@w3.org with the word subscribe in the subject line (include the word unsubscribe if you want to unsubscribe). The archive for this list is accessible online. If you would like to contact the developers, or you just want to submit an enhancement request or a bug report, please visit http://tidy.sourceforge.net.
Tidy can now perform wonders on HTML saved from Microsoft Word 2000! Word bulks out HTML files with stuff for round-tripping presentation between HTML and Word. If you are more concerned about using HTML on the Web, check out Tidys "Word-2000" config option! Of course Tidy does a good job on Word97 files as well!
Main features:
- Missing or mismatched end tags are detected and corrected
- End tags in the wrong order are corrected
- Fixes problems with heading emphasis
- Recovers from mixed up tags
- Getting the
in the right place
- Adding the missing "/" in end tags for anchors
- Perfecting lists by putting in tags missed out
- Missing quotes around attribute values are added
- Unknown/Proprietary attributes are reported
- Proprietary elements are recognized and reported as such
- Tags lacking a terminating > are spotted
<<less
Download (0.22MB)
Added: 2005-05-05 License: MIT/X Consortium License Price:
2216 downloads
HTML::LoL 1.3

HTML::LoL 1.3


HTML::LoL is a Perl module that can construct HTML from pleasing Perl data structures. more>>
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 syntax to express HTML. The function hl() converts Perl list-of-list structures into HTML strings.

The first argument to hl() is a callback function thats passed one argument: a fragment of generated HTML. This callback is invoked repeatedly with successive fragments until all the HTML is generated; the callback is responsible for assembling the fragments in the desired output location (e.g., a string or file).

The remaining arguments to hl() are Perl objects representing HTML, as follows:

[TAG, ...]

TAG is a string (the name of an HTML element); remaining list items are any of the forms described herein. Corresponds to < TAG >...< /TAG >. If TAG is an "empty element" according to %HTML::Tagset::emptyElement, then the < /TAG > is omitted.

[TAG => {ATTR1 => VAL1, ATTR2 => VAL2, ...}, ...]

Corresponds to < TAG ATTR1="VAL1" ATTR2="VAL2" ... >...< /TAG >. (As above, < /TAG > is omitted if TAG is an "empty element.") Each ATTR is a string. Each VAL is either a string, in which case the value gets HTML-entity-encoded when copied to the output, or a list reference containing a single string (viz. [VAL]) in which case the value is copied literally.

Finally, for boolean-valued attributes, VAL may be hl_bool(BOOLEAN), where BOOLEAN is a Perl expression. If BOOLEAN is true, the attribute is included in the output; otherwise its omitted.

Any string

Strings are copied verbatim to the output after entity-encoding.

hl_noquote(...)

Suppresses entity-encoding of its arguments.

hl_requote(...)

Reenables entity-encoding of its arguments (use it inside a call to hl_noquote()).

hl_preserve(...)

Normally, HTML::LoL tries to optimize the whitespace in the HTML it emits (without changing the meaning of the HTML). This suppresses that behavior within its arguments.

hl_entity(NAME)

Includes the HTML character-entity named NAME.

The return value of hl() is the result of the last call to the callback function. This means its possible to write

&hl(sub { $accumulator .= shift }, ...)

to have hl() return a string containing the completely rendered HTML.

<<less
Download (0.005MB)
Added: 2007-07-05 License: Perl Artistic License Price:
843 downloads
HTML::DWT 2.08

HTML::DWT 2.08


HTML::DWT is a Perl module with DreamWeaver HTML Template. more>>
HTML::DWT is a Perl module with DreamWeaver HTML Template.

INSTALLATION

Unzip/tar the archive:
tar xvfz HTML-DWT-2.08

Create the makefile
perl Makefile.PL

Make the module (must have root access to install)
make
make test
make install

SYNOPSIS

use HTML::DWT;

$template = new HTML::DWT(filename => "file.dwt");
%dataHash = (
doctitle => DWT Generated,
leftcont => some HTML content here
);
$html = $template->fill(%dataHash);

or

use HTML::DWT qw(:Template);

$template = new HTML::DWT(filename => "file.dwt");
$template->param(
doctitle => < title >DWT Generated< /title >,
leftcont => Some HTML content here
);
$html = $template->output();

A perl module designed to parse a simple HTML template file generated by Macromedia Dreamweaver and replace fields in the template with values from a CGI script.

<<less
Download (0.017MB)
Added: 2006-09-20 License: Perl Artistic License Price:
1141 downloads
HTML::Toc 0.21

HTML::Toc 0.21


HTML::Toc module can generate, insert and update HTML Table of Contents. more>>
HTML::Toc module can generate, insert and update HTML Table of Contents.

The HTML::Toc consists out of the following packages:

HTML::Toc
HTML::TocGenerator
HTML::TocInsertor
HTML::TocUpdator

HTML::Toc is the object which will eventually hold the Table of Contents. HTML::TocGenerator does the actual generation of the ToC. HTML::TocInsertor handles the insertion of the ToC in the source. HTML::TocUpdator takes care of updating previously inserted ToCs.

HTML::Parser is the base object of HTML::TocGenerator, HTML::TocInsertor and HTML::TocUpdator. Each of these objects uses its predecessor as its ancestor, as shown in the UML diagram underneath:

+---------------------+
| HTML::Parser |
+---------------------+
+---------------------+
| +parse() |
| +parse_file() |
+----------+----------+
/_
|
+----------+----------+ +-----------+
| HTML::TocGenerator + - - - - - -+ HTML::Toc |
+---------------------+ +-----------+
+---------------------+ +-----------+
| +extend() | | +clear() |
| +extendFromFile() | | +format() |
| +generate() | +-----+-----+
| +generateFromFile() | :
+----------+----------+ :
/_ :
| :
+----------+----------+ :
| HTML::TocInsertor + - - - - - - - - -+
+---------------------+ :
+---------------------+ :
| +insert() | :
| +insertIntoFile() | :
+----------+----------+ :
/_ :
| :
+----------+----------+ :
| HTML::TocUpdator + - - - - - - - - -+
+---------------------+
+---------------------+
| +insert() |
| +insertIntoFile() |
| +update() |
| +updateFile() |
+---------------------+

When generating a ToC youll have to decide which object you want to use:

TocGenerator:

for generating a ToC without inserting the ToC into the source

TocInsertor:

for generating a ToC and inserting the ToC into the source

TocUpdator:

for generating and inserting a ToC, removing any previously inserted ToC elements

Thus in tabular view, each object is capable of:

generating inserting updating
---------------------------------
TocGenerator X
TocInsertor X X
TocUpdator X X X

<<less
Download (0.042MB)
Added: 2007-08-15 License: Perl Artistic License Price:
800 downloads
Pod::Html 5.9.4

Pod::Html 5.9.4


Pod::Html is a Perl module to convert pod files to HTML. more>>
Pod::Html is a Perl module to convert pod files to HTML.

SYNOPSIS

use Pod::Html;
pod2html([options]);

Converts files from pod format (see perlpod) to HTML format. It can automatically generate indexes and cross-references, and it keeps a cache of things it knows how to cross-reference.

<<less
Download (13.6MB)
Added: 2006-08-23 License: Perl Artistic License Price:
1159 downloads
YAPE::HTML 1.11

YAPE::HTML 1.11


YAPE::HTML is Yet Another Parser/Extractor for HTML. more>>
YAPE::HTML is Yet Another Parser/Extractor for HTML.

SYNOPSIS

use YAPE::HTML;
use strict;

my $content = "< html>...< /html>";
my $parser = YAPE::HTML->new($content);
my ($extor,@fonts,@urls,@headings,@comments);

# here is the tokenizing part
while (my $chunk = $parser->next) {
if ($chunk->type eq tag and $chunk->tag eq font) {
if (my $face = $chunk->get_attr(face)) {
push @fonts, $face;
}
}
}

# here we catch any errors
unless ($parser->done) {
die sprintf "bad HTML: %s (%s)",
$parser->error, $parser->chunk;
}

# here is the extracting part

# < A> tags with HREF attributes
# < IMG> tags with SRC attributes
$extor = $parser->extract(a => [href], img => [src]);
while (my $chunk = $extor->()) {
push @urls, $chunk->get_attr(
$chunk->tag eq a ? href : src
);
}

# < H1>, < H2>, ..., < H6> tags
$extor = $parser->extract(qr/^h[1-6]$/ => []);
while (my $chunk = $extor->()) {
push @headings, $chunk;
}

# all comments
$extor = $parser->extract(-COMMENT => []);
while (my $chunk = $extor->()) {
push @comments, $chunk;
}

YAPE MODULES

The YAPE hierarchy of modules is an attempt at a unified means of parsing and extracting content. It attempts to maintain a generic interface, to promote simplicity and reusability. The API is powerful, yet simple. The modules do tokenization (which can be intercepted) and build trees, so that extraction of specific nodes is doable.

This module is yet another parser and tree-builder for HTML documents. It is designed to make extraction and modification of HTML documents simplistic. The API allows for easy custom additions to the document being parsed, and allows very specific tag, text, and comment extraction.

<<less
Download (0.019MB)
Added: 2007-07-11 License: Perl Artistic License Price:
842 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::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::Lint 2.02

HTML::Lint 2.02


HTML::Lint can check for HTML errors in a string or file. more>>
HTML::Lint can check for HTML errors in a string or file.

SYNOPSIS

my $lint = HTML::Lint->new;
$lint->only_types( HTML::Lint::STRUCTURE );

$lint->parse( $data );
$lint->parse_file( $filename );

my $error_count = $lint->errors;

foreach my $error ( $lint->errors ) {
print $error->as_string, "n";
}

HTML::Lint also comes with a wrapper program called weblint that handles linting from the command line:

$ weblint http://www.cnn.com/
http://www.cnn.com/ (395:83) < IMG SRC="spacer.gif" > tag has no HEIGHT and WIDTH attributes.
http://www.cnn.com/ (395:83) < IMG SRC="goofus.gif" > does not have ALT text defined
http://www.cnn.com/ (396:217) Unknown element < nobr >
http://www.cnn.com/ (396:241) < /nobr > with no opening < nobr >
http://www.cnn.com/ (842:7) target attribute in < a > is repeated

And finally, you can also get Apache::HTML::Lint that passes any mod_perl-generated code through HTML::Lint and get it dumped into your Apache error_log.

[Mon Jun 3 14:03:31 2002] [warn] /foo.pl (1:45) < /p > with no opening < p >
[Mon Jun 3 14:03:31 2002] [warn] /foo.pl (1:49) Unknown element < gronk >
[Mon Jun 3 14:03:31 2002] [warn] /foo.pl (1:56) Unknown attribute "x" for tag < table >

<<less
Download (0.022MB)
Added: 2007-08-06 License: Perl Artistic License Price:
813 downloads
Blatte::HTML 0.9

Blatte::HTML 0.9


Blatte::HTML is a Perl module that contains tools for generating HTML with Blatte. more>>
Blatte::HTML is a Perl module that contains tools for generating HTML with Blatte.

SYNOPSIS

use Blatte;
use Blatte::Builtins;
use Blatte::HTML;

$perl = &Blatte::Parse(...string of Blatte code...);
$val = eval $perl;
&Blatte::HTML::render($val, &emit);

sub emit {
print shift;
}

<<less
Download (0.014MB)
Added: 2007-04-20 License: Perl Artistic License Price:
917 downloads
HTML::YaTmpl 1.8

HTML::YaTmpl 1.8


HTML::YaTmpl is yet another template processor. more>>
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,
key1=>$value1,
key2=>[$val21, $val22, ...]
... );

ABSTRACT

HTML::YaTmpl aims mainly to provide a HTML template processor that saves the template writer typing.

There are general template processors like Text::Template and tools to embed perl in HTML like HTML::Embperl or HTML template processors like HTML::Template. Why have I decided to start yet another? Well, Text::Template is not really convenient when it comes to process repeating data records like HTML tables. With HTML::Embperl no professional "WEB Designer" will be able to "enhance" the pages. And HTML::Template enforces a strict division of design and programming. Thus, it enforces changes to the programming logic even if you only want to exchange a long number like 2835067264068365493 with a more human readable 2,835,067,264,068,365,493.

HTML::YaTmpl attempts to make simple things easy but complexity feasible.

<<less
Download (0.041MB)
Added: 2007-07-02 License: Perl Artistic License Price:
844 downloads
HTML::Myasp 0.05

HTML::Myasp 0.05


HTML::Myasp can generate HTML pages based on Templates. JATP (Just Another Template Parser). more>>
HTML::Myasp can generate HTML pages based on Templates. JATP (Just Another Template Parser).

This library is another template module for the generation of HTML pages. Why ?. Well primarily i wanted a module: light, that keeps mod_perl power and flow control like HTML::Template, good interaction with external contents administrators, have the chance of using naturally the print statement for generating web content, but, for some situations have the chance of directly replace keywords in the template with values. In some way this module centralizes the feature of a hash with values for replacing that you find in HTML::Template and the XMLSubsMatch feature of Apache::ASP.

This module keeps the basic mod_perl flow, and permits the replacing with dynamic content using two forms of marking. Is very well suited for working in parallel with the designers team, living each group advance on its own.

HTML::Myasp export the send_page function by default, you can attach the dynamic content using:

A callback style for special tags delimiting zones.
Direct replacing of keywords by values.
In order to improve performance it uses a global pages CACHE hash, avoiding parsing files unless modified.

<<less
Download (0.006MB)
Added: 2006-08-01 License: GPL (GNU General Public License) Price:
1179 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::Mason 1.32

HTML::Mason 1.32


HTML::Mason is a powerful Perl-based web site development and delivery engine. more>>
HTML::Mason is a powerful Perl-based web site development and delivery engine. With Mason you can embed Perl code in your HTML and construct pages from shared, reusable components.

Mason solves the common problems of site development: caching, debugging, templating, maintaining development and production sites, and more.

Mason is 100% free and open source. Although it can be used from CGI or even stand-alone, it is optimally designed for use with two other open source technologies: mod_perl and Apache.

<<less
Download (MB)
Added: 2006-01-26 License: Artistic License Price:
1366 downloads
Secleted [ 0 ] software to compare
  • Page: 1 of 5
  • 1
  • 2
  • 3
  • 4
  • 5