3
1
Back

Interesting, $entries = $xpath->query("//div[@class='entry']"); foreach ($entries as $entry) { $article['content'] = $matches[1]; $img = preg_replace("@height=\"\d+\"@", "", $img); $article['content'] = $this->get_img_tags($xpath, '(//img[@id="main-comic"])', $article); } // Poly In Pictures elseif (strpos($article['link'], 'breakingcatnews.com/comic/') !== FALSE) { elseif (strpos($article['link'], 'www.timothywinchester.com/2') !== FALSE) { // elseif (strpos(strtolower($article['link']), 'giantitp.com/comics/') !== FALSE) { $article['content'] .= "Bonus comic:" . $aftercomic . "

"; elseif (strpos($article["link"], "www.smbc-comics.com/comic/") !== FALSE) { $article['content'] = $this->get_img_tags($xpath, "//div[@id='content']/img", $article); .

New Pull Request