astrofy
astrofy copied to clipboard
RSS Feed shows 404 page
Environment Details
Ubuntu 22.04 Node 18.16.0 Package Manager: pnpm
Steps to Reproduce
Run
pnpm run dev
Actually, this bug can be seen on the netlify demo.
Run
pnpm run build
The build output directory dist will not contain a file rss.xml.
Additional Fix
After fixing this issue, the rss feed page need a style template to give clear instructions for subscribers.
I had the same issue: 404 for rss.xml (even in development mode)
Doing an upgrade about the dependencies solved the problem:
Tested dependencies versions in package.json file:
"dependencies": {
"@astrojs/mdx": "^3.1.8",
"@astrojs/rss": "4.0.8",
"@astrojs/sitemap": "^3.2.0",
"@astrojs/tailwind": "^5.1.2",
"astro": "^4.16.2",
"daisyui": "^4.12.13",
"dayjs": "^1.11.13",
"sharp": "^0.33.5",
"tailwindcss": "^3.4.13"
},
"devDependencies": {
"@tailwindcss/typography": "^0.5.15",
"wrangler": "^3.80.4"
}
wrangler is only necessary if you are using cloudflare
Doesn't work for me, even after updating with your example packages file.
Ubuntu 22.04 Node 22.12.0 Package Manager: npm
Found a fix. Listed in this pull request, FZHg changed get on line 5 of rss.xml.js to GET.
This worked for me.
#68 also works for me.