search for: vpim

Displaying 20 results from an estimated 37 matches for "vpim".

Did you mean: vim
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...
2008 Jun 14
0
Bug and patch for vpim-0.619
On Sat, Jun 14, 2008 at 10:42 AM, Christopher J. Bottaro <cjbottaro at alumni.cs.utexas.edu> wrote: > I noticed two little bugs when using your vpim module in a Rails application. > > 1) The vpim module overwrites Rail''s implementation of Date#to_time. > 2) The vpim module''s implementation of Date#to_time causes > Date.today.to_time to return a Time that is a day in the past. > > I don''t know how t...
2008 Jun 18
1
Vpim gem
On Wed, Jun 18, 2008 at 6:32 AM, Joost Hietbrink <joost at joopp.com> wrote: > Hi Sam Roberts, > First of all. Thanks for the Vpim gem. We use it at www.yelloyello.com and > it works great. I''m glad to hear that. > We''ve only encountered the following error: > # NoMethodError (undefined method `to_str'' for []:Array): > # > /usr/local/lib/ruby/gems/1.8/gems/vpim-0.619/lib/vpim...
2006 Apr 11
4
Vpim::Vcard Line Breaks
On Wed, Apr 12, 2006 at 02:29:50AM +0900, Ben Reubenstein wrote: > I am using the Ruby Vpim library to create Vcards. I am having > trouble getting my address entries to format correctly when the > resulting VCF file is loaded into an address book. Is there a special > character to create a break line in the address field? Many of the > addresses in my data include multiple...
2006 Feb 24
8
editing and deleting fields in a vcard
Hi all, Is there a way in vpim to edit an individual field in a vcard. I have a set of vcards stored in a db and would like to be able to edit individual fields in the vcard and then save the vcard back to the db. I didn''t see any methods for editing a vcard in the api. Do I need to create a new vcard and repopulate it...
2005 Jan 01
1
Re: vpim: bug in icalendar.rb, Icalendar#decode_status
...#39;'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] == ''-'' dur = -dur end + + dur end # Decode iCalendar data into an array of Icalendar ob...
2005 Nov 07
2
Rails
Has anyone successfully used vPim with Rails? Please let me know of your experiences OR where I can find documentation to do so.
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...
2007 Feb 07
2
How to set TZID in DTSTART?
Hello all, I am currently evaluating the vpim libraries and like them very much. However there''s one thing I can''t get done: How can I set the TZID parameter for DTSTART/END dates so my encoded ICS file looks something like this: BEGIN:VEVENT ... DTSTART;TZID=Eastern Time:20071201T080000 DTEND;TZID=Eastern...
2006 Jan 12
3
VCard Upload Import
I''m trying to add Vcard import functionality and I keep getting the following using the code provided below. I''m using the VPIM library to decode the vcards and add them to my database table. Can someone help me out, or point me in a different direction for importing VCards. Thanks. Error: cannot convert StringIO into String Controller Code: require ''vpim/vcard'' if request.post? and params[:impor...
2006 May 22
2
[vpim] Some small rrule.rb changes
...terested in testing the RDATE change if you already > implemented it... If not, I"ll try to dig into the code. Can you > please point me what/where needs to be changed? Here is a fast hack, note that it only works with one RDATE field, but multiple are allowed! ensemble:~/p/ruby/vpim/trunk % svn diff lib/vpim/property/recurrence.rb Index: lib/vpim/property/recurrence.rb =================================================================== --- lib/vpim/property/recurrence.rb (revision 360) +++ lib/vpim/property/recurrence.rb (working copy) @@ -39,6 +39,10 @@ oc...
2006 Feb 23
1
Import Vcard with VPIM
I''m currently looking to build a contact manager with Rails. I need to offer Vcard import / export capabilities. I have VPIM setup in my Rails app, but I''m a little stuck on how to pull the correct data from the vcards. I''ve looked at the docs for VPIM and those have helped get me started, but I still can''t figure out how to pull specific data. As an example, I''d like to be able to...
2006 Apr 29
0
vpim
...here. No, I''d decoded, but not encoded. Tell me what you find, I can add support to make it easy. Probably won''t have time myself today, have to address the issues you and another reported over the last week. Only have a few hours. Might try if I have time. Btw, subscribing to vpim-talk might be convenient, its very low traffic, and allows anything you have trouble with to be noticed by others. You might get lucky, maybe someone else has done this sucessfully. Cheers, Sam
2007 Sep 21
0
vPim RRULE fix
Quoting sam at 37signals.com, on Tue, Sep 11, 2007 at 02:41:16PM -0500: > Hi- > > We''re using your vPim library at 37signals for the Backpack Calendar > (http://backpackit.com/calendar ) and ran into an issue with the "US > Holidays" calendar available at http://ical.mac.com/ical/US32Holidays.ics . Thanks for the patch and unit test, I''ve applied it to rubyforge cvs. Sam
2006 Apr 02
4
Field#to_text
We''re using Vpim to parse iCal and vCard files, and so far it''s been great. However, when we were parsing some iCal files we noticed that all the endlines in the description section were disappearing. I start peering through the source code and find (in the Field#to_text method that is being called): # Th...
2005 Jul 24
0
Re: ruby vpim
Quoting derek@derekgulbranson.com, on Tue, Jul 19, 2005 at 08:32:51PM -0700: > The link to the "tabbed-file-to-vcf.txt" example on this page > responds "Access Forbidden". Sorry for the delayed response Derek, I was away on vacation till recently. Anyhow, yeah, you''re right, I don''t know whats going on, I''ll have to ask the rubyforge guys.
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::Comm...
2006 Feb 20
0
vpimd, a personal information server
...d build a web scraper that represented all the .mp3s found on a site as an RSS/podcast, and then import them with iTunes, and have iTunes notify me when new ones get added. I think the possibiliites are endless, here''s the ideas I''ve collected from my TODO: WARNING -- If you run vpimd, note that it basically has no security, authorization, etc. It might be a huge privacy hole! Note: - WebDAV client-side: - http://raa.ruby-lang.org/project/libneon-ruby/ - http://www.webdav.org/neon/ - WebDAV server-side: - implement a WEBRick servlet to handle server-side? to...
2006 Aug 10
4
exporting vcards from rails
i''m doing a site for someone that has a form set up to collect contact information from the user. i installed the vpim gem and was hoping to give my client a way to download all of the contact''s information as a vcard. using the examples, i was able to get it working in ruby, but i''m not quite sure how to generate and download a vcard on the fly. has anyone done anything like that? -- Posted...
2007 Aug 05
0
Incorrect unicode conversion
...ry$ ruby -e ''s="\0B"; p s; p s =~ /\x00\x42/i'' > "\000B" > 0 > henry$ Hi there, sorry to barge in as a newbie, but did this one ever get resolved? I''m having a problem implementing Joyent Connector and, whilst I don''t think it is a Vpim problem, I haven''t ruled it out yet. In a nutshell, the application fails tests for vcard processing when presented with UTF16 vcards. I''m running Ruby 1.8.5 on CentOs4 and would like to eliminate Vpim as the cause before looking elsewhere, but this thread has me looking anew at V...