Merge pull request #443 from vincode-io/issue-386
Fixed issue where a feed: url in the body of a page wouldn't be retri…
This commit is contained in:
commit
981a0baa57
|
@ -34,7 +34,8 @@ class HTMLFeedFinder {
|
||||||
for oneBodyLink in bodyLinks {
|
for oneBodyLink in bodyLinks {
|
||||||
|
|
||||||
if linkMightBeFeed(oneBodyLink) {
|
if linkMightBeFeed(oneBodyLink) {
|
||||||
let oneFeedSpecifier = FeedSpecifier(title: oneBodyLink.text, urlString: oneBodyLink.urlString!, source: .HTMLLink)
|
let normalizedURL = oneBodyLink.urlString.rs_normalizedURL()
|
||||||
|
let oneFeedSpecifier = FeedSpecifier(title: oneBodyLink.text, urlString: normalizedURL, source: .HTMLLink)
|
||||||
addFeedSpecifier(oneFeedSpecifier)
|
addFeedSpecifier(oneFeedSpecifier)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue