validator/ holds mewslint (lint, css, fetch, DTD/CSS data); directory/ holds the mews.page service (app, db, check, pages, cli) and depends on validator/; quickstart/ holds mews-quickstart and md2mews.py for third parties who want to create Mews content without cloning the repo; spec/ consolidates doc/ and dtd/ with the canonical mews-0.1.css; site/ becomes a Pelican project with the forward-facing pages as Markdown, the check form kept as a raw HTML snippet. Root pyproject.toml is now a virtual uv workspace over validator, directory and quickstart, with cross-cutting tests that span more than one of them staying at the repo root. Makefile and flake.nix updated to match.
1.9 KiB
Title: Check a page Slug: check Description: Check a page against Mews Profile 0.1, and add your site to the directory.
Check a page
Paste an address. The checker validates the page against the Mews DTD, reads your stylesheet and up to twenty images, and lists every rule it breaks with the section of the spec that explains it.
Check page reports and keeps nothing. Check and list also puts your site in the directory 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.
Doing it yourself
The same checks run on the command line, which is quicker while you are still fixing things:
uvx --from git+https://code.randogoth.com/randogoth/mews.page.git#subdirectory=validator \
mewslint https://example.com/
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.
What gets listed
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.
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 home page.