55 lines
2.6 KiB
HTML
55 lines
2.6 KiB
HTML
<?xml version="1.0" encoding="UTF-8"?>
|
|
<!DOCTYPE html PUBLIC "-//WAPFORUM//DTD XHTML Mobile 1.2//EN"
|
|
"http://www.openmobilealliance.org/tech/DTD/xhtml-mobile12.dtd">
|
|
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
|
|
<head>
|
|
<title>Check a page</title>
|
|
<meta name="mews-profile" content="0.1" />
|
|
<meta name="viewport" content="width=device-width" />
|
|
<meta name="description" content="Check a page against Mews Profile 0.1, and add your site to the directory." />
|
|
<link rel="stylesheet" type="text/css" href="mews-0.1.css" />
|
|
</head>
|
|
<body class="mews-cool">
|
|
<h1>Check a page</h1>
|
|
<p>Paste an address. The checker validates the page against the
|
|
<a href="/dtd/mews-0.1.dtd">Mews DTD</a>, reads your stylesheet and up to
|
|
twenty images, and lists every rule it breaks with the section of the spec
|
|
that explains it.</p>
|
|
|
|
<form action="/result" method="post">
|
|
<fieldset>
|
|
<p><label for="url">Page address</label><br />
|
|
<input type="text" name="url" id="url" size="30" maxlength="200" accesskey="1" /></p>
|
|
<p><input type="submit" name="check" value="Check page" accesskey="2" />
|
|
<input type="submit" name="list" value="Check and list" accesskey="3" /></p>
|
|
</fieldset>
|
|
</form>
|
|
|
|
<p><strong>Check page</strong> reports and keeps nothing.
|
|
<strong>Check and list</strong> also puts your site in the
|
|
<a href="/directory" accesskey="4">directory</a> if the page passes.
|
|
Either way it takes up to a minute, with no progress bar, because that
|
|
would want JavaScript. Leave this page open and put the kettle on.</p>
|
|
|
|
<h2>Doing it yourself</h2>
|
|
<p>The same checks run on the command line, which is quicker while you
|
|
are still fixing things:</p>
|
|
<pre>uvx --from git+https://code.randogoth.com/randogoth/mews.page.git \
|
|
mewslint https://example.com/</pre>
|
|
<p>It reads local files too, so you can check a page before publishing
|
|
it. This site's own build refuses to produce mews.page if any of its pages
|
|
stops conforming. That seemed only fair.</p>
|
|
|
|
<h2>What gets listed</h2>
|
|
<p>One page per site, the one you submit, and nobody reviews it: it
|
|
passes or it doesn't. Listed sites are rechecked every week, and there is
|
|
no address to warn you at. No account, no password to forget, and no
|
|
warning either.</p>
|
|
|
|
<hr />
|
|
<p>A page turned down over something the spec doesn't say is a bug in the
|
|
validator, not a fault in your page. Report it to the address on the
|
|
<a href="/" accesskey="0">home page</a>.</p>
|
|
<p><a href="/spec/0.1" accesskey="5">The spec</a></p>
|
|
</body>
|
|
</html>
|