summaryrefslogtreecommitdiffstats
path: root/utility/feedfetcher.php
diff options
context:
space:
mode:
Diffstat (limited to 'utility/feedfetcher.php')
-rw-r--r--utility/feedfetcher.php10
1 files changed, 9 insertions, 1 deletions
diff --git a/utility/feedfetcher.php b/utility/feedfetcher.php
index 9bfe1ed31..bf8cbd35b 100644
--- a/utility/feedfetcher.php
+++ b/utility/feedfetcher.php
@@ -31,7 +31,7 @@ use \OCA\News\Db\Item;
use \OCA\News\Db\Feed;
-class FeedFetcher {
+class FeedFetcher implements IFeedFetcher {
private $api;
@@ -40,6 +40,14 @@ class FeedFetcher {
}
+ public function canHandle($url){
+
+ // This fetcher handles all the remaining urls therefore
+ // return true
+ return true;
+ }
+
+
/**
* Fetch a feed from remote
* @param string url remote url of the feed