mirror of
https://github.com/RSS-Bridge/rss-bridge.git
synced 2025-07-25 02:41:25 +02:00
[TheCodingLoveBridge] code simplification
Signed-off-by: Pierre Mazière <pierre.maziere@gmx.com>
This commit is contained in:
@@ -7,7 +7,8 @@ class TheCodingLoveBridge extends BridgeAbstract{
|
||||
public $description = "The Coding Love";
|
||||
|
||||
public function collectData(){
|
||||
$html = $this->getSimpleHTMLDOM('http://thecodinglove.com/') or $this->returnServerError('Could not request The Coding Love.');
|
||||
$html = $this->getSimpleHTMLDOM($this->uri)
|
||||
or $this->returnServerError('Could not request The Coding Love.');
|
||||
|
||||
foreach($html->find('div.post') as $element) {
|
||||
$item = array();
|
||||
|
Reference in New Issue
Block a user