Displaying 20 results from an estimated 1000 matches similar to: "Problem in Vcard generation"
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
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
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 line
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 with all the fields except the one that I''m changing and
2009 Feb 12
4
Vcard problems with street and country
I''ve got two issues:
First, it seems that every time there''s a comma in a street field, it gets preceded by a ''\''. I can''t seem to get rid of it, or even find where it''s being generated. (ex: 71229 30nd Ave NW\, Apt 50)
Second, every now and then my country ''United States'' gets cut off, as if it''s reached a character
2008 Mar 11
5
Empty phone numbers
Hello
Thanks for a great gem.
Can you add support for empty phone numbers?
Regards,
Jonas
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
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)
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):
> #
>
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 Time:20071207T110000
...
END:VEVENT
I managed
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
2008 Jun 14
1
help with collection_select
Hi,
I have a table called ''users'', there is a field called ''username'' and
another field called ''mobile_number'' (among other fields).
In my application the user can send SMS message and can choose between
his/her username and mobile number as the sender id. Both of them are of
course stored in the users table. Also there is a third option which
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.
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
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):
# The value as text. Text can have escaped newlines, commas, and escape
#
2007 May 22
0
Vcard import library options
Anybody any experience with vcard import, what are options? i just
found vpim, but want to know about alternatives before i start working
with it.
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group.
To post to this group, send email to
2008 Sep 07
0
Vcards & OS X Address Book
I saw a couple of references in the VPIM-talk archives about OS X Address
book throwing a message of "no importable cards were found".
I ran into this address when I threw some code into the my rails
application.
I used the .vcard extension for my vcard and saw this message for OS X
address book.
Once I changed the extension to .vcf, it recognized it right away as a valid
vcard file.
2006 May 22
2
[vpim] Some small rrule.rb changes
Quoting cosmin at speakeasy.net, on Sat, May 20, 2006 at 11:40:06AM -0700:
> I did some changes to the rrule.rb. I needed some getters/setters for
> each of the attributes from RRULE. Attached is the diff. If it makes
> sense to you to be included in the lib, please do so. If you think
> it''s worth to be included, I can add more validation to the setters.
I
2007 Jun 19
2
Session Problem with Ajax Call
Hai,,
I am totally new to Ajax. I am trying to use ajax in my project. Its
working fine, I am getting problem while session time expires. If
session expires means i am redirecting to login page.Onclick i am
calling on ajax function. It will goto controller and it will check the
session if session expires then it has to goto login page.
On ajax call i am updating the div. If session
2007 Nov 08
0
Models for external REST services
Hello, I''m new to rails so as an exercise I''m porting (php to rails)
a very simple landing page that talks with a third party REST service
where I just need to do a couple of calls to register a user and show
the status of the whole process. I felt this would be dead simple to
do in Rails (I''m still learning) but I''m having a hard time getting it
working.
My