Premier lot de bridges utilisant le premier système.
Signed-off-by: teromene <teromene@teromene.fr>
This commit is contained in:
parent
5d2e7ac83d
commit
11ad75c7e6
25 changed files with 233 additions and 248 deletions
|
@ -1,19 +1,18 @@
|
||||||
<?php
|
<?php
|
||||||
/**
|
|
||||||
* ABCTabsBridge
|
|
||||||
* Returns the newest tabs
|
|
||||||
*
|
|
||||||
* @name ABC Tabs Bridge
|
|
||||||
* @homepage http://www.abc-tabs.com/
|
|
||||||
* @description Returns 22 newest tabs
|
|
||||||
* @maintainer kranack
|
|
||||||
* @update 2014-07-23
|
|
||||||
*
|
|
||||||
*/
|
|
||||||
class ABCTabsBridge extends BridgeAbstract{
|
class ABCTabsBridge extends BridgeAbstract{
|
||||||
|
|
||||||
private $request;
|
private $request;
|
||||||
|
|
||||||
|
public function loadMetadatas() {
|
||||||
|
|
||||||
|
$this->maintainer = "kranack";
|
||||||
|
$this->name = "ABC Tabs Bridge";
|
||||||
|
$this->uri = "http://www.abc-tabs.com/";
|
||||||
|
$this->description = "Returns 22 newest tabs";
|
||||||
|
$this->update = "2014-07-23";
|
||||||
|
|
||||||
|
}
|
||||||
|
|
||||||
public function collectData(array $param){
|
public function collectData(array $param){
|
||||||
$html = '';
|
$html = '';
|
||||||
$html = file_get_html('http://www.abc-tabs.com/tablatures/nouveautes.html') or $this->returnError('No results for this query.', 404);
|
$html = file_get_html('http://www.abc-tabs.com/tablatures/nouveautes.html') or $this->returnError('No results for this query.', 404);
|
||||||
|
@ -30,13 +29,6 @@ class ABCTabsBridge extends BridgeAbstract{
|
||||||
$this->items[] = $item;
|
$this->items[] = $item;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
public function getName(){
|
|
||||||
return 'ABC Tabs Bridge';
|
|
||||||
}
|
|
||||||
|
|
||||||
public function getURI(){
|
|
||||||
return 'http://www.abc-tabs.com/';
|
|
||||||
}
|
|
||||||
|
|
||||||
public function getCacheDuration(){
|
public function getCacheDuration(){
|
||||||
return 3600; // 1 hour
|
return 3600; // 1 hour
|
||||||
|
|
|
@ -1,11 +1,4 @@
|
||||||
<?php
|
<?php
|
||||||
/**
|
|
||||||
*
|
|
||||||
* @name Acrimed Bridge
|
|
||||||
* @homepage http://www.acrimed.org/
|
|
||||||
* @description Returns the newest articles.
|
|
||||||
* @maintainer qwertygc
|
|
||||||
*/
|
|
||||||
class AcrimedBridge extends BridgeAbstract{
|
class AcrimedBridge extends BridgeAbstract{
|
||||||
|
|
||||||
public function loadMetadatas() {
|
public function loadMetadatas() {
|
||||||
|
|
|
@ -1,16 +1,17 @@
|
||||||
<?php
|
<?php
|
||||||
/**
|
|
||||||
* RssBridgeBastabag
|
|
||||||
* Returns the newest articles
|
|
||||||
* 2014-05-25
|
|
||||||
*
|
|
||||||
* @name Bastamag Bridge
|
|
||||||
* @homepage http://www.bastamag.net/
|
|
||||||
* @description Returns the newest articles.
|
|
||||||
* @maintainer qwertygc
|
|
||||||
*/
|
|
||||||
class BastaBridge extends BridgeAbstract{
|
class BastaBridge extends BridgeAbstract{
|
||||||
|
|
||||||
|
public function loadMetadatas() {
|
||||||
|
|
||||||
|
$this->maintainer = "qwertygc";
|
||||||
|
$this->name = "Bastamag Bridge";
|
||||||
|
$this->uri = "http://www.bastamag.net/";
|
||||||
|
$this->description = "Returns the newest articles.";
|
||||||
|
$this->update = "2014-05-25";
|
||||||
|
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
public function collectData(array $param){
|
public function collectData(array $param){
|
||||||
|
|
||||||
|
|
||||||
|
|
|
@ -1,14 +1,16 @@
|
||||||
<?php
|
<?php
|
||||||
/**
|
|
||||||
*
|
|
||||||
* @name Blagues De Merde
|
|
||||||
* @homepage http://www.blaguesdemerde.fr/
|
|
||||||
* @description Blagues De Merde
|
|
||||||
* @update 16/10/2013
|
|
||||||
* initial maintainer: superbaillot.net
|
|
||||||
*/
|
|
||||||
class BlaguesDeMerdeBridge extends BridgeAbstract{
|
class BlaguesDeMerdeBridge extends BridgeAbstract{
|
||||||
|
|
||||||
|
public function loadMetadatas() {
|
||||||
|
|
||||||
|
$this->maintainer = "superbaillot.net";
|
||||||
|
$this->name = "Blagues De Merde";
|
||||||
|
$this->uri = "http://www.blaguesdemerde.fr/";
|
||||||
|
$this->description = "Blagues De Merde";
|
||||||
|
$this->update = "16/10/2013";
|
||||||
|
|
||||||
|
}
|
||||||
|
|
||||||
public function collectData(array $param){
|
public function collectData(array $param){
|
||||||
$html = file_get_html('http://www.blaguesdemerde.fr/') or $this->returnError('Could not request BDM.', 404);
|
$html = file_get_html('http://www.blaguesdemerde.fr/') or $this->returnError('Could not request BDM.', 404);
|
||||||
|
|
||||||
|
|
|
@ -1,16 +1,16 @@
|
||||||
<?php
|
<?php
|
||||||
/**
|
|
||||||
* RssBridgeCAD
|
|
||||||
* Returns the newest articles
|
|
||||||
* 2015-04-03
|
|
||||||
*
|
|
||||||
* @name CAD Bridge
|
|
||||||
* @homepage http://www.cad-comic.com/
|
|
||||||
* @description Returns the newest articles.
|
|
||||||
* @maintainer nyutag
|
|
||||||
*/
|
|
||||||
class CADBridge extends BridgeAbstract{
|
class CADBridge extends BridgeAbstract{
|
||||||
|
|
||||||
|
public function loadMetadatas() {
|
||||||
|
|
||||||
|
$this->maintainer = "nyutag";
|
||||||
|
$this->name = "CAD Bridge";
|
||||||
|
$this->uri = "http://www.cad-comic.com/";
|
||||||
|
$this->description = "Returns the newest articles.";
|
||||||
|
$this->update = "2015-04-03";
|
||||||
|
|
||||||
|
}
|
||||||
|
|
||||||
public function collectData(array $param){
|
public function collectData(array $param){
|
||||||
|
|
||||||
function CADUrl($string) {
|
function CADUrl($string) {
|
||||||
|
|
|
@ -1,16 +1,16 @@
|
||||||
<?php
|
<?php
|
||||||
/**
|
|
||||||
* RssBridgeCoinDesk
|
|
||||||
* Returns the 5 newest posts from coindesk.com (full text)
|
|
||||||
*
|
|
||||||
* @name CoinDesk
|
|
||||||
* @homepage http://www.coindesk.com/
|
|
||||||
* @description Returns the 5 newest posts from CoinDesk (full text)
|
|
||||||
* @maintainer mitsukarenai
|
|
||||||
* @update 2014-05-30
|
|
||||||
*/
|
|
||||||
class CoinDeskBridge extends BridgeAbstract{
|
class CoinDeskBridge extends BridgeAbstract{
|
||||||
|
|
||||||
|
public function loadMetadatas() {
|
||||||
|
|
||||||
|
$this->maintainer = "mitsukarenai";
|
||||||
|
$this->name = "CoinDesk";
|
||||||
|
$this->uri = "http://www.coindesk.com/";
|
||||||
|
$this->description = "Returns the 5 newest posts from CoinDesk (full text)";
|
||||||
|
$this->update = "2014-05-30";
|
||||||
|
|
||||||
|
}
|
||||||
|
|
||||||
public function collectData(array $param){
|
public function collectData(array $param){
|
||||||
|
|
||||||
function CoinDeskStripCDATA($string) {
|
function CoinDeskStripCDATA($string) {
|
||||||
|
|
|
@ -1,15 +1,16 @@
|
||||||
<?php
|
<?php
|
||||||
/**
|
|
||||||
* RssBridgeCollegeDeFrance
|
|
||||||
* Returns the 10 newest posts from http://www.college-de-france.fr
|
|
||||||
*
|
|
||||||
* @name CollegeDeFrance
|
|
||||||
* @homepage http://www.college-de-france.fr/
|
|
||||||
* @description Returns the 10 newest posts from CollegeDeFrance
|
|
||||||
* @maintainer pit-fgfjiudghdf
|
|
||||||
* @update 2014-05-26
|
|
||||||
*/
|
|
||||||
class CollegeDeFranceBridge extends BridgeAbstract{
|
class CollegeDeFranceBridge extends BridgeAbstract{
|
||||||
|
|
||||||
|
public function loadMetadatas() {
|
||||||
|
|
||||||
|
$this->maintainer = "pit-fgfjiudghdf";
|
||||||
|
$this->name = "CollegeDeFrance";
|
||||||
|
$this->uri = "http://www.college-de-france.fr/";
|
||||||
|
$this->description = "Returns the 10 newest posts from CollegeDeFrance";
|
||||||
|
$this->update = "2014-05-26";
|
||||||
|
|
||||||
|
}
|
||||||
|
|
||||||
public function collectData(array $param){
|
public function collectData(array $param){
|
||||||
$find = array('janvier', 'février', 'mars', 'avril', 'mai', 'juin', 'juillet', 'août', 'septembre', 'novembre', 'décembre');
|
$find = array('janvier', 'février', 'mars', 'avril', 'mai', 'juin', 'juillet', 'août', 'septembre', 'novembre', 'décembre');
|
||||||
$replace = array('January', 'February', 'March', 'April', 'May', 'June', 'July', 'August', 'September', 'October', 'November', 'December');
|
$replace = array('January', 'February', 'March', 'April', 'May', 'June', 'July', 'August', 'September', 'October', 'November', 'December');
|
||||||
|
|
|
@ -1,16 +1,16 @@
|
||||||
<?php
|
<?php
|
||||||
/**
|
|
||||||
* RssBridgeCommonDreams
|
|
||||||
* Returns the newest articles
|
|
||||||
* 2015-04-03
|
|
||||||
*
|
|
||||||
* @name CommonDreams Bridge
|
|
||||||
* @homepage http://www.commondreams.org/
|
|
||||||
* @description Returns the newest articles.
|
|
||||||
* @maintainer nyutag
|
|
||||||
*/
|
|
||||||
class CommonDreamsBridge extends BridgeAbstract{
|
class CommonDreamsBridge extends BridgeAbstract{
|
||||||
|
|
||||||
|
public function loadMetadatas() {
|
||||||
|
|
||||||
|
$this->maintainer = "nyutag";
|
||||||
|
$this->name = "CommonDreams Bridge";
|
||||||
|
$this->uri = "http://www.commondreams.org/";
|
||||||
|
$this->description = "Returns the newest articles.";
|
||||||
|
$this->update = "2015-04-03";
|
||||||
|
|
||||||
|
}
|
||||||
|
|
||||||
public function collectData(array $param){
|
public function collectData(array $param){
|
||||||
|
|
||||||
function CommonDreamsUrl($string) {
|
function CommonDreamsUrl($string) {
|
||||||
|
|
|
@ -1,14 +1,17 @@
|
||||||
<?php
|
<?php
|
||||||
/**
|
|
||||||
*
|
|
||||||
* @name CopieDouble
|
|
||||||
* @homepage http://www.copie-double.com/
|
|
||||||
* @description CopieDouble
|
|
||||||
* @update 12/12/2013
|
|
||||||
* initial maintainer: superbaillot.net
|
|
||||||
*/
|
|
||||||
class CopieDoubleBridge extends BridgeAbstract{
|
class CopieDoubleBridge extends BridgeAbstract{
|
||||||
|
|
||||||
|
public function loadMetadatas() {
|
||||||
|
|
||||||
|
$this->maintainer = "superbaillot.net";
|
||||||
|
$this->name = "CopieDouble";
|
||||||
|
$this->uri = "http://www.copie-double.com/";
|
||||||
|
$this->description = "CopieDouble";
|
||||||
|
$this->update = "12/12/2013";
|
||||||
|
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
public function collectData(array $param){
|
public function collectData(array $param){
|
||||||
$html = file_get_html('http://www.copie-double.com/') or $this->returnError('Could not request CopieDouble.', 404);
|
$html = file_get_html('http://www.copie-double.com/') or $this->returnError('Could not request CopieDouble.', 404);
|
||||||
$table = $html->find('table table', 2);
|
$table = $html->find('table table', 2);
|
||||||
|
|
|
@ -1,15 +1,16 @@
|
||||||
<?php
|
<?php
|
||||||
/**
|
|
||||||
*
|
|
||||||
* @name CourrierInternational
|
|
||||||
* @homepage http://CourrierInternational.fr/
|
|
||||||
* @description Courrier International bridge
|
|
||||||
* @update 01/09/2015
|
|
||||||
* @maintainer teromene
|
|
||||||
*/
|
|
||||||
|
|
||||||
class CourrierInternationalBridge extends BridgeAbstract{
|
class CourrierInternationalBridge extends BridgeAbstract{
|
||||||
|
|
||||||
|
public function loadMetadatas() {
|
||||||
|
|
||||||
|
$this->maintainer = "teromene";
|
||||||
|
$this->name = "CourrierInternational";
|
||||||
|
$this->uri = "http://CourrierInternational.fr/";
|
||||||
|
$this->description = "Courrier International bridge";
|
||||||
|
$this->update = "01/09/2015";
|
||||||
|
|
||||||
|
}
|
||||||
|
|
||||||
public function collectData(array $param){
|
public function collectData(array $param){
|
||||||
|
|
||||||
function fetchArticle($link) {
|
function fetchArticle($link) {
|
||||||
|
|
|
@ -1,17 +1,16 @@
|
||||||
<?php
|
<?php
|
||||||
/**
|
|
||||||
* RssBridgeDansTonChat
|
|
||||||
* Retrieve lastest quotes from DansTonChat.
|
|
||||||
* Returns the most recent quotes, sorting by date (most recent first).
|
|
||||||
* 2014-05-25
|
|
||||||
*
|
|
||||||
* @name DansTonChat Bridge
|
|
||||||
* @homepage http://danstonchat.com/latest.html
|
|
||||||
* @description Returns latest quotes from DansTonChat.
|
|
||||||
* @maintainer Astalaseven
|
|
||||||
*/
|
|
||||||
class DansTonChatBridge extends BridgeAbstract{
|
class DansTonChatBridge extends BridgeAbstract{
|
||||||
|
|
||||||
|
public function loadMetadatas() {
|
||||||
|
|
||||||
|
$this->maintainer = "Astalaseven";
|
||||||
|
$this->name = "DansTonChat Bridge";
|
||||||
|
$this->uri = "http://danstonchat.com/latest.html";
|
||||||
|
$this->description = "Returns latest quotes from DansTonChat.";
|
||||||
|
$this->update = "2014-05-25";
|
||||||
|
|
||||||
|
}
|
||||||
|
|
||||||
public function collectData(array $param){
|
public function collectData(array $param){
|
||||||
$html = '';
|
$html = '';
|
||||||
$link = 'http://danstonchat.com/latest.html';
|
$link = 'http://danstonchat.com/latest.html';
|
||||||
|
|
|
@ -1,15 +1,4 @@
|
||||||
<?php
|
<?php
|
||||||
/**
|
|
||||||
* ABCTabsBridge
|
|
||||||
* Returns the newest tabs
|
|
||||||
*
|
|
||||||
* @name ABC Tabs Bridge
|
|
||||||
* @homepage http://www.abc-tabs.com/
|
|
||||||
* @description Returns 22 newest tabs
|
|
||||||
* @maintainer kranack
|
|
||||||
* @update 2014-07-23
|
|
||||||
*
|
|
||||||
*/
|
|
||||||
class DemoBridge extends BridgeAbstract{
|
class DemoBridge extends BridgeAbstract{
|
||||||
|
|
||||||
public function loadMetadatas() {
|
public function loadMetadatas() {
|
||||||
|
|
|
@ -1,16 +1,16 @@
|
||||||
<?php
|
<?php
|
||||||
/**
|
|
||||||
* RssBridgeDeveloppezDotCom
|
|
||||||
* Returns the 15 newest posts from http://www.developpez.com (full text)
|
|
||||||
* 2014-07-14
|
|
||||||
*
|
|
||||||
* @name Developpez.com Actus (FR)
|
|
||||||
* @homepage http://www.developpez.com/
|
|
||||||
* @description Returns the 15 newest posts from DeveloppezDotCom (full text).
|
|
||||||
* @maintainer polopollo
|
|
||||||
*/
|
|
||||||
class DeveloppezDotComBridge extends BridgeAbstract{
|
class DeveloppezDotComBridge extends BridgeAbstract{
|
||||||
|
|
||||||
|
public function loadMetadatas() {
|
||||||
|
|
||||||
|
$this->maintainer = "polopollo";
|
||||||
|
$this->name = "Developpez.com Actus (FR)";
|
||||||
|
$this->uri = "http://www.developpez.com/";
|
||||||
|
$this->description = "Returns the 15 newest posts from DeveloppezDotCom (full text).";
|
||||||
|
$this->update = "2014-07-14";
|
||||||
|
|
||||||
|
}
|
||||||
|
|
||||||
public function collectData(array $param){
|
public function collectData(array $param){
|
||||||
|
|
||||||
function DeveloppezDotComStripCDATA($string) {
|
function DeveloppezDotComStripCDATA($string) {
|
||||||
|
|
|
@ -1,15 +1,16 @@
|
||||||
<?php
|
<?php
|
||||||
/**
|
|
||||||
*
|
|
||||||
* @name Dilbert Daily Strip
|
|
||||||
* @homepage http://dilbert.com/strips/
|
|
||||||
* @description The Unofficial Dilbert Daily Comic Strip
|
|
||||||
* @update 30/01/2015
|
|
||||||
* initial maintainer: superbaillot.net
|
|
||||||
* @maintainer kranack
|
|
||||||
*/
|
|
||||||
class DilbertBridge extends BridgeAbstract{
|
class DilbertBridge extends BridgeAbstract{
|
||||||
|
|
||||||
|
public function loadMetadatas() {
|
||||||
|
|
||||||
|
$this->maintainer = "kranack";
|
||||||
|
$this->name = "Dilbert Daily Strip";
|
||||||
|
$this->uri = "http://dilbert.com/strips/";
|
||||||
|
$this->description = "The Unofficial Dilbert Daily Comic Strip";
|
||||||
|
$this->update = "30/01/2015";
|
||||||
|
|
||||||
|
}
|
||||||
|
|
||||||
public function collectData(array $param){
|
public function collectData(array $param){
|
||||||
$html = file_get_html('http://dilbert.com/strips/') or $this->returnError('Could not request Dilbert.', 404);
|
$html = file_get_html('http://dilbert.com/strips/') or $this->returnError('Could not request Dilbert.', 404);
|
||||||
|
|
||||||
|
|
|
@ -1,19 +1,15 @@
|
||||||
<?php
|
<?php
|
||||||
/**
|
|
||||||
* RssBridgeFS
|
|
||||||
* Returns the 5 newest posts from http://www.futura-sciences.com (full text)
|
|
||||||
*
|
|
||||||
* @name Futurasciences
|
|
||||||
* @description Returns the 5 newest posts from FS (full text)
|
|
||||||
* @homepage http://www.futura-sciences.com
|
|
||||||
*@maintainer qwertygc
|
|
||||||
|
|
||||||
*/
|
|
||||||
class FSBridge extends BridgeAbstract{
|
class FSBridge extends BridgeAbstract{
|
||||||
|
|
||||||
|
public function loadMetadatas() {
|
||||||
|
|
||||||
|
$this->maintainer = "qwertygc";
|
||||||
|
$this->name = "Futurasciences";
|
||||||
|
$this->uri = "http://www.futura-sciences.com";
|
||||||
|
$this->description = "Returns the 5 newest posts from FS (full text)";
|
||||||
|
$this->update = "03/11/2015";
|
||||||
|
|
||||||
|
}
|
||||||
|
|
||||||
public function collectData(array $param){
|
public function collectData(array $param){
|
||||||
|
|
||||||
|
|
|
@ -1,14 +1,16 @@
|
||||||
<?php
|
<?php
|
||||||
/**
|
|
||||||
*
|
|
||||||
* @name Footito
|
|
||||||
* @homepage http://www.footito.fr/
|
|
||||||
* @description Footito
|
|
||||||
* @update 21/11/2013
|
|
||||||
* initial maintainer: superbaillot.net
|
|
||||||
*/
|
|
||||||
class FootitoBridge extends BridgeAbstract{
|
class FootitoBridge extends BridgeAbstract{
|
||||||
|
|
||||||
|
public function loadMetadatas() {
|
||||||
|
|
||||||
|
$this->maintainer = "superbaillot.net";
|
||||||
|
$this->name = "Footito";
|
||||||
|
$this->uri = "http://www.footito.fr/";
|
||||||
|
$this->description = "Footito";
|
||||||
|
$this->update = "21/11/2013";
|
||||||
|
|
||||||
|
}
|
||||||
|
|
||||||
public function collectData(array $param){
|
public function collectData(array $param){
|
||||||
$html = file_get_html('http://www.footito.fr/') or $this->returnError('Could not request Footito.', 404);
|
$html = file_get_html('http://www.footito.fr/') or $this->returnError('Could not request Footito.', 404);
|
||||||
|
|
||||||
|
|
|
@ -1,16 +1,15 @@
|
||||||
<?php
|
<?php
|
||||||
/**
|
|
||||||
* RssBridgeFrandroid
|
|
||||||
* Returns the RSS feed from Frandroid (full text articles)
|
|
||||||
*
|
|
||||||
* @name Frandroid
|
|
||||||
* @homepage http://www.frandroid.com/
|
|
||||||
* @description Returns the RSS feed from Frandroid (full text articles)
|
|
||||||
* @maintainer Daiyousei
|
|
||||||
* @update 2015-03-05
|
|
||||||
*/
|
|
||||||
class FrandroidBridge extends BridgeAbstract
|
class FrandroidBridge extends BridgeAbstract
|
||||||
{
|
{
|
||||||
|
public function loadMetadatas() {
|
||||||
|
|
||||||
|
$this->maintainer = "Daiyousei";
|
||||||
|
$this->name = "Frandroid";
|
||||||
|
$this->uri = "http://www.frandroid.com/";
|
||||||
|
$this->description = "Returns the RSS feed from Frandroid (full text articles)";
|
||||||
|
$this->update = "2015-03-05";
|
||||||
|
|
||||||
|
}
|
||||||
|
|
||||||
public function collectData(array $param)
|
public function collectData(array $param)
|
||||||
{
|
{
|
||||||
|
|
|
@ -1,16 +1,16 @@
|
||||||
<?php
|
<?php
|
||||||
/**
|
|
||||||
* RssBridgeGizmodoFR
|
|
||||||
* Returns the 15 newest posts from http://www.gizmodo.fr (full text)
|
|
||||||
* 2014-07-14
|
|
||||||
*
|
|
||||||
* @name GizmodoFR
|
|
||||||
* @homepage http://www.gizmodo.fr/
|
|
||||||
* @description Returns the 15 newest posts from GizmodoFR (full text).
|
|
||||||
* @maintainer polopollo
|
|
||||||
*/
|
|
||||||
class GizmodoFRBridge extends BridgeAbstract{
|
class GizmodoFRBridge extends BridgeAbstract{
|
||||||
|
|
||||||
|
public function loadMetadatas() {
|
||||||
|
|
||||||
|
$this->maintainer = "polopollo";
|
||||||
|
$this->name = "GizmodoFR";
|
||||||
|
$this->uri = "http://www.gizmodo.fr/";
|
||||||
|
$this->description = "Returns the 15 newest posts from GizmodoFR (full text).";
|
||||||
|
$this->update = "2014-07-14";
|
||||||
|
|
||||||
|
}
|
||||||
|
|
||||||
public function collectData(array $param){
|
public function collectData(array $param){
|
||||||
|
|
||||||
function GizmodoFRExtractContent($url) {
|
function GizmodoFRExtractContent($url) {
|
||||||
|
|
|
@ -1,18 +1,15 @@
|
||||||
<?php
|
<?php
|
||||||
/**
|
|
||||||
* RssBridgeGuruMed
|
|
||||||
* Returns the 5 newest posts from http://www.gurumed.org (full text)
|
|
||||||
*
|
|
||||||
* @name GuruMed
|
|
||||||
* @description Returns the 5 newest posts from Gurumed (full text)
|
|
||||||
* @homepage http://www.gurumed.org
|
|
||||||
*@maintainer qwertygc
|
|
||||||
*/
|
|
||||||
class GuruMedBridge extends BridgeAbstract{
|
class GuruMedBridge extends BridgeAbstract{
|
||||||
|
|
||||||
|
public function loadMetadatas() {
|
||||||
|
|
||||||
|
$this->maintainer = "qwertygc";
|
||||||
|
$this->name = "GuruMed";
|
||||||
|
$this->uri = "http://www.gurumed.org";
|
||||||
|
$this->description = "Returns the 5 newest posts from Gurumed (full text)";
|
||||||
|
$this->update = "03/10/2015";
|
||||||
|
|
||||||
|
}
|
||||||
|
|
||||||
public function collectData(array $param){
|
public function collectData(array $param){
|
||||||
|
|
||||||
|
|
|
@ -1,16 +1,16 @@
|
||||||
<?php
|
<?php
|
||||||
/**
|
|
||||||
* RssBridgeKoreus
|
|
||||||
* Returns the 5 newest posts from Koreus (full text)
|
|
||||||
*
|
|
||||||
* @name Koreus
|
|
||||||
* @homepage http://www.koreus.com/
|
|
||||||
* @description Returns the 5 newest posts from Koreus (full text)
|
|
||||||
* @maintainer pit-fgfjiudghdf
|
|
||||||
* @update 2014-05-26
|
|
||||||
*/
|
|
||||||
class KoreusBridge extends BridgeAbstract{
|
class KoreusBridge extends BridgeAbstract{
|
||||||
|
|
||||||
|
public function loadMetadatas() {
|
||||||
|
|
||||||
|
$this->maintainer = "pit-fgfjiudghdf";
|
||||||
|
$this->name = "Koreus";
|
||||||
|
$this->uri = "http://www.koreus.com/";
|
||||||
|
$this->description = "Returns the 5 newest posts from Koreus (full text)";
|
||||||
|
$this->update = "2014-05-26";
|
||||||
|
|
||||||
|
}
|
||||||
|
|
||||||
public function collectData(array $param){
|
public function collectData(array $param){
|
||||||
|
|
||||||
function KoreusStripCDATA($string) {
|
function KoreusStripCDATA($string) {
|
||||||
|
|
|
@ -1,16 +1,16 @@
|
||||||
<?php
|
<?php
|
||||||
/**
|
|
||||||
* RssBridgeLeJournalDuGeek
|
|
||||||
* Returns the 15 newest posts from http://www.journaldugeek.com (full text)
|
|
||||||
* 2014-07-14
|
|
||||||
*
|
|
||||||
* @name journaldugeek.com (FR)
|
|
||||||
* @homepage http://www.journaldugeek.com/
|
|
||||||
* @description Returns the 5 newest posts from LeJournalDuGeek (full text).
|
|
||||||
* @maintainer polopollo
|
|
||||||
*/
|
|
||||||
class LeJournalDuGeekBridge extends BridgeAbstract{
|
class LeJournalDuGeekBridge extends BridgeAbstract{
|
||||||
|
|
||||||
|
public function loadMetadatas() {
|
||||||
|
|
||||||
|
$this->maintainer = "polopollo";
|
||||||
|
$this->name = "journaldugeek.com (FR)";
|
||||||
|
$this->uri = "http://www.journaldugeek.com/";
|
||||||
|
$this->description = "Returns the 5 newest posts from LeJournalDuGeek (full text).";
|
||||||
|
$this->update = "2014-07-14";
|
||||||
|
|
||||||
|
}
|
||||||
|
|
||||||
public function collectData(array $param){
|
public function collectData(array $param){
|
||||||
|
|
||||||
function LeJournalDuGeekStripCDATA($string) {
|
function LeJournalDuGeekStripCDATA($string) {
|
||||||
|
|
|
@ -1,17 +1,16 @@
|
||||||
<?php
|
<?php
|
||||||
/**
|
|
||||||
* LeMondeInformatique Bridge
|
|
||||||
* Returns the newest articles
|
|
||||||
* 2015-09-08
|
|
||||||
*
|
|
||||||
* @name Le Monde Informatique
|
|
||||||
* @homepage http://www.lemondeinformatique.fr/
|
|
||||||
* @description Returns the newest articles.
|
|
||||||
* @maintainer ORelio
|
|
||||||
* @update 2015-09-08
|
|
||||||
*/
|
|
||||||
class LeMondeInformatiqueBridge extends BridgeAbstract {
|
class LeMondeInformatiqueBridge extends BridgeAbstract {
|
||||||
|
|
||||||
|
public function loadMetadatas() {
|
||||||
|
|
||||||
|
$this->maintainer = "ORelio";
|
||||||
|
$this->name = "Le Monde Informatique";
|
||||||
|
$this->uri = "http://www.lemondeinformatique.fr/";
|
||||||
|
$this->description = "Returns the newest articles.";
|
||||||
|
$this->update = "2015-09-08";
|
||||||
|
|
||||||
|
}
|
||||||
|
|
||||||
public function collectData(array $param) {
|
public function collectData(array $param) {
|
||||||
|
|
||||||
function StripCDATA($string) {
|
function StripCDATA($string) {
|
||||||
|
|
|
@ -1,13 +1,16 @@
|
||||||
<?php
|
<?php
|
||||||
/**
|
|
||||||
* 2014-05-25
|
|
||||||
* @name LeMotDuJour Bridge
|
|
||||||
* @homepage http://www.lemotdujour.com/
|
|
||||||
* @description Returns the newest articles.
|
|
||||||
* @maintainer qwertygc
|
|
||||||
*/
|
|
||||||
class LeMotDuJourBridge extends BridgeAbstract{
|
class LeMotDuJourBridge extends BridgeAbstract{
|
||||||
|
|
||||||
|
public function loadMetadatas() {
|
||||||
|
|
||||||
|
$this->maintainer = "qwertygc";
|
||||||
|
$this->name = "LeMotDuJour Bridge";
|
||||||
|
$this->uri = "http://www.lemotdujour.com/";
|
||||||
|
$this->description = "Returns the newest articles.";
|
||||||
|
$this->update = "2014-05-25";
|
||||||
|
|
||||||
|
}
|
||||||
|
|
||||||
public function collectData(array $param){
|
public function collectData(array $param){
|
||||||
|
|
||||||
function StripCDATA($string) {
|
function StripCDATA($string) {
|
||||||
|
|
|
@ -1,10 +1,4 @@
|
||||||
<?php
|
<?php
|
||||||
/**
|
|
||||||
*
|
|
||||||
* @name Les 400 Culs
|
|
||||||
* @description La planète sexe vue par Agnès Girard via rss-bridge
|
|
||||||
* @update 20/02/2014
|
|
||||||
*/
|
|
||||||
require_once 'bridges/RssExpander.php';
|
require_once 'bridges/RssExpander.php';
|
||||||
define("SEXE", "http://sexes.blogs.liberation.fr");
|
define("SEXE", "http://sexes.blogs.liberation.fr");
|
||||||
define("RSS", "http://sexes.blogs.liberation.fr/feeds/");
|
define("RSS", "http://sexes.blogs.liberation.fr/feeds/");
|
||||||
|
@ -14,6 +8,17 @@ define("RSS", "http://sexes.blogs.liberation.fr/feeds/");
|
||||||
*/
|
*/
|
||||||
class Les400Culs extends RssExpander{
|
class Les400Culs extends RssExpander{
|
||||||
|
|
||||||
|
public function loadMetadatas() {
|
||||||
|
|
||||||
|
$this->maintainer = "unknown";
|
||||||
|
$this->name = "Les 400 Culs";
|
||||||
|
$this->uri = "http://sexes.blogs.liberation.fr";
|
||||||
|
$this->description = "La planète sexe vue par Agnès Girard via rss-bridge";
|
||||||
|
$this->update = "20/02/2014";
|
||||||
|
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
public function collectData(array $param){
|
public function collectData(array $param){
|
||||||
$param['url'] = RSS;
|
$param['url'] = RSS;
|
||||||
parent::collectData($param);
|
parent::collectData($param);
|
||||||
|
|
|
@ -1,14 +1,16 @@
|
||||||
<?php
|
<?php
|
||||||
/**
|
|
||||||
*
|
|
||||||
* @name Les Joies Du Code
|
|
||||||
* @homepage http://lesjoiesducode.fr/
|
|
||||||
* @description LesJoiesDuCode
|
|
||||||
* @update 04/02/2015
|
|
||||||
* initial maintainer: superbaillot.net
|
|
||||||
*/
|
|
||||||
class LesJoiesDuCodeBridge extends BridgeAbstract{
|
class LesJoiesDuCodeBridge extends BridgeAbstract{
|
||||||
|
|
||||||
|
public function loadMetadatas() {
|
||||||
|
|
||||||
|
$this->maintainer = "superbaillot.net";
|
||||||
|
$this->name = "Les Joies Du Code";
|
||||||
|
$this->uri = "http://lesjoiesducode.fr/";
|
||||||
|
$this->description = "LesJoiesDuCode";
|
||||||
|
$this->update = "04/02/2015";
|
||||||
|
|
||||||
|
}
|
||||||
|
|
||||||
public function collectData(array $param){
|
public function collectData(array $param){
|
||||||
$html = file_get_html('http://lesjoiesducode.fr/') or $this->returnError('Could not request LesJoiesDuCode.', 404);
|
$html = file_get_html('http://lesjoiesducode.fr/') or $this->returnError('Could not request LesJoiesDuCode.', 404);
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue