Skip to content

ADR-0247: The site has a blog with an Atom feed and no third-party origins ​

  • Status: accepted
  • Date: 2026-12-05
  • Deciders: Mahdi Amirabdollahi

Context ​

The decision records are already engineering essays with a real arc of failure and fix, and the questions people search for (is Kafka consumer lag exact, how to reset offsets safely, how an Artemis pair is told from a sampling artefact) land better on our own domain, next to the guide page that answers them, than on a third-party platform. The site already has a build, a deploy, a sitemap and a dead-link check (ADR-0061), and the no-third-party-origin rule of ADR-0217 and ADR-0246 still holds.

Decision ​

  1. The blog is a section of the VitePress site, in site/src/blog/, in English only, at /blog/. A post is one Markdown file with title, date, description and author in its frontmatter; a post with draft: true is not listed and not in the feed. Images live in site/src/public/blog/<slug>/ as WebP.
  2. The index is a plain list (date, title, description), newest first, read from posts.data.ts, a createContentLoader('blog/*.md') that drops the index and drafts. There are no tags page, comments or pagination.
  3. The Atom feed is written by hand at the end of the build (buildEnd in config.ts) to /blog/feed.xml, as Atom 1.0 with each post's rendered HTML and root-relative links made absolute. It is written only when a post is published. The page head links it with rel="alternate". No feed package and no new dependency.
  4. No third-party origin. site/scripts/check-home.ts runs its origin allowlist over site/src/blog/**/*.md as well, so a post cannot add a CDN image, a script or an embed.
  5. Scope is small on purpose. One post at launch and no promised cadence. A post is published when one is worth reading, and it states only what the code does today.

Consequences ​

  • Search for the questions above lands on a page that links straight to the guide that converts.
  • The feed is a build output: a post exists for readers once the site is deployed.
  • A post's code excerpts are copied from the repositories and can age; a post states the day it was written.
  • A blog costs a reader nothing they did not already load (the same theme, fonts and search), and costs the project the discipline of publishing only what is true.

Alternatives considered ​

  • A blog on a third-party platform. Rejected: it splits the domain and brings third-party origins.
  • The feed package. Rejected: one function writes the whole file, and a dependency is more to audit.
  • Tags, comments and pagination. Rejected for now: one post does not need them.

Apache-2.0. Apache Kafka, Apache ActiveMQ and Apache ActiveMQ Artemis are trademarks of the Apache Software Foundation. RabbitMQ is a trademark of its owner. Rahdar is an independent project, not produced by, endorsed by, or affiliated with the ASF or the owner of RabbitMQ.