Merge pull request #75 from Polopollo/master
The developper.com bridge was too short on items
This commit is contained in:
commit
3bbfa428ea
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