Labels Milestones
Back$article['content']; $article['content'] = $this->get_img_tags($xpath, "//div[@id='comic']/img", $article); } // Timothy Winchester (People I Know elseif (strpos($article['link'], 'threepanelsoul.com/2') !== FALSE) { $article['content'] .= "
" . $entry->textContent . ""; $img_tag = $this->get_img_tags($xpath, "//div[@id='comic']//img", $article); } // } // Three Panel Soul elseif (strpos($article['link'], 'campcomic.com/comic/') !== FALSE) { Gunnerkrigg and cleanup of alt-tag-only sites Gunnerkrigg and cleanup of alt-tag-only sites elseif (strpos($article['content'], 'invisiblebread.com/2') !== FALSE) { $xpath = $this->get_xpath_dealie($article['link']); $article['content'] = $this->get_img_tags($xpath, "//div[@id='comic-1']//img", $article); // Jesus & Mo elseif (strpos($article['link'], 'dilbert.com/strip/') !== FALSE) { elseif (strpos($article['link'], 'dead-philosophers.com/?p') !== FALSE) { // replace the (containing project wonderful) with nothing $article['content'] = preg_replace('#(width|height)="150"#', '', $article['content']); } // Dilbert elseif (strpos($article['link'], 'leasticoulddo.com/comic') !== FALSE) { // Chainsawsuit elseif (strpos($article["link"], "drugsandwires.fail/dnwcomic/") !== FALSE) { $article['content'] = $this->get_img_tags($xpath, '(//img[@id="main-comic"])', $article); } // Invisible Bread (make the bread visible) // Invisible Bread (make the bread visible) elseif (strpos($article['content'], 'www.asofterworld.com/index.php?id') !== FALSE && // Cyanide & Happiness // Cyanide & Happiness // Cyanide & Happiness elseif (strpos($article["link"], "poorlydrawnlines.com/comic/") !== FALSE || strpos($article['content'], 'thedoghousediaries.com/dhdcomics/') !== FALSE) { $xpath = $this->get_xpath_dealie($article['link']); $img_tag = $this->get_img_tags($xpath, '(//div[@id="comic"]//img)', $article); // $article['content'] = $this->get_img_tags($xpath.
New Pull Request