# File lib/vpim/agent/ics.rb, line 34 def get_base(from) @url_base = script_url # agent mount point @url_ics = from # ics from here @url_atom = nil # atom feed from here, if ics is accessible @url_error= nil # error message, if is is not accessible if not from.empty? begin atomize(from, "http://example.com") @url_atom = @url_base + "/atom" + "?" + from rescue @url_error = CGI.escapeHTML($!.to_s) end end haml "vpim/agent/ics/view""vpim/agent/ics/view" end