1
0
Fork 0
forked from blallo/rss-bridge

[TheOatMealBridge] code simplification

Signed-off-by: Pierre Mazière <pierre.maziere@gmx.com>
This commit is contained in:
Pierre Mazière 2016-08-29 23:26:32 +02:00
parent 5093eadfca
commit 9b5177eb68

View file

@ -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');
} }