1
0
Fork 0
forked from blallo/rss-bridge

[Les400CulsBridge] code simplification

Signed-off-by: Pierre Mazière <pierre.maziere@gmx.com>
This commit is contained in:
Pierre Mazière 2016-08-29 12:49:00 +02:00
parent 30f4a3f0f9
commit 820eb5377b

View file

@ -1,17 +1,14 @@
<?php <?php
define("SEXE", "http://sexes.blogs.liberation.fr");
define("SEXE_FEED", "http://sexes.blogs.liberation.fr/feeds/");
class Les400CulsBridge extends RssExpander{ class Les400CulsBridge extends RssExpander{
public $maintainer = "unknown"; public $maintainer = "unknown";
public $name = "Les 400 Culs"; public $name = "Les 400 Culs";
public $uri = "http://sexes.blogs.liberation.fr"; public $uri = "http://sexes.blogs.liberation.fr/";
public $description = "La planete sexe vue par Agnes Girard via rss-bridge"; public $description = "La planete sexe vue par Agnes Girard via rss-bridge";
public function collectData(){ public function collectData(){
parent::collectExpandableDatas(SEXE_FEED); $this->collectExpandableDatas($this->uri.'feeds/');
} }
protected function parseRSSItem($newsItem) { protected function parseRSSItem($newsItem) {