Add RSS feed for blog posts #40
Merged
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
I needed React >= 0.14.0 to avoid self-closing tag (see facebook/react#2842) in RSS (mostly for the
<link />
node).Feel free to jump to any most up to date version below the 0.14.
I've also hacked around to be able to generate a xml file instead of html.
Content is not included in the RSS because I cannot find a way to sanitize the html. So the RSS wasn't valid. Most problem came from url with parameter in the html (like youtube link with a
&
).Here is the RSS generated:
It should fix #9