summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGravatar Alexandros Kosiaris <akosiaris@gmail.com> 2021-07-20 20:10:44 +0300
committerGravatar fguillot <f@miniflux.net> 2021-07-22 19:46:40 -0700
commitb8b16c3bdf0a4d205cf96a38cc3ceb7d0d8791ce (patch)
tree34ccc0790dd12ed01ff9682137cfa097394a8fbd
parentfc766de02d1937412c8291e9afe255a13136ddf7 (diff)
downloadv2-b8b16c3bdf0a4d205cf96a38cc3ceb7d0d8791ce.tar.gz
v2-b8b16c3bdf0a4d205cf96a38cc3ceb7d0d8791ce.tar.zst
v2-b8b16c3bdf0a4d205cf96a38cc3ceb7d0d8791ce.zip
Add /rss/ in finder's wellKnownUrls
ATCOM netvolution WCM, probably alongside others, a CMS powering several high profile and high traffic Greek news sites, among other sites, publishes the RSS feed under /rss/. Add it to the list. It's generic enough to allow us to assume other software might do it to On a select set of 627 Greek news media sites (the infamous Petsas list), adding this rule increased discoverability of RSS feeds by a factor of 2.61% (from 498 to 511).
-rw-r--r--reader/subscription/finder.go1
1 files changed, 1 insertions, 0 deletions
diff --git a/reader/subscription/finder.go b/reader/subscription/finder.go
index f70ffa03..40c87bcd 100644
--- a/reader/subscription/finder.go
+++ b/reader/subscription/finder.go
@@ -146,6 +146,7 @@ func tryWellKnownUrls(websiteURL, userAgent, cookie, username, password string)
"/feed.xml": "atom",
"/feed/": "atom",
"/rss.xml": "rss",
+ "/rss/": "rss",
}
lastCharacter := websiteURL[len(websiteURL)-1:]