3
1
Back

Tags foreach($imgs as $img){ // Softer World (alt tags we don't need to call out for elseif (strpos($article['content'], 'www.asofterworld.com/index.php?id') !== FALSE || strpos($article['content'], 'thedoghousediaries.com/dhdcomics/') !== FALSE) { $xpath = $this->get_xpath_dealie($article['link']); $article['content'] = $this->get_img_tags($xpath, "//p[@id='comic_body']//img", $article); $article['content'] = $this->get_img_tags($xpath, "//div[@class='singleImage']/img[@class='magicfields']", $article); elseif (strpos($article['content'], 'thedoghousediaries.com/dhdcomics/') !== FALSE){ $article['content'] = preg_replace("@@", '', $article['content']); } // Eat That Toast elseif (strpos($article["link"], "poorlydrawnlines.com/comic/") !== FALSE && strpos($article["title"], "Comic:") !== FALSE) { $article['content'] .= "

$orig_content

"; //also append the blarg post because that's small, interesting, //also append the blarg post because that's small, interesting, $entries = $xpath->query("//div[@id='blarg']/div[last()]"); foreach ($entries as $entry) { // Gunnerkrigg Court // Gunnerkrigg Court elseif (strpos($article['link'], 'amultiverse.com/comic/') !== FALSE) { Clean up code formatting; added a.

New Pull Request