| 8 |
<link rel="author" href="#author"> |
<link rel="author" href="#author"> |
| 9 |
</head> |
</head> |
| 10 |
<body> |
<body> |
| 11 |
<h1>Whatpm (<em>beta</em>)</h1> |
<h1>Whatpm — Perl modules for Web hypertext application technologies |
| 12 |
|
(<em>beta</em>)</h1> |
| 13 |
|
|
| 14 |
<div class="section" id="introduction"> |
<div class="section" id="introduction"> |
| 15 |
<h2>Introduction</h2> |
<h2>Introduction</h2> |
| 69 |
|
|
| 70 |
<p>Currently, conformance checking of HTML/XHTML and Atom documents |
<p>Currently, conformance checking of HTML/XHTML and Atom documents |
| 71 |
is supported. |
is supported. |
| 72 |
|
|
| 73 |
|
<p>For these modules, a DOM implementation that supports the manakai's |
| 74 |
|
Perl binding<!-- @@ TODO: ref --> is necessary to represent a document |
| 75 |
|
in memory. The <a |
| 76 |
|
href="http://suika.fam.cx/www/manakai-core/doc/web/">manakai-core</a> |
| 77 |
|
package contains such an implementation, |
| 78 |
|
<code>Message::DOM::Implementation</code><!-- @@ TODO: ref -->, but it |
| 79 |
|
should also be possible to use any other implementation that supports |
| 80 |
|
the binding. |
| 81 |
</div> |
</div> |
| 82 |
|
|
| 83 |
<div class=section id=modules-css> |
<div class=section id=modules-css> |
| 88 |
<dt><a href="Whatpm/CSS/Cascade.html"><code>Whatpm::CSS::Cascade</code></a> |
<dt><a href="Whatpm/CSS/Cascade.html"><code>Whatpm::CSS::Cascade</code></a> |
| 89 |
<dd>A media-independent implementation of CSS cascading and value |
<dd>A media-independent implementation of CSS cascading and value |
| 90 |
computation. (See also <a href="#demo-css-parser">demo</a>.) |
computation. (See also <a href="#demo-css-parser">demo</a>.) |
| 91 |
|
<dt><a href="Whatpm/CSS/MediaQueryParser.pm"><code>Whatpm::CSS::MediaQueryParser</code></a> |
| 92 |
|
<dd>A media query parser. |
| 93 |
|
<dt><a href="Whatpm/CSS/MediaQuerySerializer.pm"><code>Whatpm::CSS::MediaQuerySerializer</code></a> |
| 94 |
|
<dd>A media query serializer. |
| 95 |
<dt><a href="Whatpm/CSS/Parser.html"><code>Whatpm::CSS::Parser</code></a> |
<dt><a href="Whatpm/CSS/Parser.html"><code>Whatpm::CSS::Parser</code></a> |
| 96 |
<dd>A CSS parser that constructs CSSOM trees from style sheets. (See |
<dd>A CSS parser that constructs CSSOM trees from style sheets. (See |
| 97 |
also <a href="#demo-css-parser">demo</a>.) |
also <a href="#demo-css-parser">demo</a>.) |
| 105 |
<dt><a href="Whatpm/CSS/Tokenizer.html"><code>Whatpm::CSS::Tokenizer</code></a></dt> |
<dt><a href="Whatpm/CSS/Tokenizer.html"><code>Whatpm::CSS::Tokenizer</code></a></dt> |
| 106 |
<dd>A CSS tokenizer. (See also <a href="#demo-css-parser">demo</a>.)</dd> |
<dd>A CSS tokenizer. (See also <a href="#demo-css-parser">demo</a>.)</dd> |
| 107 |
</dl> |
</dl> |
| 108 |
|
|
| 109 |
|
<p>For the <code>Whatpm::CSS::Parser</code> module reresents a CSSOM |
| 110 |
|
tree, modules in the <a |
| 111 |
|
href="http://suika.fam.cx/www/manakai-core/doc/web/">manakai-core</a> |
| 112 |
|
package are used. Those modules also provide the serializer for the |
| 113 |
|
CSSOM tree, as the standard <code>css_text</code> attribute. |
| 114 |
</div> |
</div> |
| 115 |
|
|
| 116 |
<div class=section id=modules-http> |
<div class=section id=modules-http> |
| 150 |
<dd>An |
<dd>An |
| 151 |
<a href="http://www.whatwg.org/specs/web-apps/current-work/#manifests">HTML5 |
<a href="http://www.whatwg.org/specs/web-apps/current-work/#manifests">HTML5 |
| 152 |
cache manifest</a> parser.</dd> |
cache manifest</a> parser.</dd> |
| 153 |
|
<dt><a href="Whatpm/Charset/DecodeHandle.html"><code>Whatpm::Charset::DecodeHandle</code></a> |
| 154 |
|
<dd>A filehandle-like wrapper <a href="#doc-handles">interface</a> to |
| 155 |
|
decode byte stream encoded in some character encoding. |
| 156 |
|
<dt><a href="Whatpm/Charset/UnicodeChecker.html"><code>Whatpm::Charset::UnicodeChecker</code></a> |
| 157 |
|
<dd>A Unicode character string checker. |
| 158 |
<dt id=whatpm-charset-universalchardet><a href="Whatpm/Charset/UniversalCharDet.html"><code>Whatpm::Charset::UniversalCharDet</code></a></dt> |
<dt id=whatpm-charset-universalchardet><a href="Whatpm/Charset/UniversalCharDet.html"><code>Whatpm::Charset::UniversalCharDet</code></a></dt> |
| 159 |
<dd>A Perl interface to universalchardet character encoding detection |
<dd>A Perl interface to universalchardet character encoding detection |
| 160 |
library.</dd> |
library.</dd> |