3
1
Back

Oatmeal elseif (strpos($article['link'], 'paintraincomic.com/comic/') !== FALSE) { // replace the

(containing project wonderful) with nothing $article['content'] = $this->get_img_tags($xpath, "//div[@class='timeline-description']", $article); } Dead Philosophers Dead Philosophers Added BCN, Something Positive elseif (strpos($article['link'], 'threepanelsoul.com/2') !== FALSE) { // Joy of Tech elseif (strpos($article['link'], 'threepanelsoul.com/2') !== FALSE) { elseif (strpos($article['link'], 'www.geekculture.com/joyoftech/') !== FALSE) { // $xpath = $this->get_xpath_dealie($article['link']); $article['content'] = $this->get_img_tags($xpath, "//div[@id='comic']//img", $article); } // Pain Train alt tag, Alice Grove bigger img Gunnerkrigg and cleanup of alt-tag-only sites elseif (strpos($article['content'], 'wondermark.com/c') !== FALSE) { elseif (strpos($article['link'], 'www.timothywinchester.com/2') !== FALSE) { $xpath = $this->get_xpath_dealie($article['link']); $article['content'] = $this->get_img_tags($xpath, '(//img[@id="main-comic"])', $article); } // Poorly Drawn Lines // Berkeley Mews // elseif (strpos($article["link"], "explosm.net/comics") !== FALSE) { $xpath = new DOMXpath($doc); $bread = $xpath->query("//a[contains(@href, 'bonus-panel')]")->item(0); // Questionable Content (cleanup) // Questionable Content (cleanup) // Questionable Content (cleanup) $article['content'] .= "" . $msg . ""; } } //Sites that provide images and just need alt tags if both exist elseif (strpos($article['link'], 'jesusandmo.net') !== FALSE) { $xpath = new DOMDocument(); $doc->loadHTML($article['content']); $xpath = $this->get_xpath_dealie($article['link']); $article['content'] = $this->get_img_tags($xpath, "//div[@class='img-comic-container']//img", $article); // Dinosaur Comics (alt tags+blog), CAD, attempt at OOTS (but that one fails due to referer checks elseif (strpos($article['link'], 'wondermark.com/c') !== FALSE) { $xpath.

New Pull Request