Debian Codegraph @

README

raw
1 HTML::Clean - Cleans up HTML code for web browsers, not humans
2 -------------------------------------------------------------------
3
4 1. INTRODUCTION
5
6 -- ``The HTML Compiler!''
7
8 The majority of the web pages of the internet today are
9 much larger than they need to be. The reason for this is
10 that HTML tends to be stored in a human readable format, with
11 indenting, newlines and comments.
12
13 However, all of these comments, whitespace etc. are ignored by
14 the browser, and needlessly lengthen download times.
15
16 Second, many people are using WYSIWYG HTML editors these days.
17 This makes creating content easy. However these editors can
18 cause a number of compatibility problems by tying themselves to
19 a particular browser or operating system.
20
21 Enter HTML::Clean.
22
23 The HTML::Clean module encapsulates a number of HTML optimizations
24 and cleanups. The end result is HTML that loads faster, displays
25 properly in more browsers. Think of it as a compiler that
26 translates HTML input into optimized machine readable code.
27
28 Uses
29
30 You can use the library in your perl-cgi scripts to optimize data. Or
31 use the included htmlclean script to preprocess HTML files or templates
32 on your server.
33
34 The results should be pages that load faster, less load on your web
35 server and better cross-platform HTML.
36
37 To read about the latest features, see the Changes file. To find
38 out about known bugs and to see what's planned for future versions,
39 see the TODO file.
40
41
42 2. AVAILABILITY
43
44 You can get the latest version of the HTML::Clean module from the
45 Comprehensive Perl Archive Network (CPAN) or from the author's homepage:
46
47 http://www.perl.org/CPAN/modules/by-module/HTML/
48 http://people.itu.int/~lindner/
49
50
51 3. PREREQUISITES
52
53 The HTML module requires the following:
54
55 Perl 5.004
56
57 The HTML::Clean module may work with earlier versions of the above, but the
58 author hasn't tested this. The latest versions can be obtained from CPAN:
59
60 http://www.perl.org/CPAN/
61
62
63 4. INSTALLATION
64
65 To build this module, run the following commands:
66
67 perl Makefile.PL
68 make
69 make test
70 make install
71
72
73 5. COPYRIGHT
74
75 Copyright (c) 1999 ITU. All rights reserved. This program
76 is free software; you can redistribute it and/or modify it under the
77 same terms as Perl itself.
78
79
80 6. AUTHOR & CO-AUTHOR INFORMATION
81
82 Paul Lindner
83 [email protected]
84 http://people.itu.int/~lindner/
85
86 Pavel Kuptsov
87 [email protected]
88 https://modernperl.ru
89