diff --git a/.github/workflows/blog-posts-to-readme.yaml b/.github/workflows/blog-posts-to-readme.yaml
index 05fb3576..2e9ac404 100644
--- a/.github/workflows/blog-posts-to-readme.yaml
+++ b/.github/workflows/blog-posts-to-readme.yaml
@@ -12,7 +12,7 @@ jobs:
- name: Get RSS Feed
uses: kohrongying/readme-the-rss@master
with:
- feed_url: https://coryd.dev/feed.xml
+ feed_url: https://coryd.dev/feeds/posts
count: 5
- name: Commit file changes
run: |
diff --git a/_redirects b/_redirects
index 60d76d0e..02f19a1b 100644
--- a/_redirects
+++ b/_redirects
@@ -1,7 +1,3 @@
-# feeds
-/rss.xml /feed.xml 301!
-/feeds/all.xml /feed.xml 301!
-
# mastodon
/.well-known/host-meta* https://social.lol/.well-known/host-meta:splat 301
/.well-known/nodeinfo* https://social.lol/.well-known/nodeinfo:splat 301
@@ -48,6 +44,18 @@
# netlify app domain
https://cdme.netlify.app https://coryd.dev 301!
+# feeds
+/rss.xml https://feedpress.me/coryd 301!
+/feeds/all.xml https://feedpress.me/coryd 301!
+/feed.xml https://feedpress.me/coryd
+/feed.json https://feedpress.me/coryd.json
+/links.xml https://feedpress.me/coryd-links
+/links.json https://feedpress.me/coryd-links.json
+/books.xml https://feedpress.me/coryd-books
+/books.json https://feedpress.me/coryd-books.json
+/follow.xml https://feedpress.me/coryd-follow
+/follow.json https://feedpress.me/coryd-follow.json
+
# analytics
/4afe62271e477e.js https://static.getclicky.com/js?in=%2F4dcb93321b2a3b 200
/4dcb93321b2a3b https://in.getclicky.com/in.php 200
diff --git a/netlify.toml b/netlify.toml
index 5120fd5c..59117e5d 100644
--- a/netlify.toml
+++ b/netlify.toml
@@ -17,26 +17,25 @@ package = "@netlify/plugin-lighthouse"
# HEADERS
###
[[headers]]
-for = "/feed.xml"
+for = "/feeds/posts"
[headers.values]
Content-Type = "application/xml; charset=utf-8"
x-content-type-options = "nosniff"
[[headers]]
-for = "/links.xml"
+for = "/feeds/links"
[headers.values]
Content-Type = "application/xml; charset=utf-8"
x-content-type-options = "nosniff"
[[headers]]
-for = "/books.xml"
+for = "/feeds/books"
[headers.values]
Content-Type = "application/xml; charset=utf-8"
x-content-type-options = "nosniff"
[[headers]]
-for = "/follow.xml"
-
+for = "/feeds/follow"
[headers.values]
Content-Type = "application/xml; charset=utf-8"
x-content-type-options = "nosniff"
diff --git a/src/_data/follow.js b/src/_data/follow.js
index 8abf9a21..220c7f26 100644
--- a/src/_data/follow.js
+++ b/src/_data/follow.js
@@ -1,10 +1,10 @@
module.exports = async function () {
const { ActivityFeed } = await import('@11ty/eleventy-activity-feed')
const feed = new ActivityFeed()
- feed.addSource('atom', '📝', 'https://coryd.dev/feed.xml')
- feed.addSource('atom', '🔗', 'https://coryd.dev/links.xml')
+ feed.addSource('atom', '📝', 'https://coryd.dev/feeds/posts')
+ feed.addSource('atom', '🔗', 'https://coryd.dev/feeds/links')
feed.addSource('rss', '🎥', 'https://letterboxd.com/cdme/rss')
- feed.addSource('atom', '📖', 'https://coryd.dev/books.xml')
+ feed.addSource('atom', '📖', 'https://coryd.dev/feeds/books')
const entries = feed.getEntries().catch()
const res = await entries
const activity = { posts: [] }
diff --git a/src/_includes/base.liquid b/src/_includes/base.liquid
index fd716345..aaea8a01 100644
--- a/src/_includes/base.liquid
+++ b/src/_includes/base.liquid
@@ -41,15 +41,15 @@
type="application/atom+xml"
rel="alternate"
title="Cory Dransfeldt"
- href="/feed.xml">
+ href="https://feedpress.me/coryd">
+ href="https://feedpress.me/coryd.json" />