Hi all,

I try to have two different databases in sync: abook [1] and a SyncML
server. Abook is a small address book program that integrates well with
the mail client mutt. It is able to export and import its data in
various formats, amongst them VCard. Since syncevolution is able to
handle this, it seems to be the perfect tool for the job. Using abook's
VCard export/import functionality, it will create/read one VCard file
for its whole data base. This can be split into single files for the
use with syncevolution.

I hope the actual syncing will work like this: export current abook
data to VCard, split it into one file per item, use this as the file
backend data for syncevolution, sync, combine single updated VCard files
into single files and import them back into abook.

However, after a lot of reading and fiddling with syncevolution I
couldn't manage to get it to work. I would appreciate it very much if
you could show me the right direction. This is what I did:

I added a peer (I think) for the SyncML server which seems to
synchronize fine, called funambol@default. Then I added another
context (that's what I think it is) for the local VCard file backend:

    syncevolution --configure backend=file \
        database=/home/tom/tmp/sync/vcard-dir \
        databaseformat=text/vcard @local addressbook

Based on this I created another peer, local@default:

    syncevolution --configure syncURL=local://@local \
        peerIsClient=1 sync=two-way local addressbook

Now it seems I can update my local VCard data with the help of these
two commands:

    syncevolution funambol@default
    syncevolution local@default
 
With this I am able to update the VCard folder (here:
/home/tom/tmp/sync/vcard-dir). But I don't seem to be able to get changes
from the VCard files back to the SyncML server. All the changes I make to
the VCard files are not recognized by syncevolution (I try to sync with
the last two commands as well).

Based on this I have two questions:

1. Does my approach make sense at all?
2. Why isn't my modified VCard data synced back?

Thanks in advance,
Tom

[1] http://abook.sourceforge.net/

Attachment: pgpZLCdqBIbYW.pgp
Description: PGP signature

_______________________________________________
SyncEvolution mailing list
[email protected]
http://lists.syncevolution.org/listinfo/syncevolution

Reply via email to