threebytesfull / html-tidy

HTML::Tidy, a Perl wrapper about libtidy

Home Page:http://search.cpan.org/dist/HTML-Tidy

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

HTML::Tidy

HTML::Tidy is an HTML checker in a handy dandy object. It's meant as a companion to HTML::Lint, which is written in Perl but is not nearly as capable as HTML::Tidy.

PREREQUISITES

HTML::Tidy does very little work. The real work of HTML::Tidy is done by the tidyp library, which is written in C. To use HTML::Tidy, you must install tidyp.

There are two, perhaps three, ways to install tidyp:

  • Get a tarball from the tidyp source distributions from Github and and build it like any other C library. Note that you must get a source tarball, not just clone the source tree via github.

  • Install the Alien::Tidyp Perl module, which automates the tidyp installation process.

  • Your operating system may also have a package for tidyp that you can install. As of this writing, these operating systems are known to provide tidyp library:

You need only do one of these steps.

INSTALLATION

Once you have libtidyp installed via one of the previous methods, install HTML::Tidy like any standard Perl module.

perl Makefile.PL
make
make test
make install

COPYRIGHT AND LICENSE

Copyright (C) 2004-2017 by Andy Lester

This library is free software. It may be redistributed and modified under the Artistic License v2.0.

About

HTML::Tidy, a Perl wrapper about libtidy

http://search.cpan.org/dist/HTML-Tidy


Languages

Language:Perl 62.3%Language:C 29.1%Language:XS 5.8%Language:HTML 2.9%