diff --git a/bridges/LinkedInCompany.php b/bridges/LinkedInCompany.php
index 185fee9e..476cfc81 100644
--- a/bridges/LinkedInCompany.php
+++ b/bridges/LinkedInCompany.php
@@ -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/apple)";
$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
}
}
diff --git a/bridges/ViadeoCompany.php b/bridges/ViadeoCompany.php
index 979bdf52..6b474f57 100644
--- a/bridges/ViadeoCompany.php
+++ b/bridges/ViadeoCompany.php
@@ -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/apple)";
$this->update = "2015-12-22";
$this->parameters[] =