vCard Creator Full is a PHP class that can be used to generate user contact files in vCard format. It takes as parameter an associative array with the user contact details. The class can generate and store the vCard files or serve them for download.
Hi All,
Need help how I can create a script generate a Meta if have give range. For e.g
This is range 4264:4803 around 1440 device i need to built a script to create a meta file if I have input field as below
Output format I need. Like that I need 40 meta with the rage of 30 device and... (0 Replies)
KDE's Kontact PIM breaks quoted-printable vcard files because it
linebreaks in the middle of a word. Take this text for example:
NOTE;CHARSET=UTF-8;ENCODING=QUOTED-PRINTABLE:=D7=A9=D7=95=D7=A8=D7=94 =D7=A
8=D7=90=D7=A9=D7=95=D7=A0=D7=94.\n=D7=94=D7=A9=D7=95=D7=A8=D7=94 =D7=94=D7=
... (7 Replies)
got creator 3d card in my ultra10 solaris8. old sun monitor.
what is best way to setup the ffbconfig?.
i set to wrong resolution and messed up the CDE so that i could not read anything. Had to re-install solaris. easy way to get around this?. (6 Replies)
Hi everyone, it's me the Solaris novice once again. Here's my situation.
- I bought a Sun Ultra 10 Creator 3D Workstation and Sony 19" SVGA Monitor package deal.
- The system has the Creator 3D Video Adapter installed but I could not use it because the adapter has a 13w3 connection and my... (5 Replies)
Text::vCard::Addressbook(3pm) User Contributed Perl Documentation Text::vCard::Addressbook(3pm)NAME
Text::vCard::Addressbook - a package to parse, edit and create multiple vCards (RFC 2426)
SYNOPSIS
use Text::vCard::Addressbook;
my $address_book = Text::vCard::Addressbook->new({
'source_file' => '/path/to/address.vcf',
});
foreach my $vcard ($address_book->vcards()) {
print "Got card for " . $vcard->fullname() . "
";
}
DESCRIPTION
This package provides an API to reading / editing and creating multiple vCards. A vCard is an electronic business card. This package has
been developed based on rfc2426.
You will find that many applications (Apple Address book, MS Outlook, Evolution etc) can export and import vCards.
READING IN VCARDS
load()
use Text::vCard::Addressbook;
# Read in from a list of files
my $address_book = Text::vCard::Addressbook->load( ['foo.vCard', 'Addresses.vcf']);
This method will croak if it is unable to read in any of the files.
import_data()
$address_book->import_data($value);
This method imports data directly from a string.
new()
# Read in from just one file
my $address_book = Text::vCard::Addressbook->new({
'source_file' => '/path/to/address.vcf',
});
This method will croak if it is unable to read in the source_file.
# File already in a string
my $address_book = Text::vCard::Addressbook->new({
'source_text' => $source_text,
});
# Create a new address book
my $address_book = Text::vCard::Addressbook->new();
Looping through all vcards in an address book.
foreach my $vcard ($address_book->vcards()) {
$vcard->...;
}
METHODS
add_vcard()
my $vcard = $address_book->add_vcard();
This method creates a new empty Text::vCard object, stores it in the address book and return it so you can add data to it.
vcards()
my $vcards = $address_book->vcards();
my @vcards = $address_book->vcards();
This method returns a reference to an array or an array of vcards in this address book. This could be an empty list if there are no entries
in the address book.
set_encoding()
$address_book->add_vcard('utf-8');
This method will add the string ';charset=utf-8' to each and every vCard entry. That does help in connection with e.g. an iPhone...
export()
my $vcf_file = $address_book->export()
This method returns the vcard data in the vcf file format.
Please note there is no validation, you must ensure that the correct nodes (FN,N,VERSION) are already added to each vcard if you want to
comply with RFC 2426.
This might not escape the results correctly at the moment.
AUTHOR
Leo Lapworth, LLAP@cuckoo.org
COPYRIGHT
Copyright (c) 2003 Leo Lapworth. All rights reserved. This program is free software; you can redistribute it and/or modify it under the
same terms as Perl itself.
ACKNOWLEDGEMENTS
The authors of Text::vFile::asData for making my life so much easier.
SEE ALSO
Text::vCard, Text::vCard::Node
perl v5.10.1 2011-01-11 Text::vCard::Addressbook(3pm)