From mattman at gmail.com Mon Oct 15 01:23:26 2007 From: mattman at gmail.com (Matt) Date: Mon, 15 Oct 2007 13:23:26 +0800 Subject: [iCalendar-devel] patch: Outlook compatibility Message-ID: Hi, Currently, the gem doesn't produce valid ical data for outlook to happily parse. Had to change line 52 in event.rb: old- ical_property :seq, :sequence new- ical_property :sequence same with journal.rb line 30, todo.rb line 31 that now produces data that will open in iCalendar + Outlook and can be validated using the iCalendar validator ( http://severinghaus.org/projects/icv/) -- Regards, Matt Didcoe mattman at gmail.com -------------- next part -------------- An HTML attachment was scrubbed... URL: http://rubyforge.org/pipermail/icalendar-devel/attachments/20071015/0487f37d/attachment-0001.html From brian.leroux at gmail.com Sat Oct 20 21:35:31 2007 From: brian.leroux at gmail.com (Brian LeRoux) Date: Sat, 20 Oct 2007 18:35:31 -0700 Subject: [iCalendar-devel] getting a method missing for 'summary' -- help w/ remote ical! Message-ID: Any help greatly appreciated! Showing rather than explaining below (url changed): irb(main):002:0> require 'rubygems' => true irb(main):003:0> require 'net/http' => true irb(main):004:0> url = URI.parse 'http://www.somewebsite/basic.ics' => # irb(main):005:0> req = Net::HTTP::Get.new(url.path) => # irb(main):006:0> res = Net::HTTP.start(url.host, url.port) {|http| http.request(req) } => # irb(main):007:0> require 'icalendar' => true irb(main):008:0> Icalendar.parse res.body NoMethodError: Method Name: summary from /opt/local/lib/ruby/gems/1.8/gems/icalendar-1.0.1/lib/icalendar/component.rb:413:in `method_missing' from /opt/local/lib/ruby/gems/1.8/gems/icalendar-1.0.1/lib/icalendar/parser.rb:179:in `send' from /opt/local/lib/ruby/gems/1.8/gems/icalendar-1.0.1/lib/icalendar/parser.rb:179:in `parse_component' from /opt/local/lib/ruby/gems/1.8/gems/icalendar-1.0.1/lib/icalendar/parser.rb:139:in `parse_component' from /opt/local/lib/ruby/gems/1.8/gems/icalendar-1.0.1/lib/icalendar/parser.rb:101:in `parse' from /opt/local/lib/ruby/gems/1.8/gems/icalendar-1.0.1/lib/icalendar/parser.rb:16:in `parse' from (irb):8 from /opt/local/lib/ruby/1.8/time.rb:53