1
0
Fork 0
forked from blallo/rss-bridge

oops, it was a bit too short...

This commit is contained in:
Paul Vayssiere 2014-07-18 12:52:55 -05:00
parent 2dd8f789fc
commit 92f1d58026

View file

@ -47,7 +47,7 @@ class DeveloppezDotComBridge extends BridgeAbstract{
$limit = 0; $limit = 0;
foreach($rssFeed->find('item') as $element) { foreach($rssFeed->find('item') as $element) {
if($limit < 2) { if($limit < 10) {
$item = new \Item(); $item = new \Item();
$item->title = DeveloppezDotComStripCDATA($element->find('title', 0)->innertext); $item->title = DeveloppezDotComStripCDATA($element->find('title', 0)->innertext);
$item->uri = DeveloppezDotComStripCDATA($element->find('guid', 0)->plaintext); $item->uri = DeveloppezDotComStripCDATA($element->find('guid', 0)->plaintext);