Merge branch 'methods2functions' of https://framagit.org/peetah/rss-bridge

This commit is contained in:
logmanoriginal 2016-10-02 16:05:58 +02:00
commit 970e216c1f
114 changed files with 899 additions and 904 deletions

View file

@ -19,8 +19,8 @@ class VkBridge extends BridgeAbstract {
return static::URI.urlencode($this->getInput('u'));
}
public function collectData(){
$text_html = $this->getContents($this->getURI())
or $this->returnServerError('No results for group or user name "'.$this->getInput('u').'".');
$text_html = getContents($this->getURI())
or returnServerError('No results for group or user name "'.$this->getInput('u').'".');
$text_html = iconv('windows-1251', 'utf-8', $text_html);
$html = str_get_html($text_html);