[TheOatMealBridge] code simplification
Signed-off-by: Pierre Mazière <pierre.maziere@gmx.com>
This commit is contained in:
parent
5093eadfca
commit
9b5177eb68
1 changed files with 1 additions and 4 deletions
|
@ -1,7 +1,4 @@
|
||||||
<?php
|
<?php
|
||||||
define("THE_OATMEAL", "http://theoatmeal.com/");
|
|
||||||
define("THE_OATMEAL_RSS", "http://feeds.feedburner.com/oatmealfeed");
|
|
||||||
|
|
||||||
class TheOatmealBridge extends RssExpander{
|
class TheOatmealBridge extends RssExpander{
|
||||||
|
|
||||||
public $maintainer = "Riduidel";
|
public $maintainer = "Riduidel";
|
||||||
|
@ -10,7 +7,7 @@ class TheOatmealBridge extends RssExpander{
|
||||||
public $description = "Un petit site de dessins assez rigolos";
|
public $description = "Un petit site de dessins assez rigolos";
|
||||||
|
|
||||||
public function collectData(){
|
public function collectData(){
|
||||||
parent::collectExpandableDatas(THE_OATMEAL_RSS);
|
$this->collectExpandableDatas('http://feeds.feedburner.com/oatmealfeed');
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue