mirror of
https://github.com/RSS-Bridge/rss-bridge.git
synced 2025-08-20 15:22:17 +02:00
Merge branch 'methods2functions' of https://framagit.org/peetah/rss-bridge
This commit is contained in:
@@ -18,8 +18,8 @@ class ViadeoCompanyBridge extends BridgeAbstract{
|
||||
$html = '';
|
||||
$link = self::URI.'fr/company/'.$this->getInput('c');
|
||||
|
||||
$html = $this->getSimpleHTMLDOM($link)
|
||||
or $this->returnServerError('Could not request Viadeo.');
|
||||
$html = getSimpleHTMLDOM($link)
|
||||
or returnServerError('Could not request Viadeo.');
|
||||
|
||||
foreach($html->find('//*[@id="company-newsfeed"]/ul/li') as $element) {
|
||||
$title = $element->find('p', 0)->innertext;
|
||||
|
Reference in New Issue
Block a user