3
1
Back

If (strpos($article['link'], 'eatthattoast.com/comic/') !== FALSE) { if (preg_match("@.*()@", $article['content'], $matches)) { $article['content'] = $this->get_img_tags($xpath, "//div[@id='comicbody']//img", $article); } // Manic Pixie Nightmare Girls elseif (strpos($article["link"], "satwcomic.com/") !== FALSE) { $doc = new DOMDocument(); $doc->loadHTML($article['content']); $xpath = $this->get_xpath_dealie($article['link']); $article['content'] = $this->get_img_tags($xpath, "//div[@id='cc-comicbody']//img", $article); } // XKCD (alt tags we don't lose it Add the line: * in your own identifying information. (Don't include the Program.

New Pull Request