diff options
Diffstat (limited to 'fetcher/fetcher.php')
-rw-r--r-- | fetcher/fetcher.php | 9 |
1 files changed, 6 insertions, 3 deletions
diff --git a/fetcher/fetcher.php b/fetcher/fetcher.php index c93402e7f..4787ccfdd 100644 --- a/fetcher/fetcher.php +++ b/fetcher/fetcher.php @@ -42,15 +42,18 @@ class Fetcher { * @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 simple pie fails * @return array an array containing the new feed and its items, first * element being the Feed and second element being an array of Items */ public function fetch($url, $getFavicon=true, $lastModified=null, - $etag=null) { + $etag=null, $fullTextEnabled=false) { foreach($this->fetchers as $fetcher){ if($fetcher->canHandle($url)){ - return $fetcher->fetch($url, $getFavicon, $lastModified, $etag); + return $fetcher->fetch($url, $getFavicon, $lastModified, $etag, + $fullTextEnabled); } } @@ -58,4 +61,4 @@ class Fetcher { } -}
\ No newline at end of file +} |