Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Best Practice: RSS and Atom Feeds #517

Closed
Algram opened this issue Oct 26, 2016 · 6 comments
Closed

Best Practice: RSS and Atom Feeds #517

Algram opened this issue Oct 26, 2016 · 6 comments
Labels
type: question or discussion Issue discussing or asking a question about Gatsby

Comments

@Algram
Copy link
Contributor

Algram commented Oct 26, 2016

Hello,

I wanted to know what the current standard for adding feed generation is. I honestly think this should be a default feature in the starte blog btw (I'll probably make a pull request once I have a clean solution).

Should it be done via a post-build like here (https://github.com/KyleAMathews/blog/blob/master/post-build.coffee) or during the build process, where u create a feed.js in the pages folder where u generate the feed with React which then gets rendered and converted by gatsby.

I would love some suggestions!

@KyleAMathews
Copy link
Contributor

Hey! Definitely agree that the starter blog should have a feed generated. I'm very focused on the 1.0 stuff so would love it if you'd take this on.

The feed should definitely be built using postBuild as during the regular build process, Gatsby only creates HTML files (and runs everything through your html.js file) so you wouldn't be able to create the feed there.

@Algram
Copy link
Contributor Author

Algram commented Oct 27, 2016

Alright, I will do that and make a PR.

@KyleAMathews
Copy link
Contributor

Thanks!

@mchandleraz
Copy link
Contributor

@Algram any progress on this? Need some help? I'm considering implementing RSS for my blog.

@KyleAMathews
Copy link
Contributor

@mchandleraz if you're on 1.0 @nicholaswyoung just added a PR for an RSS feed plugin #1073

@jbolda jbolda added API/Plugins type: question or discussion Issue discussing or asking a question about Gatsby labels Jun 8, 2017
@KyleAMathews
Copy link
Contributor

Closing since we got gatsby-plugin-feeds now

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
type: question or discussion Issue discussing or asking a question about Gatsby
4 participants