Allow outputting RSS, Atom, and JSON feeds
This PR allows gofeed to convert the universal Feed representation back into RSS, Atom, or JSON feed structures (performing the inverse of translators) and render those structures out to RSS, Atom, or JSON feeds.
- closes https://github.com/mmcdole/gofeed/issues/33
- closes https://github.com/mmcdole/gofeed/issues/263
This is pretty neat! How would you expect the server to handle pagination? Say Feed data is in a db, and the http request is for page 2. First query the data for that page, then populate the Feed struct, then pass that to the Renderer. Does that sound right?
Thank you for the contribution! I'll look through the changes this week hopefully.
One thing to consider is if we want to have these changes target the v2 branch or not.
One thing to consider is if we want to have these changes target the
v2branch or not.
🤦🏻 I was totally unaware of the v2 branch. Sorry about that.