summaryrefslogtreecommitdiffstats
path: root/fetcher/youtubefetcher.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/youtubefetcher.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/youtubefetcher.php')
-rw-r--r--fetcher/youtubefetcher.php6
1 files changed, 4 insertions, 2 deletions
diff --git a/fetcher/youtubefetcher.php b/fetcher/youtubefetcher.php
index 33a7671a4..35ecd80f0 100644
--- a/fetcher/youtubefetcher.php
+++ b/fetcher/youtubefetcher.php
@@ -53,16 +53,18 @@ class YoutubeFetcher implements 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 it 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) {
$transformedUrl = $this->buildUrl($url);
$result = $this->feedFetcher->fetch(
- $transformedUrl, $getFavicon, $lastModified, $etag
+ $transformedUrl, $getFavicon, $lastModified, $etag, $fullTextEnabled
);
// reset feed url so we know the correct added url for the feed