Displaying 20 results from an estimated 300 matches similar to: "exporting vcards from rails"
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
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 May 05
1
Problem in Vcard generation
I am trying to explore the vpim gem..
Using that i am trying to generate Vcard..Now I am able to generate
vcard also i am able to send that vcard through mail.
If i try to open that vcard through thunderbird, all the fields
getting stored in address book except mobile number, Here ia m send the
code for adding mobile number into vcard..
if @bizcard_label.mobile_number!=""
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 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
2006 Jan 05
1
import/export VCards
Does anyone know of a plugin or extension that makes it easy to
import and export with VCards for a contact database?
Thanks,
Kyle
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.
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 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)
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
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 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 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 Jul 30
3
ActiveRecord - Multiple Address for a single record
I''m trying to figure out the Rails way to model the following problem:
I have 2 tables. One (let''s call it location) contains a single
address. The other (let''s call it company) contains 3 address. I''m
trying to figure out the best way to model this. I''ve created an
address table, a set up the model as follows:
class Address <
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
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
2006 Jan 06
6
HABTM problem not saving all associations
Hello all,
I have an Order object that has and belongs to many Products and has
and belongs to many Loan Types. This is so I can select multiples of
each in my order entry screen via checkbox groups.
I''m having some trouble with saving multiple HABTM associations for a
single model object; only the first HABTM association declared in the
model will save during the initial @order.save
2007 May 04
5
Asterisk x legacy pabx
Hi all,as good? It would like to know if already they had had success, in
the integration of the functions of asterisk, with one pabx legacy
(Avaya)for that pabx avaya, could use the voicemail of asterisk. For sample,
user of pabx avaya, it would have its calls directed for not attendance and
busy, for asterisk and asterisk, it would send the same one for the
voicemail.
Best Regards
Josu?
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