Flutter-Bounty-Hunters / dart-rss

A dart package for parsing RSS & Atom feed
MIT License
22 stars 19 forks source link

Add RSS and Atom serialization #28

Open matthew-carroll opened 1 year ago

matthew-carroll commented 1 year ago

This is a meta ticket for the goal of adding serialization capabilities to all supported feeds.

This package currently deserializes RSS and Atom feeds into type-safe data structures.

We'd like to add the ability to assemble those same data structures through code, instead of parsing XML, and we'd like the ability to take those data structures and serialize them to XML. This completes the RSS and Atom stories.

Here's a PR from @csells where he proposed such an API for webfeed: https://github.com/witochandra/webfeed/pull/25

We should consider that API, as well as any relevant adjustments, and then implement serialization in this package.

matthew-carroll commented 9 months ago

The following ticket specifically addresses adding a non-breaking serialization feature to the existing implementation: https://github.com/Flutter-Bounty-Hunters/dart-rss/issues/46