mirror of
https://github.com/RSS-Bridge/rss-bridge.git
synced 2025-04-05 17:19:37 +00:00
[LeJournalDuGeekBridge] code simplification
Signed-off-by: Pierre Mazière <pierre.maziere@gmx.com>
This commit is contained in:
parent
0668f79704
commit
69f5c6fa75
@ -35,7 +35,8 @@ class LeJournalDuGeekBridge extends BridgeAbstract{
|
||||
}
|
||||
|
||||
public function collectData(){
|
||||
$rssFeed = $this->getSimpleHTMLDOM('http://www.journaldugeek.com/rss') or $this->returnServerError('Could not request http://www.journaldugeek.com/rss');
|
||||
$rssFeed = $this->getSimpleHTMLDOM($this->uri.'rss')
|
||||
or $this->returnServerError('Could not request '.$this->uri.'/rss');
|
||||
$limit = 0;
|
||||
|
||||
foreach($rssFeed->find('item') as $element) {
|
||||
|
Loading…
Reference in New Issue
Block a user