mirror of
https://github.com/RSS-Bridge/rss-bridge.git
synced 2025-04-08 16:08:54 +00:00
[Les400CulsBridge] code simplification
Signed-off-by: Pierre Mazière <pierre.maziere@gmx.com>
This commit is contained in:
parent
30f4a3f0f9
commit
820eb5377b
@ -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) {
|
||||||
|
Loading…
Reference in New Issue
Block a user