mirror of
https://github.com/miniflux/v2.git
synced 2025-06-27 16:36:00 +00:00
fix(subscription): add /rss/feed.xml
to the list of known feed URLs
This commit is contained in:
parent
c0fcdf3b6e
commit
bac247910b
1 changed files with 9 additions and 8 deletions
|
@ -189,14 +189,15 @@ func (f *SubscriptionFinder) FindSubscriptionsFromWebPage(websiteURL, contentTyp
|
||||||
|
|
||||||
func (f *SubscriptionFinder) FindSubscriptionsFromWellKnownURLs(websiteURL string) (Subscriptions, *locale.LocalizedErrorWrapper) {
|
func (f *SubscriptionFinder) FindSubscriptionsFromWellKnownURLs(websiteURL string) (Subscriptions, *locale.LocalizedErrorWrapper) {
|
||||||
knownURLs := map[string]string{
|
knownURLs := map[string]string{
|
||||||
"atom.xml": parser.FormatAtom,
|
"atom.xml": parser.FormatAtom,
|
||||||
"feed.xml": parser.FormatAtom,
|
"feed.atom": parser.FormatAtom,
|
||||||
"feed/": parser.FormatAtom,
|
"feed.xml": parser.FormatAtom,
|
||||||
"rss.xml": parser.FormatRSS,
|
"feed/": parser.FormatAtom,
|
||||||
"rss/": parser.FormatRSS,
|
"index.rss": parser.FormatRSS,
|
||||||
"index.rss": parser.FormatRSS,
|
"index.xml": parser.FormatRSS,
|
||||||
"index.xml": parser.FormatRSS,
|
"rss.xml": parser.FormatRSS,
|
||||||
"feed.atom": parser.FormatAtom,
|
"rss/": parser.FormatRSS,
|
||||||
|
"rss/feed.xml": parser.FormatRSS,
|
||||||
}
|
}
|
||||||
|
|
||||||
websiteURLRoot := urllib.RootURL(websiteURL)
|
websiteURLRoot := urllib.RootURL(websiteURL)
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue