mirror of
https://github.com/RSS-Bridge/rss-bridge.git
synced 2025-08-04 18:14:44 +02:00
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
|
||||
/**
|
||||
* 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{
|
||||
|
||||
|
||||
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){
|
||||
$html = '';
|
||||
$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;
|
||||
}
|
||||
}
|
||||
public function getName(){
|
||||
return 'ABC Tabs Bridge';
|
||||
}
|
||||
|
||||
public function getURI(){
|
||||
return 'http://www.abc-tabs.com/';
|
||||
}
|
||||
|
||||
public function getCacheDuration(){
|
||||
return 3600; // 1 hour
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue