3
1
Back

//If you want to dig into the linked page for content, e.g. Alt tags. Return array( $html, $content_type); } function hook_render_article($article) { return $this->mangle_article($article); } catch (Exception $e) { $article['content'] = $img; } } // Dead Philosophers elseif (strpos($article['link'], 'alicegrove.com') !== FALSE) { $article['content'] = $this->get_img_tags($xpath, '(//div[@id="comic"]//img)', $article); // Three Panel Soul elseif (strpos($article['link'], 'campcomic.com/comic/') !== FALSE) { $doc = new DOMDocument(); $doc->loadHTML($article['content']); $xpath = new DOMXpath($doc.

New Pull Request