SO i guess the correct way would then be:

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

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?

On Thu, 2004-02-12 at 09:34, Eike M. Lang wrote:
> Am Do, den 12.02.2004 schrieb Armin Bauer um 00:30:
> 
> > > Now the values of the "ADR" property are used to fill the address fields
> > > in palm's address db.
> 
> > The problem that i encountered that kept me from doing this:
> > Evolution has one large box where you can enter your address as a long
> > text. now... how should the evo plugin are anything else parse this
> > address into the little pieces that we require (split into street city
> > region etc)? every address in the world looks different. So i just took
> > the label and put everything into the street field. I took your code
> > since then we pass the buck to evolution to do the parsing. But i
> > definetly need to test it
> 
> If you enter text in the large address box in Evolution, Evolution
> itself will try to parse it into the different fields of the address
> (and does a rather lousy job of it, just hit the "Address" button next
> to the box to see what I mean), so the preferred way IMHO would be to
> transfer the individual fields that comprise the address.
> 
> On the way back (palm->evo) you will have to build a LABEL property from
> the individual ADR properties, otherwise evolution will have the address
> in the categorized address input dialog, but not in the box. (It will
> appear there if you click the "Address" button and then confirm the
> dialog.)
> 
> That's the way it is handled in the opie_sync plugin and by all accounts
> it seems to work rather well.
> 
> Regards,
> Eike



-------------------------------------------------------
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