Esempio n. 1
0
 /**
  * Wrapper to fetch feeds
  * 
  * @param String $url
  * 
  * @return \Feedtcher\Feed
  */
 public static function fetch($url)
 {
     $feedtech = new Feedtcher($url);
     return $feedtech->doFetch();
 }
Esempio n. 2
0
 /**
  * @expectedException Exception
  */
 public function testNotValidUrl()
 {
     $url = 'http://zaranga.lol.fail';
     $feed = \Feedtcher\Feedtcher::fetch($url);
 }