From 0c96a47e8cd1c9567e1638b820be95f875d0716b Mon Sep 17 00:00:00 2001 From: somini Date: Wed, 16 Oct 2024 18:14:06 +0100 Subject: [PATCH] Remove PanacheDigitalGamesBridge (#4277) The Blog has a feed now: https://panachedigitalgames.com/en/feed/ --- bridges/PanacheDigitalGamesBridge.php | 50 --------------------------- 1 file changed, 50 deletions(-) delete mode 100644 bridges/PanacheDigitalGamesBridge.php diff --git a/bridges/PanacheDigitalGamesBridge.php b/bridges/PanacheDigitalGamesBridge.php deleted file mode 100644 index bb0c00b9..00000000 --- a/bridges/PanacheDigitalGamesBridge.php +++ /dev/null @@ -1,50 +0,0 @@ -getURI(); - $html = getSimpleHTMLDOMCached($articles); - - foreach ($html->find('.news-item') as $element) { - $item = []; - - $title = $element->find('.news-item-texts-title', 0); - $link = $element->find('.news-item-texts a', 0); - $timestamp = $element->find('.news-item-texts-date', 0); - - $item['title'] = $title->plaintext; - $item['uri'] = self::URI . $link->href; - $item['timestamp'] = strtotime($timestamp->plaintext); - - $image_html = $element->find('.news-item-thumbnail-image', 0); - if ($image_html) { - $image_strings = explode('\'', $image_html); - - if (count($image_strings) == 4) { - $item['content'] = ''; - } - } - - $this->items[] = $item; - } - } -}