public function getPage() { if( 'www.' != substr($this->domain, 0, 4) ) { $this->domain = 'www.' . $this->domain; } return $this->answer = parent::getPage('http://search.dmoz.org/cgi-bin/search?search=' . $this->domain); }
public function getPage() { if( 'www.' != substr($this->domain, 0, 4) ) { $this->domain = 'www.' . $this->domain; } return $this->answer = parent::getPage('http://yaca.yandex.ru/yca?text=' . $this->domain . '&yaca=1'); }
public function getPage() { if( 'www.' == substr($this->domain, 0, 4) ) { $this->domain = substr($this->domain, 4); } return $this->answer = parent::getPage( 'http://news.google.ru/news/search?pz=1&cf=all&ned=ru_ru&hl=ru&q=site:' . $this->domain ); }
public function getPage() { if( 'www.' == substr($this->domain, 0, 4) ) { $this->domain = substr($this->domain, 4); } return $this->answer = parent::getPage( 'http://news.yandex.ru/yandsearch?text=' . $this->domain . '&rptval=on&rpt=smisearch&grhow=clutop' ); }