1
0
mirror of https://github.com/RSS-Bridge/rss-bridge.git synced 2025-07-30 13:20:12 +02:00

Fix post limit for FS, GuruMed, OpenTheory

This commit is contained in:
Mitsukarenai
2014-05-30 14:07:34 +02:00
parent 913a2ffc2d
commit e816b2aa80
3 changed files with 8 additions and 8 deletions

View File

@@ -4,7 +4,7 @@
* Returns the 5 newest posts from http://www.futura-sciences.com (full text)
*
* @name Futurasciences
* @description Returns the 20 newest posts from FS (full text)
* @description Returns the 5 newest posts from FS (full text)
*@maintainer qwertygc
*/
class FSBridge extends BridgeAbstract{
@@ -30,7 +30,7 @@ class FSBridge extends BridgeAbstract{
$limit = 0;
foreach($html->find('item') as $element) {
if($limit < 20) {
if($limit < 5) {
$item = new \Item();
$item->title = FS_StripCDATA($element->find('title', 0)->innertext);
$item->uri = FS_StripCDATA($element->find('guid', 0)->plaintext);