2. IndieWeb microformats implementation
Date: 2026-05-30
Status
Accepted. Several claims in the decision section describe work that never landed, and one feature listed as unimplemented now is. Read the decision as the plan it was on 2026-05-30, then read Corrections for what the templates emit today.
Context
Listsome generates static HTML sites for DIY project documentation. To support the IndieWeb philosophy of owning your content and connecting through open standards, the generated HTML should include semantic markup that machines can parse.
The goal is to make every Listsome site a first-class citizen of the IndieWeb without requiring users to learn or write microformats themselves.
Decision
Listsome generates standard microformats2 markup automatically from the project data model. The user writes CommonMark with frontmatter, and Listsome adds the semantic classes.
The built-in templates implement these microformats:
h-feedon the project index pageh-entryon each project detail page, withp-name,p-summary,dt-published,p-author h-card,p-category,p-difficulty,p-cost, andp-timeh-cardfor the site author, with name, URL, and emailh-productfor materials and bill-of-materials items, withp-name,p-quantity,p-price, andp-URLh-eventfor project steps with duration- a
rel=webmentionlink for endpoint discovery in the HTML head - a
rel=micropubendpoint in the HTML head - a
rel=authorization_endpointlink for IndieAuth rel=meon the fediverse profile URL, for identity verification
The command-line tool stubs these IndieWeb features rather than finishing them:
listsome webmention fetch, which fetches and displays webmentionslistsome webmention show, which shows mentions for a projectlistsome webmention test, which tests an endpoint
The generated Atom feed includes webmention links, and the markup declares WebSub hub support.
Consequences
Positive:
- Users get IndieWeb-compatible sites without extra work
- Microformats live in the template layer rather than the content layer
- Swapping templates keeps the semantics
- No microformats feature needs JavaScript
Neutral:
- Template overrides must preserve microformat classes or lose IndieWeb compatibility
- Fediverse config exists in
listsome.tomland has no implementation
Negative:
- The webmention command-line tool remains stubbed, so users must reach for external tools such as webmention.io
- Documentation describes fediverse syndication that no code implements
- Nothing tests microformat correctness in the generated output
Corrections
Written 2026-11-13, against 0.1.7.
Landed as decided:
h-feed,h-entry,h-card, and the property classes listed in the decision all ship inbase.html,index.html,project.html,tag.html, andcategory.html.p-name,p-quantity,p-price, andp-urlon bill-of-materials rows come from the materials parser rather than a template, because the bill replaces the author’s table in the rendered body. The project header carriesp-cost,p-time, andp-difficulty.- Listsome implements the three webmention commands this record listed as
stubbed, along with
pending,approve, andreject. It fetches mentions, verifies each against its source page, moderates from the cache, and renders what survives. - Every project page head carries a
rel=webmentionlink.
Not as decided:
- No template carries a
rel=micropublink, and no code implements a Micropub endpoint. - No
rel=melink exists, so nothing advertises the fediverse handle as an identity link. - The Atom feed declares no WebSub hub and carries no webmention links.
- Steps carry the
h-eventclass and print a duration when the model has one, and no step has a duration yet: the parser leaves the field empty. See issue #76. - Nothing tests microformat correctness in the generated output. The example site snapshots show the classes, and no assertion checks them.
One defect worth naming. project.html writes this link:
<link rel="webmention" href="/webmention">
The template hardcodes the path, so a static host serves nothing at
/webmention and
endpoint discovery advertises a dead receiver rather than the service configured
in [webmention] endpoint. Sending works because the sender discovers endpoints
itself, and receiving works because a human registers the domain with a
third-party receiver. A site that wants discovery to mean something needs the
template to read the configured endpoint.