3
1
Back

&& $article['debugging']) { foreach ($article['debug'] as $msg) { $article['content'] = $this->get_img_tags($xpath, '(//img[@id="main-comic"])', $article); $article['content'] = $this->get_img_tags($xpath, '(//div[@id="aftercomic"]//img)', $article); $article['content'] = $matches[1]; } } // Awkward Zombie $entries = $xpath->query("//div[@id='comic-notes']"); foreach ($entries as $entry) { $article['content'] .= "$orig_content"; // Awkward Zombie elseif (strpos($article['link'], 'threepanelsoul.com/2') !== FALSE) { // Three Panel Soul // Two Lumps // Breaking Cat News elseif (strpos($article['link'], '//theoatmeal.com/comics/') !== FALSE) { $xpath = $this->get_xpath_dealie($article['link']); $orig_content = strip_tags($article['content']); // Awkward Zombie $entries = $xpath->query("//div[@id='signoff-wrapper']"); $rel .

New Pull Request