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 |
|
|
19 |
<p>It currently contains two Perl modules:</p> |
<p>It currently contains six Perl modules:</p> |
20 |
|
|
21 |
<dl> |
<dl> |
22 |
|
<dt><a href="Whatpm/ContentChecker.html"><code>Whatpm::ContentChecker</code></a></dt> |
23 |
|
<dd>A DOM5 HTML (in-memory representation of a document) conformance |
24 |
|
checker.</dd> |
25 |
<dt><a href="Whatpm/ContentType.html"><code>Whatpm::ContentType</code></a></dt> |
<dt><a href="Whatpm/ContentType.html"><code>Whatpm::ContentType</code></a></dt> |
26 |
<dd>An implementation of HTML5 Content Type sniffing algorithm.</dd> |
<dd>An implementation of HTML5 Content Type sniffing algorithm.</dd> |
27 |
<dt><a href="Whatpm/HTML.html"><code>Whatpm::HTML</code></a></dt> |
<dt><a href="Whatpm/HTML.html"><code>Whatpm::HTML</code></a></dt> |
28 |
<dd>An implementation of HTML5 parsing algorithm and |
<dd>An implementation of HTML5 parsing algorithm and |
29 |
<code>innerHTML</code> serialization.</dd> |
<code>innerHTML</code> serialization.</dd> |
30 |
|
<dt><a href="Whatpm/HTMLTable.html"><code>Whatpm::HTMLTable</code></a></dt> |
31 |
|
<dd>An implementation of the HTML5 table algorithm.</dd> |
32 |
|
<dt><a href="Whatpm/IMTChecker.html"><code>Whatpm::IMTChecker</code></a></dt> |
33 |
|
<dd>An Internet Media Type (aka MIME type) specification |
34 |
|
conformance checker.</dd> |
35 |
|
<dt><a href="Whatpm/URIChecker.html"><code>Whatpm::URIChecker</code></a></dt> |
36 |
|
<dd>An IRI reference conformance checker.</dd> |
37 |
</dl> |
</dl> |
38 |
|
|
39 |
|
<p>Note that all of these modules are <em>work in progress</em> |
40 |
|
and have <a href="#todo">a number of unresolved problems</a>.</p> |
41 |
</div> |
</div> |
42 |
|
|
43 |
<div class="section" id="demo"> |
<div class="section" id="demo"> |
44 |
<h2>Demo</h2> |
<h2>Demo</h2> |
45 |
|
|
46 |
<p><a href="http://suika.fam.cx/gate/2007/html/parser-interface">HTML5 parser |
<ul> |
47 |
demo</a></p> |
<li><a href="http://suika.fam.cx/gate/2007/html/parser-interface">HTML5 parser |
48 |
|
and checker demo</a></li> |
49 |
|
<li><a href="http://suika.fam.cx/gate/2007/html/table-interface">HTML5 table |
50 |
|
structure visualization demo</a></li> |
51 |
|
</ul> |
52 |
</div> |
</div> |
53 |
|
|
54 |
<div class="section" id="download"> |
<div class="section" id="download"> |
55 |
<h2>Distribution</h2> |
<h2>Distribution</h2> |
56 |
|
|
|
<p>Tarball will be available when setter for <code>innerHTML</code> |
|
|
is implemented.</p> |
|
|
|
|
57 |
<p>The development version of Whatpm may be found in the |
<p>The development version of Whatpm may be found in the |
58 |
<a href="http://suika.fam.cx/gate/cvs/markup/html/whatpm/">CVS |
<a href="http://suika.fam.cx/gate/cvs/markup/html/whatpm/">CVS |
59 |
repository</a>.</p> |
repository</a>.</p> |
65 |
|
|
66 |
<ul> |
<ul> |
67 |
<li>Bug fix (Test results: |
<li>Bug fix (Test results: |
68 |
|
<a href="t/content-type-result"><code>Whatpm::ContentType</code></a>, |
69 |
<a href="t/tokenizer-result">HTML tokenization</a>, |
<a href="t/tokenizer-result">HTML tokenization</a>, |
70 |
<a href="t/tree-construction-result">HTML tree construction</a>)</li> |
<a href="t/tree-construction-result">HTML tree construction</a>, |
71 |
<li><code>innerHTML</code> setter</li> |
<a href="t/content-checker-result"><code>Whatpm::ContentChecker</code></a>).</li> |
72 |
<li>Charset detection</li> |
<li>Charset detection.</li> |
73 |
|
<li>Validation for <code>meta</code>.</li> |
74 |
|
<li>Validation for media queries, IRIs (against URI schemes), language tags, |
75 |
|
and so on.</li> |
76 |
|
<li>Documentations are missing for some features.</li> |
77 |
<li><q>Whatpm</q> is a code name in fact. Please let me know |
<li><q>Whatpm</q> is a code name in fact. Please let me know |
78 |
if you have a better name.</li> |
if you have a better name.</li> |
79 |
<li>Each module has its own TO DO list.</li> |
<li>In addition, each module has its own TO DO items. |
80 |
|
(Search for <q>## TODO</q> and <q>## ISSUE</q> in each module.)</li> |
81 |
</ul> |
</ul> |
82 |
</div> |
</div> |
83 |
|
|
84 |
<div class="section" id="author"> |
<div class="section" id="author"> |
85 |
<h2>Author</h2> |
<h2>Author</h2> |
86 |
|
|
87 |
<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> |
88 |
</div> |
</div> |
89 |
|
|
90 |
<div class="section" id="license"> |
<div class="section" id="license"> |
91 |
<h2>License</h2> |
<h2>License</h2> |
92 |
|
|
93 |
<p>Copyright 2007 Wakaba <w@suika.fam.cx></p> |
<p>Copyright 2007 Wakaba |
94 |
|
<code class="mail"><<a href="mailto:w@suika.fam.cx" |
95 |
|
rel="author">w@suika.fam.cx</a>></code>.</p> |
96 |
|
|
97 |
<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 |
98 |
it under the same terms as Perl itself.</p> |
it under the same terms as Perl itself.</p> |