3
1
Back

False){ } elseif (strpos(strtolower($article['link']), 'giantitp.com/comics/') !== FALSE) { //noop elseif (strpos($article['content'], 'imgs.xkcd.com/comics/') !== FALSE) { // Three Panel Soul elseif (strpos($article['link'], 'campcomic.com/comic/') !== FALSE) { // Dead Philosophers Added BCN, Something Positive if (!$alt_text){ Added BCN, Something Positive if (strpos($article['link'], 'eatthattoast.com/comic/') !== FALSE) { $article['content'] .= $aftercomic; $article['content'] .= "
ID: " . $img->getAttribute('title') . ""; } } } Dead Philosophers elseif (strpos($article['link'], 'dead-philosophers.com/?p') !== FALSE) { $xpath = $this->get_xpath_dealie($article['link']); $aftercomic = $this->get_img_tags($xpath, "//img[starts-with(@src, 'sp') and contains(@src, 'png')]", $article); } // SBMC elseif (strpos($article["link"], "eatthattoast.com/comic/") !== FALSE ) { // Scenes From A Multiverse (to get alt tags textified. Elseif (strpos($article['content'], 'www.asofterworld.com/index.php?id') !== FALSE ) { $xpath = $this->get_xpath_dealie($article['link']); $article['content'] = $this->get_img_tags($xpath, '(//div[@class="container"]//center//img)', $article); } //Sites.

New Pull Request