summaryrefslogtreecommitdiffstats
path: root/utility
diff options
context:
space:
mode:
authorBernhard Posselt <dev@bernhard-posselt.com>2014-11-05 11:30:27 +0100
committerBernhard Posselt <dev@bernhard-posselt.com>2014-11-05 11:30:38 +0100
commit95530f62513a82c385d9378b4a59da57d74092d9 (patch)
treea4d17994548999b42e99371f381da8c256ee39bf /utility
parent57163ad25a7dc63abd8aff8663c185ddad398466 (diff)
update picofeed, add max size setting, fix #642
Diffstat (limited to 'utility')
-rw-r--r--utility/picofeedclientfactory.php4
-rw-r--r--utility/picofeedfaviconfactory.php4
-rw-r--r--utility/picofeedreaderfactory.php38
3 files changed, 4 insertions, 42 deletions
diff --git a/utility/picofeedclientfactory.php b/utility/picofeedclientfactory.php
index 527d0e13c..a57f7f022 100644
--- a/utility/picofeedclientfactory.php
+++ b/utility/picofeedclientfactory.php
@@ -14,8 +14,8 @@
namespace OCA\News\Utility;
-use \PicoFeed\Config;
-use \PicoFeed\Client;
+use \PicoFeed\Config\Config;
+use \PicoFeed\Client\Client;
class PicoFeedClientFactory {
diff --git a/utility/picofeedfaviconfactory.php b/utility/picofeedfaviconfactory.php
index 8438765cd..4509b9e06 100644
--- a/utility/picofeedfaviconfactory.php
+++ b/utility/picofeedfaviconfactory.php
@@ -14,8 +14,8 @@
namespace OCA\News\Utility;
-use \PicoFeed\Config;
-use \PicoFeed\Favicon;
+use \PicoFeed\Config\Config;
+use \PicoFeed\Client\Favicon;
class PicoFeedFaviconFactory {
diff --git a/utility/picofeedreaderfactory.php b/utility/picofeedreaderfactory.php
deleted file mode 100644
index 844a0e402..000000000
--- a/utility/picofeedreaderfactory.php
+++ /dev/null
@@ -1,38 +0,0 @@
-<?php
-/**
- * ownCloud - News
- *
- * This file is licensed under the Affero General Public License version 3 or
- * later. See the COPYING file.
- *
- * @author Alessandro Cosentino <cosenal@gmail.com>
- * @author Bernhard Posselt <dev@bernhard-posselt.com>
- * @copyright Alessandro Cosentino 2012
- * @copyright Bernhard Posselt 2012, 2014
- */
-
-
-namespace OCA\News\Utility;
-
-use \PicoFeed\Config;
-use \PicoFeed\Reader;
-
-class PicoFeedReaderFactory {
-
- private $config;
-
- public function __construct(Config $config) {
- $this->config = $config;
- }
-
-
- /**
- * Returns a new instance of an PicoFeed Http Reader
- * @return \PicoFeed\Reader instance
- */
- public function build() {
- return new Reader($this->config);
- }
-
-
-} \ No newline at end of file