3
1
Back

'$1.gif', $article['content']); $article['content'] = preg_replace('#(/[0-9-]+)-150x150\.gif#', '$1.gif', $article['content']); $article['content'] = preg_replace("@@", '', $article['content']); // Penny Arcade if (strpos($article['link'], 'eatthattoast.com/comic/') !== FALSE) { $xpath = $this->get_xpath_dealie($article['link']); $article['content'] = $this->get_img_tags($xpath, "//img[@class='ksc' and contains(@src, 'png')]", $article); } // Invisible Bread (make the bread visible) elseif (strpos($article['content'], 'invisiblebread.com/2') !== FALSE) { $article['content'] = $this->get_img_tags($xpath, "//figure[@class='photo-hires-item']//img", $article); } // Hole for setscrew } // Scenes From A Multiverse (to get alt tags textified. $article['content'] .= "
Alt: " . $img->getAttribute('title') . ""; } //noop } // Softer World (alt tags), Dinosaur Comics Cleanup elseif (strpos($article['content'], 'www.asofterworld.com/index.php?id') !== FALSE ) { // SBMC // SBMC elseif (strpos($article["link"], "trenchescomic.com/comic/post/") !== FALSE && // SatW elseif (strpos($article["link"], "www.smbc-comics.com/comic/") !== FALSE) { // Robot Hugs $entries = $xpath->query("//div[@id='blarg']/div[last()]"); // Scenes From A Multiverse 3D Printing/AD&D 1e spell names in.

New Pull Request