1
0
Fork 0
forked from blallo/rss-bridge

maj LinkedIn & Viadeo

This commit is contained in:
Régis Enguehard 2015-12-23 16:14:28 +01:00
parent f837032afb
commit 65a9c2b0bc
2 changed files with 4 additions and 4 deletions

View file

@ -6,7 +6,7 @@ class LinkedInCompany extends BridgeAbstract{
$this->maintainer = "regisenguehard";
$this->name = "LinkedIn Company";
$this->uri = "https://www.linkedin.com/";
$this->description = "Returns most recent actus from Company on LinkedIn.";
$this->description = "Returns most recent actus from Company on LinkedIn. (https://www.linkedin.com/company/<strong style=\"font-weight:bold;\">apple</strong>)";
$this->update = "2015-12-22";
$this->parameters[] =
@ -20,7 +20,7 @@ class LinkedInCompany extends BridgeAbstract{
public function collectData(array $param){
$html = '';
$link = 'https://www.linkedin.com/company/'.urlencode($param[c]);
$link = 'https://www.linkedin.com/company/'.$param[c];
$html = file_get_html($link) or $this->returnError('Could not request LinkedIn.', 404);
@ -47,6 +47,6 @@ class LinkedInCompany extends BridgeAbstract{
}
public function getCacheDuration(){
return 0; // 6 hours
return 21600; // 6 hours
}
}

View file

@ -6,7 +6,7 @@ class ViadeoCompany extends BridgeAbstract{
$this->maintainer = "regisenguehard";
$this->name = "Viadeo Company";
$this->uri = "https://www.viadeo.com/";
$this->description = "Returns most recent actus from Company on Viadeo.";
$this->description = "Returns most recent actus from Company on Viadeo. (http://www.viadeo.com/fr/company/<strong style=\"font-weight:bold;\">apple</strong>)";
$this->update = "2015-12-22";
$this->parameters[] =