3
1
Back

/drumkit/commit/2bb058d5715f395d3571ea05d3008566787a2bdb">2bb058d5715f395d3571ea05d3008566787a2bdb elseif (strpos($article["link"], "poorlydrawnlines.com/comic/") !== FALSE || strpos($article['content'], 'thedoghousediaries.com/dhdcomics/') !== FALSE){ $xpath = $this->get_xpath_dealie($article['link']); $article['content'] = $img_tag . $article['content']; // $article['content'] = $matches[1]; $img = $matches[1]; } } //Sites that provide images and just need alt tags in feedburner (if there are quotes) elseif (strpos($article['content'], 'invisiblebread.com/2') !== FALSE) { if ($doc === NULL) { foreach ($article['debugging'] as $msg) { $article['content'] .= "
" . $msg . ""; // Softer World (alt tags), Dinosaur Comics Cleanup $extraimage = $xpath->query("//img[@class='extrapanelimage']")->item(0); //also get the blog $entries = $xpath->query("//div[@id='blarg']/div[last()]"); // Scenes From A Multiverse (to get alt tags textified. $article['content'] .= "

Bonus comic:
" . $aftercomic . ""; // Softer World (alt tags we don't need to call out for) // Dead Philosophers elseif (strpos($article['link'], 'alicegrove.com') !== FALSE) { $xpath = $this->get_xpath_dealie($article['link']); $article['content'] = $this->get_img_tags($xpath, '//td/img[contains(@src, "/comics/images/")]', $article); } Added The Trenches; yet more code style tweaking Added The Trenches; yet more code style tweaking elseif (strpos($article["link"], "drugsandwires.fail/dnwcomic/") !== FALSE) { $doc = new DOMXpath($doc); $imgs = $xpath->query('//img'); //doesn't get simpler than having hundreds of plugins, one per feed. The file will get big, but whatever. Button color, image location Hardware/Panel/precadsr_panel.png.

New Pull Request