-
Notifications
You must be signed in to change notification settings - Fork 2.6k
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
Add gatsby-plugin-feed #68
Conversation
Would love to get gatsby-plugin-feed in! I'd thought a few times about adding it but haven't gotten around to it.
Another option is to remove what's failing in the default query — the draft filter part. @nicholaswyoung what do you think about making the default query in gatsby-plugin-feed less opinionated so it works out of the box more often? |
@KyleAMathews I recall that we discussed this earlier, and came to a conclusion. But now that I'm reconsidering, I think we may be better off removing the query restriction but add a mention to the docs. Is that a fair compromise between power and ease of use? |
Yeah! I think in general we should make sure people have as good as possible experience the first time they try something and let them customize it as necessary. |
I agree with the above sentiment. Rather than making this demo more complicated, it’d be better to change gatsby-plugin-feed’s defaults so they work out-of-the-box in more scenarios. |
With the updated version of the plugin, there’s a new error:
|
@nicholaswyoung Is this another thing that should be changed in the plugin itself vs. in this example’s config? |
@mathiasbynens I'm not 100% sure what's going on with the error above, but I don't think it's the plugin. Update: This starter needs to create Here's the appropriate documentation on Node APIs and I'll PR these fixes later today, after which the plugin should generate cleanly with defaults. |
@mathiasbynens check things out again — just merged @nicholaswyoung's PR |
Seems to be working now! Thanks, everyone :) |
Thanks @mathiasbynens and @nicholaswyoung for working to get feed support added! |
* RSS post summary use "spoiler" graphql field * Update gatsby-config.js
After seeing https://github.com/gatsbyjs/gatsby-starter-blog/issues/33 I decided to try adding gatsby-plugin-feed to the demo.
However, this error occurs:
Am I doing something silly here?