oops, it was a bit too short...
This commit is contained in:
parent
2dd8f789fc
commit
92f1d58026
1 changed files with 1 additions and 1 deletions
|
@ -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);
|
||||||
|
|
Loading…
Reference in a new issue