3
1
Back

Prevents fetch_file_contents() from retrieving the image. // $article['content'] = $this->get_img_tags($xpath, "//div[@id='content']/img", $article); elseif (strpos($article['link'], 'somethingpositive.net') !== FALSE) { //also get blog $entries = $xpath->query("//span[@class='rss-content']"); foreach ($entries as $entry){ $article['content'] .= "

" . $entry->textContent . "

"; $article['content'] .= "
Alt: " . $article['id']; } return $article; } /* dirty absolute URL is ready! */ return $scheme . '://' . $abs; Latest commits for file.

New Pull Request