Ralf Becker skrev:
Hi Esben,
Esben Laursen schrieb:
Ralf Becker skrev:
To see the mappings have a look at
http://svn.egroupware.org/egroupware/branches/1.4/addressbook/inc/class.boaddressbook.inc.php
specially the method set_mapping_for_user_agent():
case ‘KDE-AddressBook’:
$this->mapping = array(
‘n_fn’ => ‘fn’,
‘modified’ => ‘last_mod’,
‘tel_other’ => ‘ophone’,
‘adr_one_street2’ => ‘address2’,
‘adr_two_street2’ => ‘address3’,
‘freebusy_uri’ => ‘freebusy_url’,
‘grants[owner]’ => ‘rights’,
‘jpegphoto’ => false, // gives errors in KAddressbook, maybe the
encoding is wrong
’photo’ => false, // is uncomplete anyway
’private’ => ‘access’, // special handling necessary
’adr_one_type’ => “‘Work’”, // defines how KAddresbook labels the address
’adr_two_type’ => “‘Home’”,
);
break;
I agree that it would be better to switch to the new fieldnames. Is
there a easy “conversion table” somewhere?
The above is the conversation table: new => old
’n_fn’ => ‘fn’,
‘modified’ => ‘last_mod’,
‘tel_other’ => ‘ophone’,
‘adr_one_street2’ => ‘address2’,
‘adr_two_street2’ => ‘address3’,
‘freebusy_uri’ => ‘freebusy_url’,
The former ‘access’ textfield with values ‘private’ or ‘public’ is now
an integer ‘public’ with values 0 and 1.
Dont know how to encode the new jpegphoto, KAddressbook always gave and
error so I disabled it for it. Maybe we need to base64 encode it, it
think there’s a xmlrpc type for that.
I’m going on vacation next week so hopefully I will have a little time
to have a look at it.
Cool 
Ralf
Hi Ralf,
Im looking at the code for the new sync for eGWOSync. Im hitting a
strange ting hope that you can help…
When I use the read function in addressbook, I get this strange error.
This is what I send to eGW:
<?xml version="1.0" encoding="utf-8"?>
addressbook.boaddressbook.read
id
2
and here is what I get back.
Warning: array_diff() [
function.array-diff]: Argument #1 is not
an array in
/var/www/egroupware/addressbook/inc/class.boaddressbook.inc.php
on line
212
Warning: array_diff() [
function.array-diff]: Argument #1 is not
an array in
/var/www/egroupware/addressbook/inc/class.boaddressbook.inc.php
on line
212
Warning: array_diff() [
function.array-diff]: Argument #1 is not
an array in
/var/www/egroupware/addressbook/inc/class.boaddressbook.inc.php
on line
212
Warning: array_diff() [
function.array-diff]: Argument #1 is not
an array in
/var/www/egroupware/addressbook/inc/class.boaddressbook.inc.php
on line
212
Warning: array_diff() [
function.array-diff]: Argument #1 is not
an array in
/var/www/egroupware/addressbook/inc/class.boaddressbook.inc.php
on line
212
Warning: array_diff() [
function.array-diff]: Argument #1 is not
an array in
/var/www/egroupware/addressbook/inc/class.boaddressbook.inc.php
on line
212
Warning: array_diff() [
function.array-diff]: Argument #1 is not
an array in
/var/www/egroupware/addressbook/inc/class.boaddressbook.inc.php
on line
212
Warning: array_diff() [
function.array-diff]: Argument #1 is not
an array in
/var/www/egroupware/addressbook/inc/class.boaddressbook.inc.php
on line
212
Warning: array_diff() [
function.array-diff]: Argument #1 is not
an array in
/var/www/egroupware/addressbook/inc/class.boaddressbook.inc.php
on line
212
Warning: array_diff() [
function.array-diff]: Argument #1 is not
an array in
/var/www/egroupware/addressbook/inc/class.boaddressbook.inc.php
on line
212
Warning: array_diff() [
function.array-diff]: Argument #1 is not
an array in
/var/www/egroupware/addressbook/inc/class.boaddressbook.inc.php
on line
212
Warning: array_diff() [
function.array-diff]: Argument #1 is not
an array in
/var/www/egroupware/addressbook/inc/class.boaddressbook.inc.php
on line
212
Warning: array_diff() [
function.array-diff]: Argument #1 is not
an array in
/var/www/egroupware/addressbook/inc/class.boaddressbook.inc.php
on line
212
Warning: array_diff() [
function.array-diff]: Argument #1 is not
an array in
/var/www/egroupware/addressbook/inc/class.boaddressbook.inc.php
on line
212
Warning: array_diff() [
function.array-diff]: Argument #1 is not
an array in
/var/www/egroupware/addressbook/inc/class.boaddressbook.inc.php
on line
212
Warning: array_diff() [
function.array-diff]: Argument #1 is not
an array in
/var/www/egroupware/addressbook/inc/class.boaddressbook.inc.php
on line
212
Warning: array_diff() [
function.array-diff]: Argument #1 is not
an array in
/var/www/egroupware/addressbook/inc/class.boaddressbook.inc.php
on line
212
Warning: array_diff() [
function.array-diff]: Argument #1 is not
an array in
/var/www/egroupware/addressbook/inc/class.boaddressbook.inc.php
on line
212
Warning: array_diff() [
function.array-diff]: Argument #1 is not
an array in
/var/www/egroupware/addressbook/inc/class.boaddressbook.inc.php
on line
212
Warning: array_diff() [
function.array-diff]: Argument #1 is not
an array in
/var/www/egroupware/addressbook/inc/class.boaddressbook.inc.php
on line
212
Warning: array_diff() [
function.array-diff]: Argument #1 is not
an array in
/var/www/egroupware/addressbook/inc/class.boaddressbook.inc.php
on line
212
Warning: array_diff() [
function.array-diff]: Argument #1 is not
an array in
/var/www/egroupware/addressbook/inc/class.boaddressbook.inc.php
on line
212
Warning: array_diff() [
function.array-diff]: Argument #1 is not
an array in
/var/www/egroupware/addressbook/inc/class.boaddressbook.inc.php
on line
212
Warning: array_diff() [
function.array-diff]: Argument #1 is not
an array in
/var/www/egroupware/addressbook/inc/class.boaddressbook.inc.php
on line
212
Warning: array_diff() [
function.array-diff]: Argument #1 is not
an array in
/var/www/egroupware/addressbook/inc/class.boaddressbook.inc.php
on line
212
Warning: array_diff() [
function.array-diff]: Argument #1 is not
an array in
/var/www/egroupware/addressbook/inc/class.boaddressbook.inc.php
on line
212
Warning: array_diff() [
function.array-diff]: Argument #1 is not
an array in
/var/www/egroupware/addressbook/inc/class.boaddressbook.inc.php
on line
212
Warning: array_diff() [
function.array-diff]: Argument #1 is not
an array in
/var/www/egroupware/addressbook/inc/class.boaddressbook.inc.php
on line
212
Warning: array_diff() [
function.array-diff]: Argument #1 is not
an array in
/var/www/egroupware/addressbook/inc/class.boaddressbook.inc.php
on line
212
Warning: array_diff() [
function.array-diff]: Argument #1 is not
an array in
/var/www/egroupware/addressbook/inc/class.boaddressbook.inc.php
on line
212
Warning: array_diff() [
function.array-diff]: Argument #1 is not
an array in
/var/www/egroupware/addressbook/inc/class.boaddressbook.inc.php
on line
212
Warning: array_diff() [
function.array-diff]: Argument #1 is not
an array in
/var/www/egroupware/addressbook/inc/class.boaddressbook.inc.php
on line
212
Warning: array_diff() [
function.array-diff]: Argument #1 is not
an array in
/var/www/egroupware/addressbook/inc/class.boaddressbook.inc.php
on line
212
Warning: array_diff() [
function.array-diff]: Argument #1 is not
an array in
/var/www/egroupware/addressbook/inc/class.boaddressbook.inc.php
on line
212
Warning: array_diff() [
function.array-diff]: Argument #1 is not
an array in
/var/www/egroupware/addressbook/inc/class.boaddressbook.inc.php
on line
212
Warning: array_diff() [
function.array-diff]: Argument #1 is not
an array in
/var/www/egroupware/addressbook/inc/class.boaddressbook.inc.php
on line
212
Warning: array_diff() [
function.array-diff]: Argument #1 is not
an array in
/var/www/egroupware/addressbook/inc/class.boaddressbook.inc.php
on line
212
Warning: array_diff() [
function.array-diff]: Argument #1 is not
an array in
/var/www/egroupware/addressbook/inc/class.boaddressbook.inc.php
on line
212
Warning: array_diff() [
function.array-diff]: Argument #1 is not
an array in
/var/www/egroupware/addressbook/inc/class.boaddressbook.inc.php
on line
212
Warning: array_diff() [
function.array-diff]: Argument #1 is not
an array in
/var/www/egroupware/addressbook/inc/class.boaddressbook.inc.php
on line
212
Warning: array_diff() [
function.array-diff]: Argument #1 is not
an array in
/var/www/egroupware/addressbook/inc/class.boaddressbook.inc.php
on line
212
Warning: array_diff() [
function.array-diff]: Argument #1 is not
an array in
/var/www/egroupware/addressbook/inc/class.boaddressbook.inc.php
on line
212
Warning: array_diff() [
function.array-diff]: Argument #1 is not
an array in
/var/www/egroupware/addressbook/inc/class.boaddressbook.inc.php
on line
212
Warning: array_diff() [
function.array-diff]: Argument #1 is not
an array in
/var/www/egroupware/addressbook/inc/class.boaddressbook.inc.php
on line
212
Warning: array_diff() [
function.array-diff]: Argument #1 is not
an array in
/var/www/egroupware/addressbook/inc/class.boaddressbook.inc.php
on line
212
Warning: array_diff() [
function.array-diff]: Argument #1 is not
an array in
/var/www/egroupware/addressbook/inc/class.boaddressbook.inc.php
on line
212
Warning: array_diff() [
function.array-diff]: Argument #1 is not
an array in
/var/www/egroupware/addressbook/inc/class.boaddressbook.inc.php
on line
212
Warning: array_diff() [
function.array-diff]: Argument #1 is not
an array in
/var/www/egroupware/addressbook/inc/class.boaddressbook.inc.php
on line
212
Warning: array_diff() [
function.array-diff]: Argument #1 is not
an array in
/var/www/egroupware/addressbook/inc/class.boaddressbook.inc.php
on line
212
Warning: array_diff() [
function.array-diff]: Argument #1 is not
an array in
/var/www/egroupware/addressbook/inc/class.boaddressbook.inc.php
on line
212
Warning: array_diff() [
function.array-diff]: Argument #1 is not
an array in
/var/www/egroupware/addressbook/inc/class.boaddressbook.inc.php
on line
212
Warning: array_diff() [
function.array-diff]: Argument #1 is not
an array in
/var/www/egroupware/addressbook/inc/class.boaddressbook.inc.php
on line
212
Warning: array_diff() [
function.array-diff]: Argument #1 is not
an array in
/var/www/egroupware/addressbook/inc/class.boaddressbook.inc.php
on line
212
Warning: array_diff() [
function.array-diff]: Argument #1 is not
an array in
/var/www/egroupware/addressbook/inc/class.boaddressbook.inc.php
on line
212
Warning: array_diff() [
function.array-diff]: Argument #1 is not
an array in
/var/www/egroupware/addressbook/inc/class.boaddressbook.inc.php
on line
212
Warning: array_diff() [
function.array-diff]: Argument #1 is not
an array in
/var/www/egroupware/addressbook/inc/class.boaddressbook.inc.php
on line
212
Warning: array_diff() [
function.array-diff]: Argument #1 is not
an array in
/var/www/egroupware/addressbook/inc/class.boaddressbook.inc.php
on line
212
Warning: array_diff() [
function.array-diff]: Argument #1 is not
an array in
/var/www/egroupware/addressbook/inc/class.boaddressbook.inc.php
on line
212
Warning: array_diff() [
function.array-diff]: Argument #1 is not
an array in
/var/www/egroupware/addressbook/inc/class.boaddressbook.inc.php
on line
212
Warning: array_diff() [
function.array-diff]: Argument #1 is not
an array in
/var/www/egroupware/addressbook/inc/class.boaddressbook.inc.php
on line
212
Warning: array_diff() [
function.array-diff]: Argument #1 is not
an array in
/var/www/egroupware/addressbook/inc/class.boaddressbook.inc.php
on line
212
<?xml version="1.0"?>
id
tid
owner
private
cat_id
n_family
n_given
n_middle
n_prefix
n_suffix
n_fn
n_fileas
bday
org_name
org_unit
title
role
assistent
room
adr_one_street
adr_one_street2
adr_one_locality
adr_one_region
adr_one_postalcode
adr_one_countryname
label
adr_two_street
adr_two_street2
adr_two_locality
adr_two_region
adr_two_postalcode
adr_two_countryname
tel_work
tel_cell
tel_fax
tel_assistent
tel_car
tel_pager
tel_home
tel_fax_home
tel_cell_private
tel_other
tel_prefer
email
email_home
url
url_home
freebusy_uri
calendar_uri
note
tz
geo
pubkey
created
creator
modified
modifier
jpegphoto
account_id
photo
fileas_type
Cheers
Esben
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
eGroupWare-developers mailing list
eGroupWare-developers@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/egroupware-developers