Skip to content

site/blog: RSS link polish, feed author, landing auto-discovery#2683

Merged
borisbat merged 1 commit into
masterfrom
bbatkin/blog-rss-styling
May 16, 2026
Merged

site/blog: RSS link polish, feed author, landing auto-discovery#2683
borisbat merged 1 commit into
masterfrom
bbatkin/blog-rss-styling

Conversation

@borisbat
Copy link
Copy Markdown
Collaborator

Summary

Three small follow-ups to #2682 (Atom-feed surfacing):

  • site/blog/build_blog.py (render_index) — visible RSS link gets its own line below the intro paragraph and matches the styling of the BLOG section label above it: mono, uppercase, amber (var(--amber)). Inline styles only; no CSS changes.
  • site/blog/build_blog.py (render_atom_feed) — adds <author><name>Boris Batkin</name></author> to the feed root. RFC 4287 §4.1.1 requires atom:author either at the feed level or on every entry; W3C feed validator warns without it; major readers display "no author" otherwise.
  • site/index.html, site/downloads.html — adds the same <link rel="alternate" type="application/atom+xml"> auto-discovery tag the template-generated pages already carry. Now a feed reader pointed at https://daslang.io/ or /downloads.html (in addition to anything under /blog/) discovers blog/feed.xml.

Test plan

  • Local: refresh http://localhost:8000/blog/ — RSS sits on its own line below the intro, mono uppercase amber, matching the BLOG label.
  • head -8 site/blog/feed.xml shows <author><name>Boris Batkin</name></author> after <id>.
  • grep atom+xml site/index.html site/downloads.html site/blog/index.html site/changelist.html shows the link on every page type, with the correct relative path for each.
  • After pages.yml deploys, paste https://daslang.io/ into Feedly / NetNewsWire — it auto-discovers the feed.

🤖 Generated with Claude Code

…very

Three small follow-ups to the Atom-feed surfacing PR:

- site/blog/build_blog.py (render_index): move the visible RSS link to
  its own line below the intro and style it to match the BLOG section
  label — mono, uppercase, amber (var(--amber)). Inline styles only,
  no CSS changes.
- site/blog/build_blog.py (render_atom_feed): add
  <author><name>Boris Batkin</name></author> to the feed root. RFC 4287
  recommends it; W3C feed validator warns without it; major readers
  display "no author" otherwise.
- site/index.html, site/downloads.html: add the same
  <link rel="alternate" type="application/atom+xml"> auto-discovery tag
  the template-generated pages already carry, so a reader pointed at
  https://daslang.io/ or /downloads.html also finds blog/feed.xml.

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
Copilot AI review requested due to automatic review settings May 16, 2026 09:13
Copy link
Copy Markdown
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Polishes Atom/RSS feed surfacing across the website by improving the blog index’s visible feed link styling, adding a required feed-level author to the generated Atom feed, and enabling feed auto-discovery from the landing and downloads pages.

Changes:

  • Restyles the blog index’s visible “RSS” link to sit on its own line and match section-label styling.
  • Adds a feed-level <author> element to the generated Atom feed to satisfy RFC 4287 / validator expectations.
  • Adds Atom auto-discovery <link rel="alternate" type="application/atom+xml"> tags to site/index.html and site/downloads.html.

Reviewed changes

Copilot reviewed 3 out of 3 changed files in this pull request and generated no comments.

File Description
site/index.html Adds Atom feed auto-discovery link so readers can detect /blog/feed.xml from the landing page.
site/downloads.html Adds Atom feed auto-discovery link so readers can detect /blog/feed.xml from the downloads page.
site/blog/build_blog.py Adjusts blog index RSS link layout/styling and emits a feed-level Atom author element.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

@borisbat borisbat merged commit bec3dde into master May 16, 2026
48 of 49 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants