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.
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.