2 |
<html lang="en"> |
<html lang="en"> |
3 |
<head> |
<head> |
4 |
<title>Whatpm — Perl Modules for Web Hypertext Application |
<title>Whatpm — Perl Modules for Web Hypertext Application |
5 |
Technologies</title> |
Technologies (beta)</title> |
6 |
<link rel="stylesheet" href="http://suika.fam.cx/www/style/html/xhtml"> |
<link rel="stylesheet" href="http://suika.fam.cx/www/style/html/xhtml"> |
7 |
<link rel="license" href="#license"> |
<link rel="license" href="#license"> |
8 |
<link rel="author" href="#author"> |
<link rel="author" href="#author"> |
9 |
</head> |
</head> |
10 |
<body> |
<body> |
11 |
<h1>Whatpm</h1> |
<h1>Whatpm (<em>beta</em>)</h1> |
12 |
|
|
13 |
<div class="section" id="introduction"> |
<div class="section" id="introduction"> |
14 |
<h2>Introduction</h2> |
<h2>Introduction</h2> |
15 |
|
|
16 |
<p><dfn>Whatpm</dfn> is a set of Perl modules for |
<p><dfn>Whatpm</dfn> is a <em>work-in-progress</em> set of Perl modules for |
17 |
Web hypertext application technologies.</p> |
Web hypertext application technologies.</p> |
18 |
|
|
|
<p>It currently contains two Perl modules:</p> |
|
|
|
|
19 |
<dl> |
<dl> |
20 |
|
<dt><a href="Whatpm/ContentChecker.html"><code>Whatpm::ContentChecker</code></a></dt> |
21 |
|
<dd>A DOM5 HTML (in-memory representation of a document) conformance |
22 |
|
checker.</dd> |
23 |
<dt><a href="Whatpm/ContentType.html"><code>Whatpm::ContentType</code></a></dt> |
<dt><a href="Whatpm/ContentType.html"><code>Whatpm::ContentType</code></a></dt> |
24 |
<dd>An implementation of HTML5 Content Type sniffing algorithm.</dd> |
<dd>An implementation of HTML5 Content Type sniffing algorithm.</dd> |
25 |
<dt><a href="Whatpm/HTML.html"><code>Whatpm::HTML</code></a></dt> |
<dt><a href="Whatpm/HTML.html"><code>Whatpm::HTML</code></a></dt> |
26 |
<dd>An implementation of HTML5 parsing algorithm and |
<dd>An implementation of HTML5 parsing algorithm and |
27 |
<code>innerHTML</code> serialization.</dd> |
<code>innerHTML</code> serialization.</dd> |
28 |
|
<dt><a href="Whatpm/HTMLTable.html"><code>Whatpm::HTMLTable</code></a></dt> |
29 |
|
<dd>An implementation of the HTML5 table algorithm.</dd> |
30 |
|
<dt><a href="Whatpm/IMTChecker.html"><code>Whatpm::IMTChecker</code></a></dt> |
31 |
|
<dd>An Internet Media Type (<abbr>aka</abbr> MIME type) label |
32 |
|
conformance checker.</dd> |
33 |
|
<dt><a href="Whatpm/URIChecker.html"><code>Whatpm::URIChecker</code></a></dt> |
34 |
|
<dd>An IRI reference conformance checker.</dd> |
35 |
|
<dt><a href="Whatpm/XMLSerializer.html"><code>Whatpm::XMLSerializer</code></a></dt> |
36 |
|
<dd>A simple XML serializer.</dd> |
37 |
|
<dt><a href="http://suika.fam.cx/gate/2005/sw/Whatpm%20Error%20Types">List of error types</a></dt> |
38 |
</dl> |
</dl> |
39 |
|
|
40 |
|
<p>Note that all of these modules are <em>work in progress</em> |
41 |
|
and have <a href="#todo">a number of unresolved problems</a>.</p> |
42 |
</div> |
</div> |
43 |
|
|
44 |
<div class="section" id="demo"> |
<div class="section" id="demo"> |
45 |
<h2>Demo</h2> |
<h2>Demo</h2> |
46 |
|
|
47 |
<p><a href="http://suika.fam.cx/gate/2007/html/parser-interface">HTML5 parser |
<ul> |
48 |
demo</a></p> |
<li><a href="http://suika.fam.cx/gate/2007/html/parser-interface">HTML5 parser |
49 |
|
and checker demo</a></li> |
50 |
|
<li><a href="http://suika.fam.cx/gate/2007/html/table-interface">HTML5 table |
51 |
|
structure visualization demo</a></li> |
52 |
|
</ul> |
53 |
</div> |
</div> |
54 |
|
|
55 |
<div class="section" id="download"> |
<div class="section" id="download"> |
56 |
<h2>Distribution</h2> |
<h2>Distribution</h2> |
57 |
|
|
|
<p>Tarball will be available when setter for <code>innerHTML</code> |
|
|
is implemented.</p> |
|
|
|
|
58 |
<p>The development version of Whatpm may be found in the |
<p>The development version of Whatpm may be found in the |
59 |
<a href="http://suika.fam.cx/gate/cvs/markup/html/whatpm/">CVS |
<a href="http://suika.fam.cx/gate/cvs/markup/html/whatpm/">CVS |
60 |
repository</a>.</p> |
repository</a>.</p> |
61 |
|
|
62 |
</div> |
</div> |
63 |
|
|
64 |
|
<div class="section" id="todo"> |
65 |
|
<h2>TO DO</h2> |
66 |
|
|
67 |
|
<ul> |
68 |
|
<li>Bug fix (Test results: |
69 |
|
<a href="t/content-type-result"><code>Whatpm::ContentType</code></a>, |
70 |
|
<a href="t/tokenizer-result">HTML tokenization</a>, |
71 |
|
<a href="t/tree-construction-result">HTML tree construction</a>, |
72 |
|
<a href="t/content-checker-result"><code>Whatpm::ContentChecker</code></a>).</li> |
73 |
|
<li>Charset detection.</li> |
74 |
|
<li>Validation for <code>meta</code>.</li> |
75 |
|
<li>Validation for media queries, IRIs (against URI schemes), language tags, |
76 |
|
and so on.</li> |
77 |
|
<li>Documentations are missing for some features.</li> |
78 |
|
<li><q>Whatpm</q> is a code name in fact. Please let me know |
79 |
|
if you have a better name.</li> |
80 |
|
<li>In addition, each module has its own TO DO items. |
81 |
|
(Search for <q>## TODO</q> and <q>## ISSUE</q> in each module.)</li> |
82 |
|
</ul> |
83 |
|
</div> |
84 |
|
|
85 |
<div class="section" id="author"> |
<div class="section" id="author"> |
86 |
<h2>Author</h2> |
<h2>Author</h2> |
87 |
|
|
88 |
<p><a href="http://suika.fam.cx/~wakaba/who?">Wakaba</a>.</p> |
<p><a href="http://suika.fam.cx/~wakaba/who?" rel="author">Wakaba</a>.</p> |
89 |
</div> |
</div> |
90 |
|
|
91 |
<div class="section" id="license"> |
<div class="section" id="license"> |
92 |
<h2>License</h2> |
<h2>License</h2> |
93 |
|
|
94 |
<p>Copyright 2007 Wakaba <w@suika.fam.cx></p> |
<p>Copyright 2007 Wakaba |
95 |
|
<code class="mail"><<a href="mailto:w@suika.fam.cx" |
96 |
|
rel="author">w@suika.fam.cx</a>></code>.</p> |
97 |
|
|
98 |
<p>This library is free software; you can redistribute it and/or modify |
<p>This library is free software; you can redistribute it and/or modify |
99 |
it under the same terms as Perl itself.</p> |
it under the same terms as Perl itself.</p> |