Am Do, den 12.02.2004 schrieb Armin Bauer um 10:33:

> for evo->palm:
> look if we have the adr fields and use them, otherwise use the label and
> put it into street

Yes, although I have yet to see an occasion where the ADR fields from
Evolution are empty. Evolution itself will fill them after having
entered an address in the "big box". However, if the address you entered
in the box did not adhere to standard US formats, the fields will not be
filled the way you'd expect them to (Evolution localization sucks in
that regard).

> for palm->evo:
> if all entries (for street, country) etc are filled in, build a adr
> entry and concatenate all so that we get the label.
> If only street is set, only fill the label

> Could that work?

Not quite, what I meant was:

1) Send all ADR properties you have
AND
2) Build a label from those properties

Then send them both along. So in case only the Street was there you'd
still send:

ADR;HOME:;;Somestreet
LABEL;HOME:Somestreet

In the current situation I assume it'd be prudent to follow the same
format for LABEL that Evolution uses, but the entire LABEL situation is
rather unsatisfactory, although I have no suggestions as to how to
improve it. 

I just double-checked and saw that opie_sync doesn't actually do this
ATM, seems I have to get right on it. I did, however, handle the "Full
Name" property like this with success. (Search for "FN" in opie_vtype.c,
it's really straightforward.)

When I realised I hadn't taken care of the label handling I started
fixing it and it seems to be coming along nicely and as far as I have
implemented it works as advertised, so you might simply want to go ahead
and see if it works for you as well. Once I'm done I'll submit a patch
to Tom and once he applies it you can look in the opie_sync CVS for
reference (in the unlikely case that should be necessary).

Regards,
Eike

-- 
Eike M. Lang <[EMAIL PROTECTED]>



-------------------------------------------------------
SF.Net is sponsored by: Speed Start Your Linux Apps Now.
Build and deploy apps & Web services for Linux with
a free DVD software kit from IBM. Click Now!
http://ads.osdn.com/?ad_id=1356&alloc_id=3438&op=click
_______________________________________________
Multisync-devel mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/multisync-devel

Reply via email to