awesome-rss icon indicating copy to clipboard operation
awesome-rss copied to clipboard

try to find feed when feed URL is not present in page headers

Open atomGit opened this issue 5 years ago • 2 comments

often times when a feed URL is not present in the HTML headers, a feed is still available (YouTube comes to mind, though that's a different case than the example given below) by appending /feed or /rss or /atom or ?feed, etc., to the URL

i think it would be great if this feature were integrated

one possible way to do this would be to keep the icon in the address bar and change the color to gray when no feed link in the headers is defined, but when the user clicks the icon, awesome-rss starts looking for feeds - using only /feed and /rss as examples, consider the URL:

https://example.com/cat/author/page-title

is the user clicks the gray icon, then AR does the following until the first feed is discovered...

https://example.com/cat/page-title/feed
https://example.com/cat/page-title/rss
https://example.com/cat/feed
https://example.com/cat/rss
https://example.com/feed
https://example.com/rss

perhaps the icon would turn a different color or flash or animate while it is searching for feeds and perhaps it would display a tooltip if none is found, else it would open the feed in a new tab

atomGit avatar Nov 14 '18 00:11 atomGit

My intention is to find a way of opening Awesome RSS up to modules that extend functionality. To separate functionality like this from the main add-on.

Scanning for feed URLs wouldn't be a good solution though. For one, I don't want to be making a bunch of network requests like that. There are also some poorly written sites that might respond with a status code of 200 OK despite it being a 404 page displayed (false positives).

Anyways, yes, I'd like to add this sort of functionality, but I'm not suite sure how to do it right.

shgysk8zer0 avatar Dec 12 '18 17:12 shgysk8zer0

There are services like rss-brige (https://github.com/RSS-Bridge/rss-bridge) that are able to make feeds of a lot of sites. I also use https://docs.rsshub.app/ (for following github project issues).

It would be nice if we could find a way that we could show the RSS icon if one of the sites is able to handle the page your on. Using a custom url for the install of the bridge.

Pimmetje avatar Jan 30 '19 13:01 Pimmetje