3
1
Back

$xpath->query("//span[@class='rss-content']"); foreach ($entries as $entry){ $article['content'] .= "
" . $msg . ""; // Camp Weedonwantcha elseif (strpos($article['link'], 'dead-philosophers.com/?p') !== FALSE) { $xpath = $this->get_xpath_dealie($article['link']); $article['content'] = $this->get_img_tags($xpath, "//div[@class='singleImage']/img[@class='magicfields']", $article); elseif (strpos($article['link'], 'breakingcatnews.com/comic/') !== FALSE) { // slightly complicated; the link is to tumblr, but there's a url in the bottom of the source along with the distribution.

New Pull Request