gofeed icon indicating copy to clipboard operation
gofeed copied to clipboard

Allow outputting RSS, Atom, and JSON feeds

Open cdzombak opened this issue 4 months ago • 3 comments

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

cdzombak avatar Sep 14 '25 22:09 cdzombak

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?

infogulch avatar Sep 15 '25 17:09 infogulch

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.

mmcdole avatar Sep 16 '25 14:09 mmcdole

One thing to consider is if we want to have these changes target the v2 branch or not.

🤦🏻 I was totally unaware of the v2 branch. Sorry about that.

cdzombak avatar Sep 16 '25 19:09 cdzombak