Strangely, those bridges didn't seems to work exactly as expected
This commit is contained in:
parent
79e4e9fdea
commit
ef0ce7d669
2 changed files with 3 additions and 5 deletions
|
@ -5,7 +5,7 @@
|
||||||
* @description The Unofficial Dilbert Daily Comic Strip RSS Feed via rss-bridge
|
* @description The Unofficial Dilbert Daily Comic Strip RSS Feed via rss-bridge
|
||||||
* @update 16/10/2013
|
* @update 16/10/2013
|
||||||
*/
|
*/
|
||||||
class DilbertBridge extends BridgeAbstract{
|
class Dilbert extends BridgeAbstract{
|
||||||
|
|
||||||
public function collectData(array $param){
|
public function collectData(array $param){
|
||||||
$html = file_get_html('http://dilbert.com/strips/') or $this->returnError('Could not request Dilbert.', 404);
|
$html = file_get_html('http://dilbert.com/strips/') or $this->returnError('Could not request Dilbert.', 404);
|
||||||
|
@ -40,4 +40,4 @@ class DilbertBridge extends BridgeAbstract{
|
||||||
return 14400; // 4 hours
|
return 14400; // 4 hours
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
?>
|
|
||||||
|
|
|
@ -5,7 +5,7 @@
|
||||||
* @description LesJoiesDuCode via rss-bridge
|
* @description LesJoiesDuCode via rss-bridge
|
||||||
* @update 30/01/2014
|
* @update 30/01/2014
|
||||||
*/
|
*/
|
||||||
class LesJoiesDuCodeBridge extends BridgeAbstract{
|
class LesJoiesDuCode extends BridgeAbstract{
|
||||||
|
|
||||||
public function collectData(array $param){
|
public function collectData(array $param){
|
||||||
$html = file_get_html('http://lesjoiesducode.fr/') or $this->returnError('Could not request LesJoiesDuCode.', 404);
|
$html = file_get_html('http://lesjoiesducode.fr/') or $this->returnError('Could not request LesJoiesDuCode.', 404);
|
||||||
|
@ -53,5 +53,3 @@ class LesJoiesDuCodeBridge extends BridgeAbstract{
|
||||||
return "Les Joies Du Code via rss-bridge";
|
return "Les Joies Du Code via rss-bridge";
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
?>
|
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue