[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [coldsync-hackers] generic database processing



If your python is any better than your perl, you might want to take a
look at my coldsync-python package
[ http://www.elis.ugent.be/~wheirman/coldsync-python/ ].
Basically it's just a python port of the p5-palm perl modules, but with
somewhat better support for the newer formats. You'll still need to
write some code to convert Python objects to your CSV format though.

Regards,
Wim.


cilantro05@comcast.net wrote:
> After lengthy experimentation with pilot-link, I'm rapidly coming to the
> conclusion that there is a need for a generic tool for parsing Palm databases.
> Each of the above conduits has one or more deficiencies; in most cases it
> would have been quicker for me to reformat my CSV data using sed and awk than
> to master the often undocumented quirks of the conduit.
> 
> Is there a simple, reversible way to convert Palm databases into CSV format on
> the command line?
> 
> The closest claim to this I've seen are the coldsync conduits, using the
> p5-palm perl modules.  But I don't speak perl very well, and haven't been able
> to figure out how to use these tools to actually do the conversion -- I don't
> really want to run coldsync itself, and have no interest in a GUI such as
> kpilot.
> 
> I've also tried progconv, from Palm-Progect, which claims to be precisely the
> frontend to the perl scripts I'm looking for.  But e.g.
> 	progconv AddressDB.pdb AddressDB.txt
> yields an "Use of uninitialized value in numeric eq" error somewhere in the
> Progect perl code.
> 
> So I looked directly at the p5-palm perl modules, but clearly don't speak
> enough perl to get started -- I think I've got them loaded correctly, but
> don't have a clue how to process a file with them.
> 
> Any other ideas?  Suggestions?  HOWTOs?
> 
> Thanks.

-- 
ir. Wim Heirman,
ELIS Department, Ghent University, Belgium
Phone: +32-9-264.95.27
E-mail: wim.heirman@elis.UGent.be
http://www.elis.UGent.be/~wheirman/