1 |
<!DOCTYPE html> |
2 |
<html lang="en"> |
3 |
<head> |
4 |
<title>Whatpm — Perl Modules for Web Hypertext Application |
5 |
Technologies (beta)</title> |
6 |
<link rel="stylesheet" href="http://suika.fam.cx/www/style/html/xhtml"> |
7 |
<link rel="license" href="#license"> |
8 |
<link rel="author" href="#author"> |
9 |
</head> |
10 |
<body> |
11 |
<h1>Whatpm (<em>beta</em>)</h1> |
12 |
|
13 |
<div class="section" id="introduction"> |
14 |
<h2>Introduction</h2> |
15 |
|
16 |
<p><dfn>Whatpm</dfn>, a subproject of |
17 |
<a href="http://suika.fam.cx/www/2006/manakai/" rel=up>manakai</a>, |
18 |
is a <em>work-in-progress</em> set of Perl modules for |
19 |
Web hypertext application technologies.</p> |
20 |
|
21 |
<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> |
26 |
<dd>An implementation of HTML5 Content Type sniffing algorithm.</dd> |
27 |
<dt><a href="Whatpm/HTML.html"><code>Whatpm::HTML</code></a></dt> |
28 |
<dd>An implementation of HTML5 parsing algorithm and |
29 |
<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 (<abbr>aka</abbr> MIME type) label |
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 |
<dt><a href="Whatpm/XMLSerializer.html"><code>Whatpm::XMLSerializer</code></a></dt> |
38 |
<dd>A simple XML serializer.</dd> |
39 |
<dt><a href="http://suika.fam.cx/gate/2005/sw/Whatpm%20Error%20Types">List of error types</a></dt> |
40 |
</dl> |
41 |
|
42 |
<p>Note that all of these modules are <em>work in progress</em> |
43 |
and have <a href="#todo">a number of unresolved problems</a>.</p> |
44 |
</div> |
45 |
|
46 |
<div class="section" id="demo"> |
47 |
<h2>Demo</h2> |
48 |
|
49 |
<ul> |
50 |
<li><a href="http://suika.fam.cx/gate/2007/html/parser-interface">HTML5 parser |
51 |
and checker demo</a></li> |
52 |
<li><a href="http://suika.fam.cx/gate/2007/html/table-interface">HTML5 table |
53 |
structure visualization demo</a></li> |
54 |
</ul> |
55 |
</div> |
56 |
|
57 |
<div class="section" id="dependency"> |
58 |
<h2>Dependency</h2> |
59 |
|
60 |
<dl> |
61 |
<dt>Perl 5.8 or later</dt> |
62 |
<dd>It is recommended to use newer release of Perl 5.8 or later.</dd> |
63 |
<dt><code>Message::IMT::InternetMediaType</code></dt> |
64 |
<dd><code>Whatpm::IMTChecker</code> depends on |
65 |
<code>Message::IMT::InternetMediaType</code>, which is part of |
66 |
<a href="http://suika.fam.cx/www/2006/manakai/">manakai</a>.</dd> |
67 |
<dt><code>Message::URI::URIReference</code></dt> |
68 |
<dd><code>Whatpm::URIChecker</code> depends on |
69 |
<code>Message::URI::URIReference</code>, which is part of |
70 |
<a href="http://suika.fam.cx/www/2006/manakai/">manakai</a>.</dd> |
71 |
<dt><a href="http://suika.fam.cx/www/manakai-charlib/readme">manakai |
72 |
charlib</a></dt> |
73 |
<dd><code>Whatpm::Charset::DeocdeHandle</code> depends on |
74 |
modules in <a href="http://suika.fam.cx/www/manakai-charlib/readme">manakai |
75 |
charlib</a> for <em>decoding Japanese character encodings</em>. |
76 |
See the documentation for |
77 |
<a href="http://suika.fam.cx/www/manakai-charlib/readme">manakai |
78 |
charlib</a> for more information.</dd> |
79 |
<dt><code>Message::DOM::DOMImplementation</code> and related modules</dt> |
80 |
<dd><em>Testing</em> for <code>Whatpm::ContentChecker</code> |
81 |
depends on <code>Message::DOM::DOMImplementation</code> and related modules |
82 |
in <a href="http://suika.fam.cx/www/2006/manakai/">manakai</a>. |
83 |
They are not required in practice.</dd> |
84 |
<dt><a href="http://search.cpan.org/~makamaka/JSON-1.14/"><code>JSON</code></a></dt> |
85 |
<dd><em>Testing</em> for <code>Whatpm::HTML</code> |
86 |
depends on <a href="http://search.cpan.org/~makamaka/JSON-1.14/"><code>JSON</code> and related modules</a>. |
87 |
They are not required in practice.</dd> |
88 |
</dl> |
89 |
</div> |
90 |
|
91 |
<div class="section" id="download"> |
92 |
<h2>Distribution</h2> |
93 |
|
94 |
<p>The development version of Whatpm may be found in the |
95 |
<a href="http://suika.fam.cx/gate/cvs/markup/html/whatpm/">CVS |
96 |
repository</a>.</p> |
97 |
|
98 |
</div> |
99 |
|
100 |
<div class="section" id="todo"> |
101 |
<h2>TO DO</h2> |
102 |
|
103 |
<ul> |
104 |
<li>Bug fix (Test results: |
105 |
<a href="t/content-type-result"><code>Whatpm::ContentType</code></a>, |
106 |
<a href="t/tokenizer-result">HTML tokenization</a>, |
107 |
<a href="t/tree-construction-result">HTML tree construction</a>, |
108 |
<a href="t/content-checker-result"><code>Whatpm::ContentChecker</code></a>).</li> |
109 |
<li>Charset detection.</li> |
110 |
<li>Validation for <code>meta</code>.</li> |
111 |
<li>Validation for media queries, IRIs (against URI schemes), language tags, |
112 |
and so on.</li> |
113 |
<li>Documentations are missing for some features.</li> |
114 |
<li><q>Whatpm</q> is a code name in fact. Please let me know |
115 |
if you have a better name.</li> |
116 |
<li>In addition, each module has its own TO DO items. |
117 |
(Search for <q>## TODO</q> and <q>## ISSUE</q> in each module.)</li> |
118 |
</ul> |
119 |
</div> |
120 |
|
121 |
<div class="section" id="author"> |
122 |
<h2>Author</h2> |
123 |
|
124 |
<p><a href="http://suika.fam.cx/~wakaba/who?" rel="author">Wakaba</a>.</p> |
125 |
</div> |
126 |
|
127 |
<div class="section" id="license"> |
128 |
<h2>License</h2> |
129 |
|
130 |
<p>Copyright 2007 Wakaba |
131 |
<code class="mail"><<a href="mailto:w@suika.fam.cx" |
132 |
rel="author">w@suika.fam.cx</a>></code>.</p> |
133 |
|
134 |
<p>This library is free software; you can redistribute it and/or modify |
135 |
it under the same terms as Perl itself.</p> |
136 |
</div> |
137 |
|
138 |
</body> |
139 |
</html> |