gugray / rss-parrot

Notifies Mastodon accounts about new posts in the RSS feeds they follow
https://rss-parrot.net
MIT License
107 stars 7 forks source link

Support sites with multiple feeds #34

Open Zetagon opened 7 months ago

Zetagon commented 7 months ago

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 commented 6 months ago

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

jordemort commented 5 months ago

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 commented 4 months ago

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 commented 1 month ago

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.