Labels Milestones
Back$entry->ownerDocument->saveXML($entry); if (GDORN_DEBUG && $article['debugging']) { foreach ($imgs as $img) { $article['content'] = $this->get_img_tags($xpath, "//div[@id='comicbody']//img", $article); } // Poly In Pictures // Poly In Pictures elseif (strpos($article['link'], 'http://www.geekculture.com/joyoftech/') !== FALSE) { $xpath = $this->get_xpath_dealie($article['link']); $article['content'] = preg_replace('#(/[0-9-]+)-150x150\.gif#', '$1.gif', $article['content']); $article['content'] = $this->get_img_tags($xpath, '(//div[@id="comicFrame"])', $article); } // Least I Could Do (wtf image size?) elseif (strpos($article['link'], 'wondermark.com/c') !== FALSE) { $article['content'] .= "
$orig_content
"; //also append the blarg post because that's small, interesting, $entries = $xpath->query("//div[@id='blarg']/div[last()]"); foreach ($entries as $entry){ $article['content'] .= "Bonus comic:" . $aftercomic . ""; if (ADD_IDS) { $imgs. New Pull Request