Skip to content

Commit

Permalink
fix update stops at readability error
Browse files Browse the repository at this point in the history
  • Loading branch information
SSilence committed Mar 29, 2013
1 parent 4c2ee67 commit 093ae10
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion spouts/rss/readability.php
Original file line number Diff line number Diff line change
Expand Up @@ -114,7 +114,7 @@ public function getContent() {
* @return string content
*/
private function fetchFromReadability($url) {
$content = file_get_contents("https://readability.com/api/content/v1/parser?token=" . $this->apiKey . "&url=" . $url);
$content = @file_get_contents("https://readability.com/api/content/v1/parser?token=" . $this->apiKey . "&url=" . $url);
$data = json_decode($content);
if(isset($data->content)===false)
return false;
Expand Down

0 comments on commit 093ae10

Please sign in to comment.