3
1
Back

// $article['content'] = $this->get_img_tags($xpath, "//div[@id='content']/img", $article); $article['content'] = $this->get_img_tags($xpath, '(//div[@id="comic"]//img)', $article); } // Dinosaur Comics Cleanup elseif (strpos($article['link'], 'somethingpositive.net') !== FALSE) { $article['content'] .= "

" . $entry->textContent . "

"; } } Clean up code.

New Pull Request