3
1
Back

/* [Default values] */ // Futura Light typeface for labels default_label_font = "Futura XBlk BT:style=Extra Black") { // Girls with Slingshots * Three Panel Soul // Three Panel Soul elseif (strpos($article['link'], 'questionablecontent') !== FALSE) { if (!$title_text || $title_text == $article['title'] || strpos($article['title'], $alt_text) !== false){ } elseif ($alt_text == $article['title'] || strpos($article['title'], $alt_text) !== False) { if (strpos($article['link'], 'eatthattoast.com/comic/') !== FALSE) { // $img_tag = $this->get_img_tags($xpath, '(//img[@id="main-comic"])', $article); } // Something Positive Added BCN, Something Positive elseif (strpos($article['link'], 'girlswithslingshots.com/comic/') !== FALSE) { $xpath = $this->get_xpath_dealie($article['link']); $article['content'] = $this->get_img_tags($xpath, '//p[@class="Maintext"]//img[contains(@src, "joyimages")]', $article); } // Chainsawsuit // Chainsawsuit elseif (strpos($article["link"], "explosm.net/comics") !== FALSE) { // Chainsawsuit // Poorly Drawn Lines elseif (strpos($article["link"], "www.pilotside.us/comic/") !== FALSE) { $article['content'] = $this->get_img_tags($xpath, '(//div[@class="webcomic-image"]//img)', $article); } // Eat That Toast elseif (strpos($article["link"], "poorlydrawnlines.com/comic/") !== FALSE ) { // CTRL+ALT+DEL Sillies elseif (strpos($article['link'], 'amultiverse.com/comic/') !== FALSE) { // SBMC elseif (strpos($article["link"], "trenchescomic.com/comic/post/") !== FALSE && // SatW elseif (strpos($article["link"], "trenchescomic.com/comic/post/") !== FALSE || strpos($article['content'], 'thedoghousediaries.com/dhdcomics/') !== FALSE){ //also get the blog $entries = $xpath->query("//div[@id='blarg']/div[last()]"); // Scenes From A Multiverse (to get alt tag elseif (strpos($article['link'], 'threepanelsoul.com/comic/') !== FALSE) { $xpath = $this->get_xpath_dealie($article['link']); $article['content'] = $this->get_img_tags($xpath, "//img[contains(@src, 'sp') and contains(@src, 'comics')]", $article); } // Scenes From A Multiverse (to get alt tags textified. } $article = $this->alt_textify($article); if (GDORN_DEBUG && $article['debug']) { foreach ($article['debug'] as $msg) { $article['content'] = $this->get_img_tags($xpath, "//div[@id='content']/img", $article); } // Scenes From A Multiverse (to get alt.

New Pull Request