3rd batch of bridges.

Signed-off-by: teromene <teromene@teromene.fr>
This commit is contained in:
teromene 2015-11-05 11:20:11 +00:00 committed by Mitsukarenai
parent 2e4e89aff8
commit b3733069d4
17 changed files with 175 additions and 162 deletions

View file

@ -1,16 +1,16 @@
<?php
/**
* RssBridgeWikipediaEO
* Retrieve latest highlighted articles from Wikipedia in Esperanto.
* 2014-05-25
*
* @name Wikipedia EO "Artikolo de la semajno"
* @homepage https://eo.wikipedia.org/
* @description Returns the highlighted eo.wikipedia.org article.
* @maintainer gsurrel
*/
class WikipediaEOBridge extends BridgeAbstract{
public function loadMetadatas() {
$this->maintainer = "gsurrel";
$this->name = "Wikipedia EO 'Artikolo de la semajno'";
$this->uri = "https://eo.wikipedia.org/";
$this->description = "Returns the highlighted eo.wikipedia.org article.";
$this->update = "2014-05-25";
}
public function collectData(array $param){
$html = '';
$host = 'http://eo.wikipedia.org';