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::Node(3pm) User Contributed Perl Documentation Text::vCard::Node(3pm)NAME
Text::vCard::Node - Object for each node (line) of a vCard
SYNOPSIS
use Text::vCard::Node;
my %data = (
'param' => {
'HOME,PREF' => 'undef',
},
'value' => ';;First work address - street;Work city;London;Work PostCode;CountryName',
);
my $node = Text::vCard::Node->new({
node_type => 'address', # Auto upper cased
fields => ['po_box','extended','street','city','region','post_code','country'],
data => \%data,
});
DESCRIPTION
Package used by Text::vCard so that each element: ADR, N, TEL etc are objects.
You should not need to use this module directly, Text::vCard does it all for you.
METHODS
new()
my $node = Text::vCard::Node->new({
node_type => 'address', # Auto upper cased
fields => ['po_box','extended','street','city','region','post_code','country'],
data => \%data,
});
value()
# Get the value for a standard single value node
my $value = $node->value();
# Or set the value
$node->value('New value');
other()'s
# The fields supplied in the conf area also methods.
my $po_box = $node->po_box(); # if the node was an ADR.
# Set the value.
my $street = $node->street('73 Sesame Street');
unit()
my @units = @{$org_node->unit()};
$org_node->unit(['Division','Department','Sub-department']);
As ORG allows unlimited numbers of 'units' as well as and organisation 'name', this method is a specific case for accessing those values,
they are always returned as an array reference, and should always be set as an array reference.
types()
my @types = $node->types();
or
my $types = $node->types();
This method will return an array or an array ref depending on the calling context of types associated with the $node, undef is returned if
there are no types.
All types returned are lower case.
is_type()
if($node->is_type($type) {
# ...
}
Given a type (see types() for a list of those set) this method returns 1 if the $node is of that type or undef if it is not.
is_pref();
if($node->is_pref()) {
print "Prefered node"
}
This method is the same as is_type (which can take a value of 'pref') but it specific to if it is the prefered node. This method is used to
sort when returning lists of nodes.
add_types()
$address->add_types('home');
my @types = qw(home work);
$address->add_types(@types);
Add a type to an address, it can take a scalar or an array ref.
remove_types()
$address->remove_types('home');
my @types = qw(home work);
$address->remove_types(@types);
This method removes a type from an address, it can take a scalar or an array ref.
undef is returned when in scalar context and the type does not match, or when in array ref context and none of the types match, true is
returned otherwise.
group()
my $group = $node->group();
If called without any arguments, this method returns the group name if a node belongs to a group. Otherwise undef is returned.
If an argument is supplied then this is set as the group name.
All group names are always lowercased.
For example, Apple Address book used 'itemN' to group it's custom X-AB... nodes with a TEL or ADR node.
export_data()
my $value = $node->export_data();
This method returns the value string of a node. It is only needs to be called when exporting the information back out to ensure that it
has not been altered.
NOTES
If a node has a param of 'quoted-printable' then the value is escaped (basically converting Hex return into
as far as I can see).
EXPORT
None by default.
AUTHOR
Leo Lapworth, LLAP@cuckoo.org
SEE ALSO
Text::vCard Text::vCard::Addressbook
perl v5.10.1 2010-08-19 Text::vCard::Node(3pm)