Skip to content

feat(website): list each post's picture in the blog RSS feed - #1296

Merged
blove merged 1 commit into
mainfrom
blove/feed-images
Oct 11, 2026
Merged

blove merged 1 commit into
mainfrom
blove/feed-images

Conversation

@blove

@blove blove commented Oct 11, 2026

Copy link
Copy Markdown
Contributor

Why

threadplane.ai's OG images are title cards, so anything that shows a post's image beside its title (liveloveapp.com's "Writing and talks" section) prints the title twice. The feed now lists a picture of the work instead.

What changed

  • The feed is built in src/lib/blog-rss.ts (buildBlogRss), out of the route, with a spec. Its existing output is unchanged.
  • postImage(post): frontmatter image (new, optional, on PostFrontmatter), else the post's first Markdown image or <img>, whichever comes first.
  • Each item lists that image as Media RSS, <media:content url="…" medium="image" type="…" />, with the URL made absolute and xmlns:media on <rss>. Posts without one list nothing.

Built from the real posts, 6 items get an image: the three /blog/diagrams/*.svg posts, the two human-in-the-loop posts (first screenshot) and the AG-UI fullstack post (hero.png). No post content changed. Threadplane 0.3.0 stays without one until there's a demo of the activity slot to screenshot.

Validation

  • src/lib/blog-rss.spec.ts (new) and src/lib/blog.spec.ts
  • nx run website:test and nx run website:lint pass

🤖 Generated with Claude Code

Posts get an optional `image` frontmatter field, defaulting to the
first Markdown image or <img> in the post. The feed, now built in
src/lib/blog-rss.ts with a spec, lists it as Media RSS
(`<media:content medium="image">`), so readers and syncs such as
liveloveapp.com's "Writing and talks" have a picture of the work instead
of the title-card og:image.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@vercel

vercel Bot commented Oct 11, 2026 •

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated
threadplane Ready Ready Preview Oct 11, 2026 4:20am UTC

Request Review

@blove
blove merged commit a9fd942 into main Oct 11, 2026
35 checks passed
@blove
blove deleted the blove/feed-images branch October 11, 2026 04:55

This branch was successfully deployed

1 active deployment
Preview – threadplane — fedbfbaa Deployed Oct 11, 2026 by vercel[bot]
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.

1 participant