diff options
author | 2025-03-02 19:32:33 -0800 | |
---|---|---|
committer | 2025-03-02 19:32:33 -0800 | |
commit | 8b16dd20f6544af3eedf286e23c0d34ab525736c (patch) | |
tree | ec284e22a046c4c8e9626e3fa64a000a2747bf84 /bridges/SkimfeedBridge.php | |
parent | b183aa798af48af556496c42780d6e844172cf44 (diff) | |
parent | 00a24e2f694a319a5e6cb070dddfff2dae892378 (diff) | |
download | rss-bridge-master.tar.gz rss-bridge-master.tar.zst rss-bridge-master.zip |
Diffstat (limited to 'bridges/SkimfeedBridge.php')
-rw-r--r-- | bridges/SkimfeedBridge.php | 12 |
1 files changed, 4 insertions, 8 deletions
diff --git a/bridges/SkimfeedBridge.php b/bridges/SkimfeedBridge.php index a224cdf4..bad1af15 100644 --- a/bridges/SkimfeedBridge.php +++ b/bridges/SkimfeedBridge.php @@ -633,8 +633,7 @@ class SkimfeedBridge extends BridgeAbstract $author = '<a href="' . $anchor->href . '">' . trim($anchor->plaintext) . '</a>'; $uri = $anchor->href; - $box_html = getSimpleHTMLDOM($uri) - or returnServerError('Could not load custom feed!'); + $box_html = getSimpleHTMLDOM($uri); $this->extractFeed($box_html, $author); } @@ -665,8 +664,7 @@ class SkimfeedBridge extends BridgeAbstract */ private function exportBoxChannels() { - $html = getSimpleHTMLDOMCached(static::URI) - or returnServerError('No contents received from Skimfeed!'); + $html = getSimpleHTMLDOMCached(static::URI); if (!$this->isCompatible($html)) { returnServerError('Skimfeed version is not compatible!'); @@ -722,8 +720,7 @@ EOD; */ private function exportTechChannels() { - $html = getSimpleHTMLDOMCached(static::URI) - or returnServerError('No contents received from Skimfeed!'); + $html = getSimpleHTMLDOMCached(static::URI); if (!$this->isCompatible($html)) { returnServerError('Skimfeed version is not compatible!'); @@ -759,8 +756,7 @@ EOD; $message .= "\t\t'{$title}' => array(\n"; - $channel_html = getSimpleHTMLDOMCached(static::URI . $uri) - or returnServerError('Could not load tech channel ' . $channel->plaintext . '!'); + $channel_html = getSimpleHTMLDOMCached(static::URI . $uri); $boxes = $channel_html->find('#boxx .boxes') or returnServerError('Could not find boxes!'); |