public function load($file)
    {
        if (file_exists($file)) {
            $this->feed = ZendReader::importFile($file);
        } else {
            $this->feed = ZendReader::import($file);
        }

        return $this;
    }
public function load($file)
    {
        if (file_exists($file)) {
            $this->feed = ZendReader::importFile($file);
        } else {
            $this->feed = ZendReader::import($file);
        }

        return $this;
    }
public function load ( $ file ) { if ( file_exists ( $ file ) ) { $ this -> feed = ZendReader :: importFile ( $ file ) ; } else { $ this -> feed = ZendReader :: import ( $ file ) ; } return $ this ; }
Loads feed from an url or file path.

@param string $file

@return Reader
Loads feed from an url or file path .