3
1
Back

$entry){ foreach ($entries as $entry) { $article['content'] .= "

$orig_content

"; //also append the blarg post because that's small, interesting, $entries = $xpath->query("//div[@class='entry']"); foreach ($entries as $entry) { $article['content'] = $this->get_img_tags($xpath, "//div[@class='comic-wrap']//img[@class='comic']", $article); elseif (strpos($article['link'], 'dead-philosophers.com/?p') !== FALSE) { // only keep everything starting at the first if(preg_match("@.*(get_img_tags($xpath, "//div[@class='timeline-description']", $article); $article['content'] = $img; if (preg_match("@.*()@", $article['content'], $matches)) { $img = preg_replace("@width=\"\d+\"@", "", $img); $article['content'] = $doc->saveXML(); // Questionable Content.

New Pull Request