mirror of
https://github.com/RSS-Bridge/rss-bridge.git
synced 2025-07-31 22:00:23 +02:00
Deuxième lot de bridges.
This commit is contained in:
@@ -1,13 +1,17 @@
|
||||
<?php
|
||||
/**
|
||||
* 2014-08-27
|
||||
* @name Project M Game Bridge
|
||||
* @homepage http://projectmgame.com/en/
|
||||
* @description Returns the newest articles.
|
||||
* @maintainer corenting
|
||||
*/
|
||||
class ProjectMGameBridge extends BridgeAbstract{
|
||||
|
||||
public function loadMetadatas() {
|
||||
|
||||
$this->maintainer = "corenting";
|
||||
$this->name = "Project M Game Bridge";
|
||||
$this->uri = "http://projectmgame.com/en/";
|
||||
$this->description = "Returns the newest articles.";
|
||||
$this->update = "2014-08-27";
|
||||
|
||||
}
|
||||
|
||||
|
||||
public function collectData(array $param){
|
||||
$html = '';
|
||||
$html = file_get_html('http://projectmgame.com/en/') or $this->returnError('Error while downloading the Project M homepage', 404);
|
||||
|
Reference in New Issue
Block a user