feeds
feeds copied to clipboard
[feature] Allow multiple Links in a feed item
Is your feature request related to a problem? Please describe.
I would like to have the option to add multiple links to a feed item
Describe the solution you'd like
The Link property of a feed should rather be an array of Links. Similar like here: https://github.com/gorilla/feeds/compare/master...ratzrattillo:feeds:master
Describe alternatives you've considered
I have the following workaround in place just for Atom Feeds (However i am not a good Go programmer)
I don't think that the rss specification allows for more than one link. When adding two link
elements validation fails.
This would be useful for Atom feeds as it would allow pagination. https://stackoverflow.com/questions/1301392/pagination-in-feeds-like-atom-and-rss
As a workaround we could munge the output XML and add our own link tag, but that's really disappointing from a performance and usability perspective.