Re: mingle data format

From: Richard Cohen <richard_at_vmlinuz.org>
Date: Mon, 23 Jul 2001 22:41:20 +0100 (BST)

On Sun, 22 Jul 2001, Richard Cohen wrote:

> On Sat, 21 Jul 2001, Pascal F. Martin wrote:
>
> > Hello,
> >
> > I have all my addresses on a PalmPilot and I want to import
> > them into mingle. I know how to retrieve the Pilot data as
> > ASCII, but I have no idea what is the mingle format (I
> > understand it follows some Python syntax, but I do not
> > know Python).
> >
> > Does someone know where to find this information ?
> >
> > It is very likely I will need to import/export more data in
> > the future (synchronization with my desktop), and I doubt
> > I am the only one who would be interested.. A documentation
> > would be great !
>
> 1 have a working palm to mingle converter. 1 will post it tomorrow. It's
> past 2am where I am...

Okay - sorry, this is a little later than expected. The code is at
http://ipaq.vmlinuz.org/p2m.py

It's not really finished yet, and there are chunks of un-necessary code in
there, but it does work (at least for me). Put the p2m.py file in the
/usr/lib/familiar-framework directory on the iPAQ, and either drop your Palm
address book in /tmp/AddressDB.pdb or give the path as an argument on the
command-line for p2m.py. It'll um and er for a bit, dump a list of first
names to stdout to confirm they're being converted, and finish. Load up
mingle and (probably) hit refresh - I'm not quite sure why, but it seems to
be needed.

The conversion isn't perfect - the e-mail and/or telephone categories differ
quite a lot between Mingle and the Palm addressbook, in particular. The
Palm has 5 phone slots, each of which can be any of 7 phone number types or
an e-mail address, whereas Mingle has 4 slots for each, 3 with a specific
type and 1 untyped (but implied as a 'home' slot). I've also ignored the
general slots - the custom slots and note on the Palm - since there's
nowhere to put them in Mingle.

> (this email written with xstroke - I'm still learning the alphabet)

This e-mail written on the desktop :-)

I think I like fscrib better than xstroke - it's nicer to have less glyphs
to learn and mode strokes than a load of glyphs which don't seem to bear all
that much resemblence to 'English'.

> Cheers
> Richard

Cheers
Richard
Received on Mon Jul 23 2001 - 14:34:41 EDT

This archive was generated by hypermail 2.2.0 : Mon Jul 25 2005 - 17:12:31 EDT