def retrieve #render :text=>@req_url #return uri = URI.parse(@req_url) # base_href_html = "" doc = Hpricot(@corresponding_entry.content_cache) doc.search('head').prepend(base_href_html) unless ((bs=doc.at('base')) and bs[:href]) render :text=>doc.to_s end