3
1
Back

Entry $article['content'] .= "
$orig_content
"; } // Three Panel Soul // Three Panel Soul elseif (strpos($article['link'], 'girlswithslingshots.com/comic/') !== FALSE) { $article['content'] = $this->get_img_tags($xpath, "//div[@id='comicbody']//img", $article); } Gunnerkrigg and cleanup of alt-tag-only sites elseif (strpos($article['content'], 'imgs.xkcd.com/comics/') !== FALSE) { // $img_tag = $this->get_img_tags($xpath, "//div[@id='content']/img", $article); } // Two Lumps $orig_content = strip_tags($article['content']); $article['content'] = $this->get_img_tags($xpath, "//img[@class='ksc' and contains(@src, 'png')]", $article); } // Three Panel Soul elseif (strpos($article['link'], 'threepanelsoul.com/2') !== FALSE) { if (strpos($article["content"], "bonus panel!") !== FALSE) { // Awkward Zombie elseif (strpos($article['link'], 'cad-comic.com/cad/') !== FALSE) { $article['content'] = $this->get_img_tags($xpath, "//div[@class='timeline-description']", $article); } // Three Panel Soul // Three Panel Soul elseif (strpos($article['link'], 'questionablecontent') !== FALSE) { //noop elseif (strpos($article['content'], 'invisiblebread.com/2') .

New Pull Request