Skip to content

Commit

Permalink
Add /rss/ in finder's wellKnownUrls
Browse files Browse the repository at this point in the history
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).
  • Loading branch information
akosiaris authored and fguillot committed Jul 23, 2021
1 parent fc766de commit b8b16c3
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions reader/subscription/finder.go
Original file line number Diff line number Diff line change
Expand Up @@ -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:]
Expand Down

0 comments on commit b8b16c3

Please sign in to comment.