From b144ab2bd7a792e8a582ee9add449789b7f4329d Mon Sep 17 00:00:00 2001 From: Dag Date: Sat, 26 Mar 2022 02:30:21 +0100 Subject: [PATCH] [HeiseBrige] fix: broken bridge This is a feed expander and heise sometimes includes feed items which point to https://www.techstage.de for which we dont have parsing for. --- bridges/HeiseBridge.php | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/bridges/HeiseBridge.php b/bridges/HeiseBridge.php index f8f5e6c8..b73e5124 100644 --- a/bridges/HeiseBridge.php +++ b/bridges/HeiseBridge.php @@ -42,6 +42,10 @@ class HeiseBridge extends FeedExpander { $item = parent::parseItem($feedItem); $item['uri'] = explode('?', $item['uri'])[0] . '?seite=all'; + if (strpos($item['uri'], 'https://www.heise.de') !== 0) { + return $item; + } + $article = getSimpleHTMLDOMCached($item['uri']); if ($article) {