3
1
Back

Amount ); * If you want a D-shaped hole, set this to zero. ScrewHoleDiameter = 3; // Length of the Stick elseif (strpos($article['link'], 'cad-comic.com/cad/') !== FALSE) { // Dead Philosophers elseif (strpos($article['link'], 'awkwardzombie.com/index.php?comic') !== FALSE) { $xpath = new DOMDocument(); $doc->loadHTML($article['content']); $xpath = $this->get_xpath_dealie($article['link']); $article['content'] = $this->get_img_tags($xpath, "//div[@id='cc-comicbody']//img", $article); } // $article['content'] = $this->get_img_tags($xpath, "//p[@id='comic_body']//img", $article); $article['content'] = $this->get_img_tags($xpath, '(//div[@class="post"]//img)', $article); // And get blog entry $entries = $xpath->query("//span[@class='rss-content']"); foreach ($entries as $entry) { $article['content'] = $img_tag . $article['content']; .

New Pull Request