Skip to content

Add Atom feed for blog posts#42

Merged
si merged 1 commit intomainfrom
claude/fix-rss-feed-CNiTC
Apr 10, 2026
Merged

Add Atom feed for blog posts#42
si merged 1 commit intomainfrom
claude/fix-rss-feed-CNiTC

Conversation

@si
Copy link
Copy Markdown
Owner

@si si commented Apr 10, 2026

Summary

This PR adds an Atom feed for blog posts, allowing readers to subscribe to new content via RSS/Atom readers.

Key Changes

  • New feed template (blog/feed.njk): Created an Atom 1.0 feed that dynamically generates entries for all blog posts with proper metadata including title, publication date, and full content
  • Blog posts collection (.eleventy.js): Added a new blogPosts collection that filters posts tagged with "posts" and located in the blog/ directory
  • HTTP headers (_headers): Configured the feed endpoint to serve with the correct application/atom+xml content type

Implementation Details

  • The feed is excluded from Eleventy collections to prevent it from being indexed as a page
  • The collection filters posts by checking the input path to ensure only blog posts (not other post types) are included
  • Post content is converted to absolute URLs to ensure links work correctly when consumed by feed readers
  • The feed includes standard Atom elements: title, subtitle, author, publication dates, and full post content

https://claude.ai/code/session_01Rzdb6FadiMnfFgKrBBDGfe

Creates a blogPosts collection filtered to posts/blog/ directory and an
Atom feed template at blog/feed with the correct Content-Type header,
so https://sijobling.com/blog/feed is a valid, auto-updating RSS feed.

https://claude.ai/code/session_01Rzdb6FadiMnfFgKrBBDGfe
@cloudflare-workers-and-pages
Copy link
Copy Markdown

Deploying with  Cloudflare Workers  Cloudflare Workers

The latest updates on your project. Learn more about integrating Git with Workers.

Status Name Latest Commit Updated (UTC)
❌ Deployment failed
View logs
11ty 3ee58f4 Apr 10 2026, 02:44 PM

@netlify
Copy link
Copy Markdown

netlify Bot commented Apr 10, 2026

Deploy Preview for sijobling ready!

Name Link
🔨 Latest commit 3ee58f4
🔍 Latest deploy log https://app.netlify.com/projects/sijobling/deploys/69d90d1890fe4300089b6d94
😎 Deploy Preview https://deploy-preview-42--sijobling.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify project configuration.

@netlify
Copy link
Copy Markdown

netlify Bot commented Apr 10, 2026

Deploy Preview for si-jobling ready!

Name Link
🔨 Latest commit 3ee58f4
🔍 Latest deploy log https://app.netlify.com/projects/si-jobling/deploys/69d90d18bd808600088434b2
😎 Deploy Preview https://deploy-preview-42--si-jobling.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify project configuration.

@si si merged commit 71b0dfe into main Apr 10, 2026
4 of 6 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