mirror of
https://github.com/RSS-Bridge/rss-bridge.git
synced 2024-11-26 03:16:33 +03:00
[HeiseBridge] Check for article (#1790)
This commit is contained in:
parent
b66026e241
commit
cc548b16a8
1 changed files with 4 additions and 2 deletions
|
@ -45,8 +45,10 @@ class HeiseBridge extends FeedExpander {
|
||||||
$article = getSimpleHTMLDOMCached($uri)
|
$article = getSimpleHTMLDOMCached($uri)
|
||||||
or returnServerError('Could not open article: ' . $uri);
|
or returnServerError('Could not open article: ' . $uri);
|
||||||
|
|
||||||
$article = defaultLinkTo($article, $uri);
|
if ($article) {
|
||||||
$item = $this->addArticleToItem($item, $article);
|
$article = defaultLinkTo($article, $uri);
|
||||||
|
$item = $this->addArticleToItem($item, $article);
|
||||||
|
}
|
||||||
|
|
||||||
return $item;
|
return $item;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue