feeds icon indicating copy to clipboard operation
feeds copied to clipboard

[feature] Allow multiple Links in a feed item

Open ratzrattillo opened this issue 2 years ago • 2 comments

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)

ratzrattillo avatar Oct 21 '22 11:10 ratzrattillo

I don't think that the rss specification allows for more than one link. When adding two link elements validation fails.

meblum avatar Sep 22 '23 12:09 meblum

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.

weberc2 avatar Apr 17 '24 16:04 weberc2