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

Support sites with multiple feeds #34

Open
Zetagon opened this issue Jan 24, 2024 · 4 comments
Open

Support sites with multiple feeds #34

Zetagon opened this issue Jan 24, 2024 · 4 comments
Labels
to-eval Needs evaluation

Comments

@Zetagon
Copy link

Zetagon commented Jan 24, 2024

It seems like rss-parrot creates one account per website, but that fails when a website has multiple rss feeds.

To reproduce
Message the bot with example.com/feed1.xml. An account should be created for example.com.

Message the bot with example.com/feed2.xml. You should get a reply with the previously created account which has the wrong feed.

@gugray gugray added the duplicate This issue or pull request already exists label Jan 24, 2024
@gugray
Copy link
Owner

gugray commented Jan 24, 2024

This is sort of a duplicate of #11. Unfortunately for now this is a limitation: RSS Parrot only supports one URL per feed (or one feed per URL, whichever way you want to look at it).

Note that you can have different feeds per different paths, i.e. this works:
example.com/dogs/feed.xml
example.com/cats/feed.xml

@gugray gugray added to-eval Needs evaluation and removed duplicate This issue or pull request already exists labels Jan 24, 2024
@jordemort
Copy link

I wasn't able to get multiple feeds from here working: https://github.com/eikowagenknecht/lootscraper

I wanted both the Amazon and the Epic Games feed, but after creating the Amazon one, trying to create the Epic one just points me at the same user that was created for Amazon.

@gugray
Copy link
Owner

gugray commented Apr 2, 2024

Yes, unfortunately for now multiple feeds from the same URL won't work. They will work if the the link in the different feeds designates different URLs: <link href="https://phenx.de/loot" rel="alternate"/>

E.g., https://phenx.de/loot/ubisoft_game, https://phenx.de/loot/amazon_game etc.

@chri2
Copy link

chri2 commented Jul 4, 2024

Hey, thanks for the great service! Ended up here, because I ran into the same problem:

https://www.goettinger-tageblatt.de/arc/outboundfeeds/rss/category/der-norden/
https://www.goettinger-tageblatt.de/arc/outboundfeeds/rss/category/lokales/goettingen-lk/goettingen/

I ended up configuring a nginx reverse proxy to have a different site in the URL and rewrite the URLs inside the feed.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
to-eval Needs evaluation
Projects
None yet
Development

No branches or pull requests

4 participants