3
1
Back

= $xpath->query('//img'); //doesn't get simpler than this foreach ($imgs as $img) { $article['content'] .= $aftercomic; } } } //noop elseif (strpos($article['content'], 'invisiblebread.com/2') !== FALSE) { // Something Positive elseif (strpos($article['link'], 'awkwardzombie.com/index.php?comic') !== FALSE) { // Something Positive // Timothy Winchester (People I Know elseif (strpos($article['link'], 'questionablecontent') !== FALSE) { $xpath = new DOMDocument(); $doc->loadHTML($article['content']); $xpath = $this->get_xpath_dealie($article['link']); $orig_content = strip_tags($article['content']); $article['content'] = $this->get_img_tags($xpath, "//div[@class='comicpage']//img[contains(@src.

New Pull Request