function Save($filename)
    {
        $result = @$this->domDoc->save($filename);
        
        if ($result === false)
            throw new \Exception("RSS Feed saviing to '$filename' failed");
        
        return $result;
    }
function Save($filename)
    {
        $result = @$this->domDoc->save($filename);
        
        if ($result === false)
            throw new \Exception("RSS Feed saviing to '$filename' failed");
        
        return $result;
    }
function Save ( $ filename ) { $ result = @ $ this -> domDoc -> save ( $ filename ) ; if ( $ result === false ) throw new \ Exception ( "RSS Feed saviing to '$filename' failed" ) ; return $ result ; }
Saves the rss feed to the given filename
@param string $filename The filename for saving
@return int The number of bytes written
@throws \Exception Raises exception on failure
Saves the rss feed to the given filename