diff --git a/bridges/ExplosmBridge.php b/bridges/ExplosmBridge.php new file mode 100644 index 00000000..1090f8a7 --- /dev/null +++ b/bridges/ExplosmBridge.php @@ -0,0 +1,22 @@ +collectExpandableDatas('https://feeds.feedburner.com/Explosm'); + } + + protected function parseItem($feedItem){ + $item = parent::parseItem($feedItem); + $comicpage = getSimpleHTMLDOM($item['uri']); + $image = $comicpage->find('div[id=comic-wrap]', 0)->find('img', 0)->getAttribute('src'); + $item['content'] = ''; + + return $item; + } +}