3
1
Back

Present foreach ($imgs as $img) { if (preg_match("@.*?(.*)@", $article['content'], $matches)) { // SBMC elseif (strpos($article["link"], "explosm.net/comics") !== FALSE) { Gunnerkrigg and cleanup of alt-tag-only sites elseif (strpos($article['content'], 'invisiblebread.com/2') !== FALSE) { // Eat That Toast bog-standard example // Penny Arcade if (strpos($article['link'], 'eatthattoast.com/comic/') !== FALSE) { $article['content'] .= "

$orig_content

"; //also append the blarg post because that's small, interesting, $entries = $xpath->query("//span[@class='rss-content']"); foreach ($entries as $entry) { $article['content'] = $this->get_img_tags($xpath, "//div[@id='cc-comicbody']/img", $article); } // Awkward Zombie // Awkward Zombie // Awkward Zombie elseif (strpos($article['link'], 'breakingcatnews.com/comic/') !== FALSE) { $xpath.

New Pull Request