1
0
mirror of https://github.com/RSS-Bridge/rss-bridge.git synced 2025-10-22 20:16:08 +02:00

[bridges] Define max items and clear caches

This commit is contained in:
logmanoriginal
2016-09-05 20:26:45 +02:00
parent f1fb527607
commit 2861a855e4
12 changed files with 43 additions and 25 deletions

View File

@@ -7,7 +7,7 @@ class NumeramaBridge extends FeedExpander {
const DESCRIPTION = 'Returns the 5 newest posts from Numerama (full text)';
public function collectData(){
$this->collectExpandableDatas(self::URI . 'feed/');
$this->collectExpandableDatas(self::URI . 'feed/', 5);
}
protected function parseItem($newsItem){