Displaying 20 results from an estimated 54 matches for "icalendar".
Did you mean:
calendar
2010 Mar 25
1
Icalendar::UnknownPropertyMethod: Unknown property type: on Parsing a ical file
I downloaded the ics from
http://www.thegreenerleithsocial.org/events/cleanup-the-cycle-path and
tried to parse it in my rails app console:
?> cal_file = File.open("/tmp/Clean_up the Cycle Path-1.ics")
=> #<File:/tmp/Clean_up the Cycle Path-1.ics>
>> cals = Icalendar.parse(cal_file)
Icalendar::UnknownPropertyMethod: Unknown property type: website
from ..../vendor/gems/icalendar-1.1.3/lib/icalendar/parser.rb:183:in
`parse_component''
from ..../vendor/gems/icalendar-1.1.3/lib/icalendar/parser.rb:132:in
`parse_component''
from ..../vendor/gems/i...
2008 Sep 04
1
Timezone support?
This is a follow-up to the thread ending with:
http://rubyforge.org/pipermail/vpim-talk/2008/000120.html
I too am in search of some ruby parser for icalendar which properly handles
timezones on the datetimes in the icalendar RFC.
As I understand it there are actually three types of times.
1) UTC times with a string form of yyyymmddThhmmssZ
note the trailing Z indicates zulu time aka utc.
2) Local times with a string form of TZID=ttttttt:yyyymmddTh...
2005 Jan 01
1
Re: vpim: bug in icalendar.rb, Icalendar#decode_status
Thanks for the bug report!
I''ll get a new release out next week, I''ve been on vacation for a few
weeks and I''m just getting up to speed with being back in a city.
In the meantime, the fix is to apply the following patch (in
Icalendar.decode_duration). I''ve also integrated your tests, thanks.
Cheers,
Sam
diff -u -r1.22 icalendar.rb
--- vpim/icalendar.rb 17 Nov 2004 05:06:27 -0000 1.22
+++ vpim/icalendar.rb 2 Jan 2005 04:19:28 -0000
@@ -303,6 +303,8 @@
if match[1] && match[1] == ''-'...
2008 Dec 30
3
integration of tzinfo with icalendar
My interest in icalendar is more on the ical generation side instead of
the ical parsing side. As such, I did a bit of work on a tzinfo mixin
that will generate the timezone rules based on the tzinfo gem. This
lets you do the following:
estart = DateTime.new(2008, 12, 29, 8, 0, 0)
eend = DateTime.new(2008, 12, 29, 11, 0...
2013 Mar 15
2
Icalendar.Parse(StringIO.new(aString)) complains about missing method, bytesize
I need to send an ics file to a web service, so however it gets there it
will arrive as a string. Is there another way to begin Icalendar''s Parse
than with a file?
I''m currently sending the file using the curl command...
curl -v --data-urlencode ics at invite.ics http://127.0.0.1:4567/ics2event
I''ve tried curl''s --data-binary and sinatra''s request.body.string to
create the stringio ob...
2008 Feb 27
2
All Day Events
I must be stupid because this cannot be this hard.
I''m trying to build an all day calendar event. In most clients it shows up as an entry at the top of the day rather than blocking out the whole day with an event.
I have a bit of code that looks like this...
cal.event do
dtstart DateTime.parse("#{startDate.year()}-#{startDate.month()}-#{startDate.day()}")
dtend
2007 Apr 07
0
Icalendar::Get::Common missing? / cmd-itip.sh fails on getting comment?
I am brand new to vpim, so I tried to use the example cmd-itip.sh.
But it fails on the code:
if e.comments
with the error message:
./cmd-itip.txt.sh:113: undefined method `comment'' for
#<Vpim::Icalendar::Vevent:0x101899c> (NoMethodError)
In the rdoc it says there should be Icalendar::Get::Common#comment
But there is no module Get in Vpim:Icalendar. There is the module Set...
Am I missing something?
Thanks
Rob
??????????????????????????????
Robert J. Berger - Internet Bandwidth Development,...
2010 Nov 04
0
namespace problem with iCalendar
i''m developing a calendar webapp for my company using ruby 1.8.7 and
rails 2.3.8.
naturally there are RoR models named "Calendar" and "Event"
in order to send calendar events to other apps (microsoft outlook &
lotus notes) i''m integrating with the iCalendar standard & ruby
library. but this library contains classes called "Calendar" and
"Event"
now my app is getting lotta errors like this when it tries to use
activerecord find - @calendar = Calendar.find(id) :
NoMethodError (undefined method `find'' for Icalendar::C...
2006 Jan 08
10
rCalendar Project
Railoholic-Anonymous Members:
I am tooling around with the idea of forming a project which would
create a calendar plugin/engine with the following features:
1. DB schema mapping all necessary iCal (RFC-2445) fields.
2. Probably utilizing either vpim (vpim.rubyforge.net), or iCalendar
(icalendar.rubyforge.net). (First choice would be vpim since some
attendee functionality requires vcard elements)
3. Basic Day, Week, Month, Year XHTML layouts customizable with a base CSS.
4. Controller mapped URL''s for iCal subscriptions.
Later Feature Adds:
1. RSS mappings to Todo'...
2010 Jan 27
1
Patch and introduction
Hi,
I''m currently trying to get icalendar packaged and into Fedora and EPEL,
During this process I''ve noticed that you''re currently using
Gem::manage_gems
in the make Rakefile, this method was depecated in rubygems 1.3.0 them
removed in rubygems 1.3.3.
The attached patch updates the Rakefile replacing the method with...
2008 Jan 08
0
Status of Timezone support / Handeling DTSTART; TZID="(GMT-05.00) Eastern Time (US & Canada)":20080107T123000
I can not tell from the docs or from the mailing list what is the
state of timezone support in the iCalendar package?
If I want to parse an iCalendar file that has non utc dstarts and
dends will it convert those times to UTC or otherwise allow me to do
that?
When I tried to parse an iCalendar input file started off with
something like this:
BEGIN:VCALENDAR
METHOD:REQUEST
PRODID:Microsoft CDO for...
2006 Feb 20
0
vpimd, a personal information server
...finds it useful as is, or even wants to
collaborate...
I''ve been working on a "personal information server", something of a
protocol multiplexer. Right now it serves calendar feeds for:
- a local calendar folder (iCal 1.x''s Library/Calendars)
- rss for local todos
- icalendar for bdays in a vcard file
I run it as a LoginHook on OS X, haven''t tried on Linux.
Its a longterm project, with more possibilities than I have time, but I
conceive of it taking information from various sources, and presenting
them back using rss, ical, jabber, LDAP, webdav/caldave, etc.....
2006 Jun 28
2
webcal url
Hi
I''d like to create a webcal link to share a calendar with iCal like
it''s done in Basecamp for example.
I know how to create the file using icalendar ruby library and iCal
can open it, but if I send this file using an url like webcal://
localhost:3000/ical/1151495837
iCal says that data are not valid.
Any ideas?
Thanks.
PS here is my rb code
def ical_data
cal = Icalendar::Calendar.new
event = cal.event # This automatically a...
2010 Apr 04
0
Bug in 1.1.3: Invalid escape of rrule value
Hi,
I found a bug in Icalendar 1.1.3.
Currently it escapes ";" in RRULE''s value, so it produces code with invalid
syntax.
Attached monkey patch fixes the problem (please note line 23 and 30). It is
aware only of RRULE, but maybe there''re other tags that are also affected -
I don''t know ics...
2010 Jan 11
1
interfacing R with RFC2445
R Developers,
I cannot seem to find an R package that can read/write iCalendar (RFC2445) files.
I have found the libical library at sourceforge. I've used it briefly so it may be what I need, but again no R interface. I may have to connect the dots myself.
I'm guessing this might be useful for someone other than myself (scrubbing files, performing temporal analysi...
2007 Feb 07
2
How to set TZID in DTSTART?
...it and don''t get quite the structure of the code yet. So even the
patch works in my setting, it could screw things.
I am grateful for any hints and pointers for an official way of
adding the TZID parameter to date/time fields.
Andreas
--- i''m a monkeeey ---
module Vpim::Icalendar::Set::Util
alias :original_set_date_or_datetime :set_date_or_datetime
def set_date_or_datetime(name, default, value, params = {})
props = original_set_date_or_datetime(name, default, value)
params.each { |k,v| props.field(name)[k] = v }
props
end
end
module Vpim::Icalendar...
2015 Oct 27
2
Calendar integration : Could not authenticate to server: rejected Basic challenge
Hello
I have changed type 'caldav' to 'ical', but still no succes :
[Oct 27 10:30:38] WARNING[23388]: res_calendar_icalendar.c:117
auth_credentials: Invalid username or password for iCalendar 'cal1'
[Oct 27 10:30:38] WARNING[23388]: res_calendar_icalendar.c:150
fetch_icalendar: Unable to retrieve iCalendar 'cal1' from
'https://www.google.com/calendar/dav/info at mydomain.tld/events/': Could
no...
2009 Jun 30
0
ri_cal 0.7.0 Released
Subject: [ANN] ri_cal 0.7.0 Released
ri_cal version 0.7.0 has been released!
* <http://ri-cal.rubyforge.org/>
* <by Rick DeNatale>
A new Ruby implementation of RFC2445 iCalendar.
The existing Ruby iCalendar libraries (e.g. icalendar, vpim) provide
for parsing and generating icalendar files,
but do not support important things like enumerating occurrences of
repeating events.
This is a clean-slate implementation of RFC2445.
A Google group for discussion of this library h...
2015 Oct 26
4
Calendar integration : Could not authenticate to server: rejected Basic challenge
Hello
I find very little feedback on the following warning/error when trying
to connect to Google calendar :
[Oct 26 12:11:14] WARNING[24926]: res_calendar_caldav.c:118
auth_credentials: Invalid username or password for CalDAV calendar 'cal1'
[Oct 26 12:11:14] WARNING[24926]: res_calendar_caldav.c:157
caldav_request: Unknown response to CalDAV calendar cal1, request REPORT
to
2018 Mar 15
2
Bank holidays read from file?
Hi. thanks a lot for your reply. i will download the newer libical
software. Could you elaborate on icalendar with google calendar config and
calendar.conf, please?
On Thu, Mar 15, 2018 at 3:00 PM, Ludovic Gasc <gmludo at gmail.com> wrote:
> I never use caldav mode, always icalendar with Google Calendar.
>
> BTW, you use old versions of libical, Asterisk and Debian, I recommend you
> t...