summaryrefslogtreecommitdiffstats
path: root/fetcher/ifeedfetcher.php
diff options
context:
space:
mode:
authorBernhard Posselt <dev@bernhard-posselt.com>2015-08-10 20:20:30 +0200
committerBernhard Posselt <dev@bernhard-posselt.com>2015-08-12 17:05:18 +0200
commit53679811da855acf9bd944a389a48399ca5d5a15 (patch)
treefa75e06a965fb5751017288a5c135bc179574210 /fetcher/ifeedfetcher.php
parentc77a6705d34c81cb933f3d4b83eb18e2b586035a (diff)
serverside full text
remove enhancers add full text client side implementation fix bugs and tests for full text feed
Diffstat (limited to 'fetcher/ifeedfetcher.php')
-rw-r--r--fetcher/ifeedfetcher.php7
1 files changed, 5 insertions, 2 deletions
diff --git a/fetcher/ifeedfetcher.php b/fetcher/ifeedfetcher.php
index 388b491bf..297885930 100644
--- a/fetcher/ifeedfetcher.php
+++ b/fetcher/ifeedfetcher.php
@@ -25,11 +25,14 @@ interface IFeedFetcher {
* @param string $etag an etag from an http header.
* If lastModified matches the http header from the feed
* no results are fetched
+ * @param bool fullTextEnabled if true tells the fetcher to enhance the
+ * articles by fetching custom enhanced content
* @throws FetcherException if the fetcher encounters a problem
* @return array an array containing the new feed and its items, first
* element being the Feed and second element being an array of Items
*/
- function fetch($url, $getFavicon=true, $lastModified=null, $etag=null);
+ function fetch($url, $getFavicon=true, $lastModified=null, $etag=null,
+ $fullTextEnabled=false);
/**
* @param string $url the url that should be fetched
@@ -38,4 +41,4 @@ interface IFeedFetcher {
*/
function canHandle($url);
-} \ No newline at end of file
+}