2014-02-20 08:43:14 +01:00
|
|
|
<?php
|
2016-09-04 13:28:55 +02:00
|
|
|
class Les400CulsBridge extends FeedExpander{
|
2014-02-20 08:43:14 +01:00
|
|
|
|
2016-09-04 13:32:58 +02:00
|
|
|
const MAINTAINER = "unknown";
|
|
|
|
const NAME = "Les 400 Culs";
|
|
|
|
const URI = "http://sexes.blogs.liberation.fr/";
|
|
|
|
const DESCRIPTION = "La planete sexe vue par Agnes Girard via rss-bridge";
|
2015-11-03 23:28:44 +01:00
|
|
|
|
2016-08-25 01:24:53 +02:00
|
|
|
public function collectData(){
|
2016-09-04 13:32:58 +02:00
|
|
|
$this->collectExpandableDatas(self::URI . 'feeds/');
|
2014-02-20 08:43:14 +01:00
|
|
|
}
|
2016-08-25 17:11:49 +02:00
|
|
|
|
2016-09-04 13:32:58 +02:00
|
|
|
protected function parseItem($newsItem){
|
|
|
|
return $this->parseRSS_2_0_Item($newsItem);
|
2014-02-20 08:43:14 +01:00
|
|
|
}
|
2016-09-04 13:32:58 +02:00
|
|
|
|
2014-02-20 08:43:14 +01:00
|
|
|
public function getCacheDuration(){
|
|
|
|
return 7200; // 2h hours
|
|
|
|
}
|
|
|
|
}
|