3
1
Back

4d8e233e93a0e0142056dfcbd680a65973bd0ebb Mon Sep 17 00:00:00 2001 Subject: [PATCH] Pain Train (to get alt tags) // Scenes From A Multiverse (to get alt tags textified. If(ADD_IDS){ $article = $this->alt_textify($article); if (GDORN_DEBUG && $article['debugging']) { foreach ($article['debugging'] as $msg) { $article['content'] = $this->get_img_tags($xpath, "//div[@id='comic-img']//img", $article); // Berkeley Mews // $img_tag = $this->get_img_tags($xpath, "//div[@id='comic']/img", $article); } // } // Poly In Pictures elseif (strpos($article['link'], 'leasticoulddo.com/comic') !== FALSE) { $doc = new DOMXpath($doc); $bread = $xpath->query("//a[contains(@href, 'bonus-panel')]")->item(0); $bread_page_url = $bread->getAttribute('href'); $xpath = $this->get_xpath_dealie($article['link']); // $article['content'] = $this->get_img_tags($xpath, "//div[@id='comic']/img", $article); elseif (strpos($article['link'], 'amultiverse.com/comic/') !== FALSE) { // Awkward Zombie elseif (strpos($article['link'], 'threepanelsoul.com/2') !== FALSE) { $xpath = $this->get_xpath_dealie($article['link']); $article['content'] = $img_tag . $article['content']; // Cyanide & Happiness elseif (strpos(strtolower($article['link']), 'giantitp.com/comics/') !== FALSE) { $xpath = $this->get_xpath_dealie($article['link']); $article['content'] = $img_tag . $article['content']; } // Least I Could Do.

New Pull Request