def get_attributes                                                         
      url = URI.parse('http://www.blip.tv/')   
      res = Net::HTTP.start(url.host, url.port) {|http|      
       http.get("http://www.blip.tv/file/#{@id.to_s}?skin=api")
      }                                                                                
      
      hash = Hash.from_xml(res.body)
      
      if hash["response"]["status"] != "OK"
        raise VideoResponseError.new(hash["response"]["notice"])
      end
      
      if hash["response"]["payload"]["asset"].is_a?(Array) 
        return hash["response"]["payload"]["asset"][0] # there may be several assets. In that case, read the first one
      else
        return hash["response"]["payload"]["asset"]
      end
    end
def get_attributes                                                         
      url = URI.parse('http://www.blip.tv/')   
      res = Net::HTTP.start(url.host, url.port) {|http|      
       http.get("http://www.blip.tv/file/#{@id.to_s}?skin=api")
      }                                                                                
      
      hash = Hash.from_xml(res.body)
      
      if hash["response"]["status"] != "OK"
        raise VideoResponseError.new(hash["response"]["notice"])
      end
      
      if hash["response"]["payload"]["asset"].is_a?(Array) 
        return hash["response"]["payload"]["asset"][0] # there may be several assets. In that case, read the first one
      else
        return hash["response"]["payload"]["asset"]
      end
    end
fire off a HTTP GET response to Blip.tv

 In the future, this should probably be rolled into the
 BlipTV::Request class, so that all exception raising and
 network communication exists in instances of that class.