13 |
<div class="section" id="introduction"> |
<div class="section" id="introduction"> |
14 |
<h2>Introduction</h2> |
<h2>Introduction</h2> |
15 |
|
|
16 |
<p><dfn>Whatpm</dfn>, part of |
<p><dfn>Whatpm</dfn> is a <em>work-in-progress</em> set of Perl modules for |
17 |
<a href="http://suika.fam.cx/www/2006/manakai/" rel=up>manakai</a>, |
Web hypertext application technologies. It is part |
18 |
is a <em>work-in-progress</em> set of Perl modules for |
of the <a href="http://suika.fam.cx/www/2006/manakai/" rel=up>manakai</a> |
19 |
Web hypertext application technologies.</p> |
project.</p> |
20 |
|
|
21 |
<dl> |
<dl> |
22 |
|
<dt>Modules</dt> |
23 |
|
<dd><dl> |
24 |
<dt><a href="Whatpm/ContentChecker.html"><code>Whatpm::ContentChecker</code></a></dt> |
<dt><a href="Whatpm/ContentChecker.html"><code>Whatpm::ContentChecker</code></a></dt> |
25 |
<dd>A DOM5 HTML (in-memory representation of a document) conformance |
<dd>A DOM5 HTML (in-memory representation of a document) conformance |
26 |
checker.</dd> |
checker with a partial support for Atom 1.0.</dd> |
27 |
<dt><a href="Whatpm/ContentType.html"><code>Whatpm::ContentType</code></a></dt> |
<dt><a href="Whatpm/ContentType.html"><code>Whatpm::ContentType</code></a></dt> |
28 |
<dd>An implementation of HTML5 Content Type sniffing algorithm.</dd> |
<dd>An implementation of HTML5 Content Type sniffing algorithm.</dd> |
29 |
|
<dt><a href="Whatpm/CSS/Tokenizer.html"><code>Whatpm::CSS::Tokenizer</code></a></dt> |
30 |
|
<dd>A CSS tokenizer.</dd> |
31 |
<dt><a href="Whatpm/HTML.html"><code>Whatpm::HTML</code></a></dt> |
<dt><a href="Whatpm/HTML.html"><code>Whatpm::HTML</code></a></dt> |
32 |
<dd>An implementation of HTML5 parsing algorithm and |
<dd>An implementation of HTML5 parsing algorithm, fragment |
33 |
<code>innerHTML</code> serialization.</dd> |
parsing, and fragment serialization algorithms. It can be used |
34 |
|
to convert a string into DOM, or <i lang="">vice versa</i>.</dd> |
35 |
<dt><a href="Whatpm/HTMLTable.html"><code>Whatpm::HTMLTable</code></a></dt> |
<dt><a href="Whatpm/HTMLTable.html"><code>Whatpm::HTMLTable</code></a></dt> |
36 |
<dd>An implementation of the HTML5 table algorithm.</dd> |
<dd>An implementation of the HTML5 table algorithm. It can be |
37 |
|
used to extract a table structure from a DOM <code>table</code> |
38 |
|
element node.</dd> |
39 |
<dt><a href="Whatpm/IMTChecker.html"><code>Whatpm::IMTChecker</code></a></dt> |
<dt><a href="Whatpm/IMTChecker.html"><code>Whatpm::IMTChecker</code></a></dt> |
40 |
<dd>An Internet Media Type (<abbr>aka</abbr> MIME type) label |
<dd>An Internet Media Type (<abbr>aka</abbr> MIME type) label |
41 |
conformance checker.</dd> |
conformance checker.</dd> |
43 |
<dd>An IRI reference conformance checker.</dd> |
<dd>An IRI reference conformance checker.</dd> |
44 |
<dt><a href="Whatpm/XMLSerializer.html"><code>Whatpm::XMLSerializer</code></a></dt> |
<dt><a href="Whatpm/XMLSerializer.html"><code>Whatpm::XMLSerializer</code></a></dt> |
45 |
<dd>A simple XML serializer.</dd> |
<dd>A simple XML serializer.</dd> |
46 |
|
</dl> |
47 |
|
|
48 |
|
<p>Note that all of these modules are <em>work in progress</em> |
49 |
|
and have <a href="#todo">a number of unresolved problems</a>.</p> |
50 |
|
|
51 |
|
<p>Note also that some modules have no documentation for now.</p> |
52 |
|
</dd> |
53 |
|
<dt>Documentation</dt> |
54 |
|
<dd><dl> |
55 |
<dt><a href="http://suika.fam.cx/gate/2005/sw/Whatpm%20Error%20Types">List of error types</a></dt> |
<dt><a href="http://suika.fam.cx/gate/2005/sw/Whatpm%20Error%20Types">List of error types</a></dt> |
56 |
|
<dd>Description of errors to be notified to callback functions by Whatpm |
57 |
|
modules.</dd> |
58 |
|
</dd></dl></dd> |
59 |
</dl> |
</dl> |
|
|
|
|
<p>Note that all of these modules are <em>work in progress</em> |
|
|
and have <a href="#todo">a number of unresolved problems</a>.</p> |
|
60 |
</div> |
</div> |
61 |
|
|
62 |
<div class="section" id="demo"> |
<div class="section" id="demo"> |
65 |
<ul> |
<ul> |
66 |
<li><a href="http://suika.fam.cx/gate/2007/html/parser-interface">HTML5 parser |
<li><a href="http://suika.fam.cx/gate/2007/html/parser-interface">HTML5 parser |
67 |
and checker demo</a></li> |
and checker demo</a></li> |
68 |
|
<li><a href="http://suika.fam.cx/gate/2007/html/parser-manakai-interface">HTML5 |
69 |
|
parser and checker demo, with manakai's DOM implementation</a></li> |
70 |
<li><a href="http://suika.fam.cx/gate/2007/html/table-interface">HTML5 table |
<li><a href="http://suika.fam.cx/gate/2007/html/table-interface">HTML5 table |
71 |
structure visualization demo</a></li> |
structure visualization demo</a></li> |
72 |
|
<li><a href="http://suika.fam.cx/gate/2007/css/parser-interface">CSS tokenizer |
73 |
|
demo</a></li> |
74 |
</ul> |
</ul> |
75 |
</div> |
</div> |
76 |
|
|