gofeed icon indicating copy to clipboard operation
gofeed copied to clipboard

Feed creator (XML writer)

Open jpillora opened this issue 9 years ago • 7 comments

Since all the structs are here, are there any plans to use them to create feeds?

jpillora avatar Apr 16 '16 08:04 jpillora

@jpillora I hadn't really considered it before, but it shouldn't be that hard.

Let me think on the interface some.

mmcdole avatar Apr 16 '16 19:04 mmcdole

How to create feeds(xml)

xfort avatar Jul 05 '17 08:07 xfort

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

mmcdole avatar Jul 17 '17 14:07 mmcdole

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.

cristoper avatar Sep 26 '18 03:09 cristoper

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.

afk-mario avatar May 22 '19 22:05 afk-mario

Any news on this?

treeder avatar Mar 17 '23 13:03 treeder