Configure Resources

KAddressBook can use multiple resources for loading and storing its contacts. After starting KAddressBook for the first time you will have a default resource installed that saves all contacts in a vCard file under $HOME/.kde/share/apps/kabc/std.vcf; you can add more resources by using the Resource Configuration dialog, which is available in kcontrol under KDE Components->Address Book:


The Resource Configuration Dialog.

The Resource Configuration Dialog.


When you click the Add... a dialog will appear where you can select the resource type; at the moment there are four types available:

file

all contacts will be stored in one file;

dir

each contact will be stored in its own file;

ldap

all contacts will be stored on a LDAP server;

net

all contacts will be stored in one file, which can be located on a remote server (for example, through HTTP, WebDAV, FTP or Fish).

After selecting the type of resource another dialog appears where you can configure the resource-specific settings.

The file and dir resource supports different formats for storing the contacts:

vCard

the contacts will be stored in the vCard format, as specified in RFC 2426;

binary

the contacts will be stored in a binary format — this increases performance during loading and saving, but it is not portable like the vCard format.

KAddressBook needs a standard resource, where all contacts should be saved if no other resource is specified; for this reason, after starting KAddressBook the first time, there is already a resource available. If you want to use another resource as the standard resource, use the Use as Standard button to select it. You must have both read and write access to the new standard resource, otherwise you won't be able to select it.