diff --git a/bridges/TheOatMealBridge.php b/bridges/TheOatMealBridge.php deleted file mode 100644 index 65c8b51..0000000 --- a/bridges/TheOatMealBridge.php +++ /dev/null @@ -1,27 +0,0 @@ -collectExpandableDatas('http://feeds.feedburner.com/oatmealfeed'); - } - - protected function parseItem($newsItem) { - $item = parent::parseItem($newsItem); - - $articlePage = getSimpleHTMLDOMCached($item['uri']); - $content = $articlePage->find('#comic', 0); - if(is_null($content)) // load alternative - $content = $articlePage->find('#blog', 0); - - if(!is_null($content)) - $item['content'] = $content->innertext; - - return $item; - } -}