Open jpillora opened 8 years ago
@jpillora I hadn't really considered it before, but it shouldn't be that hard.
Let me think on the interface some.
How to create feeds(xml)
@xfort as it stands, this library is strictly for parsing / reading feeds, not creating them.
I'm open to the possibility of creating them, but I would want to do it in a way that made sense with the current API.
In the mean time I'm using this package to serialize feeds after parsing with gofeed (it supports RSS, Atom, and JSON Feed):
https://github.com/gorilla/feeds
It would be convenient to not have to translate between gofeed structs and gorilla/feed structs, but it is not much trouble and seems to work well.
Is there a way to access the original XML from a parsed feed ? I'm trying to parse the feed so I can validate it, if it's valid return the feed.
Any news on this?
@cristoper
In the mean time I'm using this package to serialize feeds after parsing with gofeed (it supports RSS, Atom, and JSON Feed):
Could you share the code to translate between one and the other ? This would probably help many people and maybe make it simpler for a contributor (not me) to do it
Since all the structs are here, are there any plans to use them to create feeds?