Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[feature] Allow multiple Links in a feed item #98

Open
ratzrattillo opened this issue Oct 21, 2022 · 2 comments
Open

[feature] Allow multiple Links in a feed item #98

ratzrattillo opened this issue Oct 21, 2022 · 2 comments

Comments

@ratzrattillo
Copy link

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:
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)

@meblum
Copy link
Contributor

meblum commented Sep 22, 2023

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

@weberc2
Copy link
Contributor

weberc2 commented Apr 17, 2024

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
Status: No status
Development

No branches or pull requests

3 participants