Forum: Ruby on Rails problem in vpim/vcard

Announcement (2017-05-07): www.ruby-forum.com is now read-only since I unfortunately do not have the time to support and maintain the forum any more. Please see rubyonrails.org/community and ruby-lang.org/en/community for other Rails- und Ruby-related community platforms.
0b119a0054ac02e180950a8d247a4fbe?d=identicon&s=25 Selvaraj (Guest)
on 2007-04-10 05:51
Hai I am using ruby vpim to create vcard,

1)Is all names are mandatory? can i create vcard without name?
2) How to specify Vcard version ?


Regards
Selvaraj
0b119a0054ac02e180950a8d247a4fbe?d=identicon&s=25 Selvaraj (Guest)
on 2007-04-10 14:38
Selvaraj wrote:
> Hai I am using ruby vpim to create vcard,
>
> 1)Is all names are mandatory? can i create vcard without name?
> 2) How to specify Vcard version ?
>
>
> Regards
> Selvaraj

Guys

   can any one help me?
1f51c08169e8c7bb06016ec7907e9c17?d=identicon&s=25 Chris Vannoy (Guest)
on 2007-04-10 16:29
(Received via mailing list)
1) http://vpim.rubyforge.org/classes/Vpim/Vcard.html#M000174 ... Yes,
name
is a required vCard field. That's not a flaw in the Ruby library but a
requirement of the vCard specification (you're creating contact
information
for something ... that something, almost by definition, has a name.)

2) http://vpim.rubyforge.org/classes/Vpim/Vcard.html#M000184 ... More
detail/example at http://vpim.rubyforge.org/ex_mkv21vcard.txt

Enjoy.

Chris
http://www.dummied.org/
This topic is locked and can not be replied to.