3
1
Back

BT:style=Extra Black") { // Chainsawsuit elseif (strpos($article["link"], "www.smbc-comics.com/comic/") !== FALSE) { $article['content'] = $this->get_img_tags($xpath, "//div[@id='comic-1']//img", $article); } // Softer World (alt tags), Dinosaur Comics Cleanup elseif (strpos($article['content'], 'imgs.xkcd.com/comics/') !== FALSE) { elseif (strpos($article['content'], 'www.asofterworld.com/index.php?id') !== FALSE) { $article['content'] .= "
Alt: " . $img->getAttribute('title') . ""; } //noop } // XKCD (alt tags we don't need to call out for elseif (strpos($article['content'], 'imgs.xkcd.com/comics/') !== FALSE) { $xpath = $this->get_xpath_dealie($article['link']); $article['content'] = $this->get_img_tags($xpath, '(//div[@id="aftercomic"]//img)', $article); Assorted updates elseif (strpos($article['link'], 'girlswithslingshots.com/comic/') !== FALSE) { $xpath = $this->get_xpath_dealie($article['link']); elseif (strpos($article["link"], "www.phdunknown.com/index.php?id=") !== FALSE) { $xpath = $this->get_xpath_dealie($article['link']); $orig_content = strip_tags($article['content']); $article['content'] = $this->get_img_tags($xpath, "//div[@id='comic']//img", $article); // Dinosaur Comics.

New Pull Request