diff --git a/bridges/DilbertBridge.php b/bridges/DilbertBridge.php deleted file mode 100644 index cd509ea4..00000000 --- a/bridges/DilbertBridge.php +++ /dev/null @@ -1,36 +0,0 @@ -find('section.comic-item') as $element) { - $img = $element->find('img', 0); - $link = $element->find('a', 0); - $comic = $img->src; - $title = $img->alt; - $url = $link->href; - $date = substr(strrchr($url, '/'), 1); - if (empty($title)) { - $title = 'Dilbert Comic Strip on ' . $date; - } - $date = strtotime($date); - - $item = []; - $item['uri'] = $url; - $item['title'] = $title; - $item['author'] = 'Scott Adams'; - $item['timestamp'] = $date; - $item['content'] = '' . $img->alt . ''; - $this->items[] = $item; - } - } -}