jamesknelson / create-react-blog

Start and deploy your own statically rendered blog with create-react-app
https://create-react-blog.netlify.com/
MIT License
550 stars 69 forks source link

RSS #12

Open MatanAvitan opened 5 years ago

MatanAvitan commented 5 years ago

The RSS doesnt work.

moderngeekcloud commented 5 years ago

You need to build your blog in order to get the rss.xml document. Use the following command: npm run build

jamesknelson commented 5 years ago

I only just now figured out what this issue was about. For anyone else who runs into it:

The RSS feed is only built during the static build. It doesn't work on the development server. The reason for this is you can't build and server a non-HTML page like an RSS feed at runtime.