3
1
Back

(strpos($article['content'], 'invisiblebread.com/2') !== FALSE) { $img = $matches[1]; $img = preg_replace("@width=\"\d+\"@", "", $img); $article['content'] .= "

Bonus comic:
" . $aftercomic . ""; $img_tag = $this->get_img_tags($xpath, '//td/img[contains(@src, "/comics/images/")]', $article); // The Trenches elseif (strpos($article["link"], "www.smbc-comics.com/comic/") !== FALSE) { $xpath = new DOMXpath($doc); $imgs = $xpath->query('//img'); //doesn't get simpler than this foreach ($imgs as $img) { if (preg_match("@.*(

New Pull Request