diff --git a/bridges/ABCTabsBridge.php b/bridges/ABCTabsBridge.php
index 9ab3e9c..29b41e0 100644
--- a/bridges/ABCTabsBridge.php
+++ b/bridges/ABCTabsBridge.php
@@ -9,7 +9,7 @@ class ABCTabsBridge extends BridgeAbstract{
$this->name = "ABC Tabs Bridge";
$this->uri = "http://www.abc-tabs.com/";
$this->description = "Returns 22 newest tabs";
- $this->update = "2016-08-06";
+ $this->update = "2016-08-09";
}
@@ -21,7 +21,7 @@ class ABCTabsBridge extends BridgeAbstract{
foreach ($table->find('tr') as $tab)
{
$item = new \Item();
- $item->name = $tab->find('td', 1)->plaintext . ' - ' . $tab->find('td', 2)->plaintext;
+ $item->author = $tab->find('td', 1)->plaintext . ' - ' . $tab->find('td', 2)->plaintext;
$item->title = $tab->find('td', 1)->plaintext . ' - ' . $tab->find('td', 2)->plaintext;
$item->content = 'Le ' . $tab->find('td', 0)->plaintext . '
Par: ' . $tab->find('td', 5)->plaintext . '
Type: ' . $tab->find('td', 3)->plaintext;
$item->id = 'http://www.abc-tabs.com' . $tab->find('td', 2)->find('a', 0)->getAttribute('href');
diff --git a/bridges/BandcampBridge.php b/bridges/BandcampBridge.php
index ce0c65c..80e3dee 100644
--- a/bridges/BandcampBridge.php
+++ b/bridges/BandcampBridge.php
@@ -9,7 +9,7 @@ class BandcampBridge extends BridgeAbstract{
$this->name = "Bandcamp Tag";
$this->uri = "http://bandcamp.com/";
$this->description = "New bandcamp release by tag";
- $this->update = "2014-05-25";
+ $this->update = "2016-08-09";
$this->parameters[] =
'[
@@ -38,7 +38,7 @@ class BandcampBridge extends BridgeAbstract{
$uri = rtrim($uri, "')");
$item = new \Item();
- $item->name = $release->find('div.itemsubtext',0)->plaintext . ' - ' . $release->find('div.itemtext',0)->plaintext;
+ $item->author = $release->find('div.itemsubtext',0)->plaintext . ' - ' . $release->find('div.itemtext',0)->plaintext;
$item->title = $release->find('div.itemsubtext',0)->plaintext . ' - ' . $release->find('div.itemtext',0)->plaintext;
$item->content = '
' . $release->find('div.itemsubtext',0)->plaintext . ' - ' . $release->find('div.itemtext',0)->plaintext;
$item->id = $release->find('a',0)->getAttribute('href');
diff --git a/bridges/BlaguesDeMerdeBridge.php b/bridges/BlaguesDeMerdeBridge.php
index 126ca82..d977cae 100644
--- a/bridges/BlaguesDeMerdeBridge.php
+++ b/bridges/BlaguesDeMerdeBridge.php
@@ -7,7 +7,7 @@ class BlaguesDeMerdeBridge extends BridgeAbstract{
$this->name = "Blagues De Merde";
$this->uri = "http://www.blaguesdemerde.fr/";
$this->description = "Blagues De Merde";
- $this->update = "2016-08-06";
+ $this->update = "2016-08-09";
}
@@ -26,7 +26,7 @@ class BlaguesDeMerdeBridge extends BridgeAbstract{
$date = $element->find("li.bdm_date",0)->innertext;
$time = mktime(0, 0, 0, substr($date, 3, 2), substr($date, 0, 2), substr($date, 6, 4));
$item->timestamp = $time;
- $item->name = $element->find("li.bdm_pseudo",0)->innertext;;
+ $item->author = $element->find("li.bdm_pseudo",0)->innertext;;
$this->items[] = $item;
}
}
diff --git a/bridges/CpasbienBridge.php b/bridges/CpasbienBridge.php
index 93649e6..63cec4b 100644
--- a/bridges/CpasbienBridge.php
+++ b/bridges/CpasbienBridge.php
@@ -24,7 +24,7 @@ class CpasbienBridge extends HttpCachingBridgeAbstract{
$this->name = "Cpasbien Bridge";
$this->uri = "http://www.cpasbien.io";
$this->description = "Returns latest torrents from a request query";
- $this->update = "2016-08-06";
+ $this->update = "2016-08-09";
$this->parameters[] =
'[
@@ -57,7 +57,7 @@ class CpasbienBridge extends HttpCachingBridgeAbstract{
$htmlepisode=content_get_html($this->get_cached($episode->find('a', 0)->getAttribute('href')));
$item = new \Item();
- $item->name = $episode->find('a', 0)->text();
+ $item->author = $episode->find('a', 0)->text();
$item->title = $episode->find('a', 0)->text();
$item->timestamp = $this->get_cached_time($episode->find('a', 0)->getAttribute('href'));
$textefiche=$htmlepisode->find('#textefiche', 0)->find('p',1);
diff --git a/bridges/DemoBridge.php b/bridges/DemoBridge.php
index 3f71375..2e576c6 100644
--- a/bridges/DemoBridge.php
+++ b/bridges/DemoBridge.php
@@ -7,7 +7,7 @@ class DemoBridge extends BridgeAbstract{
$this->name = "DemoBridge";
$this->uri = "http://github.com/sebsauvage/rss-bridge";
$this->description = "Bridge used for demos";
- $this->update = "2016-08-08";
+ $this->update = "2016-08-09";
$this->parameters['testCheckbox'] =
'[
@@ -54,7 +54,7 @@ class DemoBridge extends BridgeAbstract{
public function collectData(array $param){
$item = new \Item();
- $item->name = "TestElement";
+ $item->author = "Me!";
$item->title = "Test";
$item->content = "Awesome content !";
$item->id = "Lalala";
diff --git a/bridges/ElsevierBridge.php b/bridges/ElsevierBridge.php
index bd35925..cca3d85 100644
--- a/bridges/ElsevierBridge.php
+++ b/bridges/ElsevierBridge.php
@@ -6,7 +6,7 @@ class ElsevierBridge extends BridgeAbstract{
$this->name = 'Elsevier journals recent articles';
$this->uri = 'http://www.journals.elsevier.com';
$this->description = 'Returns the recent articles published in Elsevier journals';
- $this->update = '2016-08-06';
+ $this->update = '2016-08-09';
$this->parameters[] =
'[
@@ -69,7 +69,7 @@ class ElsevierBridge extends BridgeAbstract{
$item = new \Item();
$item->uri = $article->find('.pod-listing-header>a',0)->getAttribute('href').'?np=y';
$item->title = $article->find('.pod-listing-header>a',0)->plaintext;
- $item->name = $this->ExtractArticleName($article);
+ $item->author = $this->ExtractArticleName($article);
$item->timestamp = $this->ExtractArticleTimestamp($article);
$item->content = $this->ExtractArticleContent($article);
$this->items[] = $item;
diff --git a/bridges/FootitoBridge.php b/bridges/FootitoBridge.php
index a66dd82..ffcba2f 100644
--- a/bridges/FootitoBridge.php
+++ b/bridges/FootitoBridge.php
@@ -7,7 +7,7 @@ class FootitoBridge extends BridgeAbstract{
$this->name = "Footito";
$this->uri = "http://www.footito.fr/";
$this->description = "Footito";
- $this->update = "2016-08-06";
+ $this->update = "2016-08-09";
}
@@ -36,7 +36,7 @@ class FootitoBridge extends BridgeAbstract{
$info = $element->find('div.infos', 0);
$item->timestamp = strtotime($info->find('time', 0)->datetime);
- $item->name = $info->find('a.auteur', 0)->plaintext;
+ $item->author = $info->find('a.auteur', 0)->plaintext;
$this->items[] = $item;
}
diff --git a/bridges/Freenews.php b/bridges/Freenews.php
index b2e27c9..9cc0baf 100644
--- a/bridges/Freenews.php
+++ b/bridges/Freenews.php
@@ -8,7 +8,7 @@ class Freenews extends RssExpander {
$this->name = "Freenews";
$this->uri = "http://freenews.fr";
$this->description = "Un site d'actualité pour les freenautes (mais ne parlant pas que de la freebox). Ne rentrez pas d'id si vous voulez accéder aux actualités générales.";
- $this->update = "26/03/2014";
+ $this->update = "2016-08-09";
$this->parameters[] =
'[
@@ -38,7 +38,7 @@ class Freenews extends RssExpander {
$content = $articlePage->find('.post-container', 0);
$item->content = $content->innertext;
- $item->name = $articlePage->find('a[rel=author]', 0)->innertext;
+ $item->author = $articlePage->find('a[rel=author]', 0)->innertext;
// format should parse 2014-03-25T16:21:20Z. But, according to http://stackoverflow.com/a/10478469, it is not that simple
$item->timestamp = $this->RSS_2_0_time_to_timestamp($newsItem);
return $item;
diff --git a/bridges/Gawker.php b/bridges/Gawker.php
index 624e66d..71bba27 100644
--- a/bridges/Gawker.php
+++ b/bridges/Gawker.php
@@ -10,7 +10,7 @@ class Gawker extends RssExpander{
$this->name = "Gawker media";
$this->uri = "http://feeds.gawker.com/";
$this->description = "A bridge allowing access to any of the numerous Gawker media blogs (Lifehacker, deadspin, Kotaku, Jezebel, and so on. Notice you have to give its id to find the RSS stream in gawker maze";
- $this->update = "27/03/2014";
+ $this->update = "2016-08-09";
$this->parameters[] =
'[
@@ -53,7 +53,7 @@ class Gawker extends RssExpander{
$vcard = $articlePage->find('.vcard', 0);
if(is_object($vcard)) {
$authorLink = $vcard->find('a', 0);
- $item->name = $authorLink->innertext;
+ $item->author = $authorLink->innertext;
// TODO use author link href to fill the feed info
}
// $this->message("item quite loaded : ".var_export($item, true));
diff --git a/bridges/GithubIssueBridge.php b/bridges/GithubIssueBridge.php
index 4c56cf0..84b1f56 100644
--- a/bridges/GithubIssueBridge.php
+++ b/bridges/GithubIssueBridge.php
@@ -12,7 +12,7 @@ class GithubIssueBridge extends BridgeAbstract{
$this->name = 'Github Issue';
$this->uri = '';
$this->description = 'Returns the comments of a github project issue';
- $this->update = '2016-06-25';
+ $this->update = '2016-08-09';
$this->parameters[]=
'[
@@ -40,7 +40,7 @@ class GithubIssueBridge extends BridgeAbstract{
foreach($html->find('.js-comment-container') as $comment){
$item = new \Item();
- $item->name=$comment->find('img',0)->getAttribute('alt');
+ $item->author=$comment->find('img',0)->getAttribute('alt');
$comment=$comment->firstChild()->nextSibling();
diff --git a/bridges/GitlabCommitsBridge.php b/bridges/GitlabCommitsBridge.php
index 030c74b..ba1b002 100644
--- a/bridges/GitlabCommitsBridge.php
+++ b/bridges/GitlabCommitsBridge.php
@@ -12,7 +12,7 @@ class GitlabCommitsBridge extends BridgeAbstract{
$this->name = 'Gitlab Commits';
$this->uri = '';
$this->description = 'Returns the commits of a project hosted on a gitlab instance';
- $this->update = '2016-08-06';
+ $this->update = '2016-08-09';
$this->parameters[] =
'[
@@ -64,7 +64,7 @@ class GitlabCommitsBridge extends BridgeAbstract{
$item->title=$a->plaintext;
}
if(in_array('commit-author-link',$classes)){
- $item->name=trim($a->plaintext);
+ $item->author=trim($a->plaintext);
}
}
diff --git a/bridges/LWNprevBridge.php b/bridges/LWNprevBridge.php
index 9772799..15bc1f2 100644
--- a/bridges/LWNprevBridge.php
+++ b/bridges/LWNprevBridge.php
@@ -12,7 +12,7 @@ class LWNprevBridge extends BridgeAbstract{
$this->name = 'LWN Free Weekly Edition';
$this->uri = 'https://lwn.net/free/bigpage';
$this->description = 'LWN Free Weekly Edition available one week late';
- $this->update = '2016-19-01';
+ $this->update = '2016-08-09';
}
@@ -88,14 +88,14 @@ class LWNprevBridge extends BridgeAbstract{
switch($h2NextSibling->getAttribute('class')){
case 'FeatureByline':
- $item->name=$h2NextSibling->getElementsByTagName('b')->item(0)->textContent;
+ $item->author=$h2NextSibling->getElementsByTagName('b')->item(0)->textContent;
break;
case 'GAByline':
$text=$h2NextSibling->textContent;
- $item->name=substr($text,strpos($text,'by '));
+ $item->author=substr($text,strpos($text,'by '));
break;
default:
- $item->name='LWN';
+ $item->author='LWN';
break;
};
diff --git a/bridges/Les400Culs.php b/bridges/Les400Culs.php
index c8b89c8..65bd5a6 100644
--- a/bridges/Les400Culs.php
+++ b/bridges/Les400Culs.php
@@ -10,7 +10,7 @@ class Les400Culs extends RssExpander{
$this->name = "Les 400 Culs";
$this->uri = "http://sexes.blogs.liberation.fr";
$this->description = "La planete sexe vue par Agnes Girard via rss-bridge";
- $this->update = "20/02/2014";
+ $this->update = "2016-08-09";
}
@@ -34,7 +34,7 @@ class Les400Culs extends RssExpander{
// $content = $articlePage->find('.post-container', 0);
$item->content = (string) $newsItem->description;
- $item->name = (string) $newsItem->author;
+ $item->author = (string) $newsItem->author;
$item->timestamp = $this->RSS_2_0_time_to_timestamp($newsItem);
return $item;
}
diff --git a/bridges/LesJoiesDuCodeBridge.php b/bridges/LesJoiesDuCodeBridge.php
index ab759dd..4ff8e2c 100644
--- a/bridges/LesJoiesDuCodeBridge.php
+++ b/bridges/LesJoiesDuCodeBridge.php
@@ -7,7 +7,7 @@ class LesJoiesDuCodeBridge extends BridgeAbstract{
$this->name = "Les Joies Du Code";
$this->uri = "http://lesjoiesducode.fr/";
$this->description = "LesJoiesDuCode";
- $this->update = "2016-08-06";
+ $this->update = "2016-08-09";
}
@@ -36,7 +36,7 @@ class LesJoiesDuCodeBridge extends BridgeAbstract{
if($pos > 0)
{
$auteur = trim(str_replace("*/", "", substr($auteur->innertext, ($pos + 2))));
- $item->name = $auteur;
+ $item->author = $auteur;
}
diff --git a/bridges/SensCritiqueBridge.php b/bridges/SensCritiqueBridge.php
index f471602..fc20932 100644
--- a/bridges/SensCritiqueBridge.php
+++ b/bridges/SensCritiqueBridge.php
@@ -8,7 +8,7 @@ class SensCritiqueBridge extends BridgeAbstract {
$this->name = "Sens Critique";
$this->uri = "http://www.senscritique.com";
$this->description = "Sens Critique news";
- $this->update = "2016-08-06";
+ $this->update = "2016-08-09";
$this->parameters[] =
'[
@@ -118,7 +118,7 @@ class SensCritiqueBridge extends BridgeAbstract {
foreach ($list->find('li') as $movie) {
$item = new \Item();
- $item->name = htmlspecialchars_decode($movie->find('.elco-title a', 0)->plaintext, ENT_QUOTES) . ' ' . $movie->find('.elco-date', 0)->plaintext;
+ $item->author = htmlspecialchars_decode($movie->find('.elco-title a', 0)->plaintext, ENT_QUOTES) . ' ' . $movie->find('.elco-date', 0)->plaintext;
$item->title = $movie->find('.elco-title a', 0)->plaintext . ' ' . $movie->find('.elco-date', 0)->plaintext;
$item->content = '' . $movie->find('.elco-original-title', 0)->plaintext . '
' .
$movie->find('.elco-baseline', 0)->plaintext . '
' .
diff --git a/bridges/Sexactu.php b/bridges/Sexactu.php
index cfa97a7..c5480e4 100644
--- a/bridges/Sexactu.php
+++ b/bridges/Sexactu.php
@@ -8,7 +8,7 @@ class Sexactu extends BridgeAbstract{
$this->name = "Sexactu";
$this->uri = "http://www.gqmagazine.fr";
$this->description = "Sexactu via rss-bridge";
- $this->update = "2016-08-06";
+ $this->update = "2016-08-09";
}
@@ -42,7 +42,7 @@ $replace = array('January', 'February', 'March', 'April', 'May', 'June', 'July',
$date = strtotime($dateText);
$item->timestamp = $date;
- $item->name = "Maïa Mazaurette";
+ $item->author = "Maïa Mazaurette";
$elementText = $element->find('.text-container', 0);
// don't forget to replace images server url with gq one
foreach($elementText->find('img') as $image) {
diff --git a/bridges/SoundcloudBridge.php b/bridges/SoundcloudBridge.php
index ebc3f8e..40836d5 100644
--- a/bridges/SoundcloudBridge.php
+++ b/bridges/SoundcloudBridge.php
@@ -10,7 +10,7 @@ class SoundCloudBridge extends BridgeAbstract{
$this->name = "Soundcloud Bridge";
$this->uri = "http://www.soundcloud.com/";
$this->description = "Returns 10 newest music from user profile";
- $this->update = "2016-08-06";
+ $this->update = "2016-08-09";
$this->parameters[] =
'[
@@ -40,7 +40,7 @@ class SoundCloudBridge extends BridgeAbstract{
for ($i=0; $i < 10; $i++) {
$item = new \Item();
- $item->name = $tracks[$i]->user->username .' - '. $tracks[$i]->title;
+ $item->author = $tracks[$i]->user->username .' - '. $tracks[$i]->title;
$item->title = $tracks[$i]->user->username .' - '. $tracks[$i]->title;
$item->content = '