3
1
Back

(strpos($article['content'], 'imgs.xkcd.com/comics/') !== FALSE) { $xpath = $this->get_xpath_dealie($article['link']); $article['content'] = $this->get_img_tags($xpath, "//div[@class='comicpage']//img[contains(@src, 'Strip')]", $article); // Girls with Slingshots $xpath = $this->get_xpath_dealie($article['link']); $article['content'] = $img_tag . $article['content']; } // Softer World (alt tags), Dinosaur Comics Cleanup $entries = $xpath->query("//div[@id='signoff-wrapper']"); foreach ($entries as $entry){ foreach ($entries as $entry) { $article['content'] .= "
Error processing via _comics plugin!
" . $e->getMessage(); } } /* absolute URL */ $abs = preg_replace($re.

New Pull Request