3
1
Back

Dd8c61c34faaeb27b8a193b7a0410df7bb5b6b87 Mon Sep 17 00:00:00 2001 Subject: [PATCH 2/2] Fix for when invisiblebread has no bread Fix for when invisible bread has no bread Fix for when invisible bread has no bread Pain Train (to get alt tags) elseif (strpos($article['link'], 'campcomic.com/comic/') !== FALSE) { $imgs = $xpath->query('//img'); //doesn't get simpler than this // only keep everything starting at the first if(preg_match("@.*()@", $article['content'], $matches)){ $img = $matches[1]; elseif (strpos($article['content'], 'wondermark.com/c') !== FALSE) { // Poly In Pictures elseif (strpos($article['link'], 'campcomic.com/comic/') !== FALSE) { Fix for two bugs in Doghouse Diaries rss: spaces in img src and quotes in alt/title text //also get the blog //also get the blog $entries = $xpath->query("//span[@class='rss-content']"); foreach ($entries as $entry) { $article['content'] = $this->get_img_tags($xpath, '(//div[@id="comicbody"]//img)', $article) . $article['content']; .

New Pull Request