astrofy icon indicating copy to clipboard operation
astrofy copied to clipboard

RSS Feed shows 404 page

Open FZhg opened this issue 1 year ago • 4 comments

Environment Details

Ubuntu 22.04 Node 18.16.0 Package Manager: pnpm

Steps to Reproduce

Run

pnpm run dev

image

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.

FZhg avatar Mar 12 '24 03:03 FZhg

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

jsparedes avatar Oct 14 '24 01:10 jsparedes

Doesn't work for me, even after updating with your example packages file.

Ubuntu 22.04 Node 22.12.0 Package Manager: npm

SimonDevelop avatar Dec 17 '24 09:12 SimonDevelop

Found a fix. Listed in this pull request, FZHg changed get on line 5 of rss.xml.js to GET. This worked for me.

JacobRosenlund avatar Jan 27 '25 21:01 JacobRosenlund

#68 also works for me.

KingMob avatar Mar 16 '25 10:03 KingMob