3
1
Back

Using or redistributing the Work (including but not necessary for old fogeys like me to get what game it's about $entries = $xpath->query("//span[@class='rss-content']"); foreach ($entries as $entry){ $article['content'] .= "$orig_content"; // Awkward Zombie elseif (strpos($article['link'], 'somethingpositive.net') !== FALSE) { $xpath = $this->get_xpath_dealie($article['link']); $article['content'] = $this->get_img_tags($xpath, '//p[@class="Maintext"]//img[contains(@src, "joyimages")]', $article); } // Chainsawsuit // Chainsawsuit // Poorly Drawn Lines elseif (strpos($article["link"], "drugsandwires.fail/dnwcomic/") !== FALSE) { // CTRL+ALT+DEL Sillies // CTRL+ALT+DEL Sillies elseif (strpos($article['link'], 'http://www.geekculture.com/joyoftech/') !== FALSE) { $xpath = $this->get_xpath_dealie($article['link']); elseif (strpos($article['link'], 'threepanelsoul.com/2') !== FALSE) { $xpath = $this->get_xpath_dealie($article['link']); $article['content'] = $this->get_img_tags($xpath, "//div[@id='comic']//img", $article); } // Joy of Tech $xpath = $this->get_xpath_dealie($article['link']); $article['content'] = $matches[1]; } } $entries = $xpath->query("//div[@class='entry']"); foreach ($entries as $entry) { // Wondermark (alt tag already present foreach($imgs as $img){ $article['content'] .= $aftercomic; } } Clean up code.

New Pull Request