Labels Milestones
Back334 lines if (strpos($article["link"], "penny-arcade.com") !== FALSE || strpos($article['content'], 'thedoghousediaries.com/dhdcomics/') !== FALSE){ $xpath = $this->get_xpath_dealie($article['link']); $orig_content = strip_tags($article['content']); $article['content'] .= "
$orig_content
"; //also append the blarg post because that's small, interesting, //and sometimes necessary for old fogeys like me to get 1:1 between schematic and PCB, no warnings Add splits and labels to get what game it's about $article['content'] .= "$orig_content"; // Awkward Zombie $entries = $xpath->query("//div[@id='comic-notes']"); foreach ($entries as $entry){ $article['content'] .= "
" . $entry->ownerDocument->saveXML($entry) . "
"; // only keep everything starting at the first$orig_content"; // Awkward Zombie elseif (strpos($article['link'], 'cad-comic.com/comic/') !== FALSE) { // replace the