Funny you should ask... since I'm the maintainer of the exact code you'll need for that task, called pilot-link, which comes complete with Perl bindings that will allow you to access your DatebookDB entries directly.
If you'd like to whip up some functional perl scripts that can be used to export/import Datebook entries, and contribute them to the project, I'll roll them into a future release. I've already done 4 releases of pilot-link this month, and expect to do another in two weeks.
The core bindings are there (for Python, Tcl, and Java as well as the standard C and C++ code for the libraries and conduits), you just have to wrap them around the bits you want. Basically it would look something like this:
use strict; use PDA::Pilot; use Data::Dumper; my ($port, # device port $db, # database to dump $socket, # socket descriptor $app, # AppInfo block $dlp, # sd = pilot_connect(port); $ui, # dlp_ReadUserInfo $info, # dlp_ReadOpenDBInfo $rec); # record count $socket = PDA::Pilot::openPort($port) or die "$!"; $db = $dlp->open("DatebookDB") or die "$!"; if ($db) { print "-"x40, "\n"; print "Dumping DatebookDB\n"; print "-"x40, "\n"; print "db class is ", ref $db, "\n"; # $rec = $db->getRecord(0); # print "Contents: ", Dumper($rec); my $app = $db->getAppBlock; # Dump all records to STDOUT # print Dumper($app); print "Categories: @{$app->{categoryName}}\n"; $db->close(); }
In reply to Re: Experience with exporting calendar data to Palm/PDA
by hacker
in thread Experience with exporting calendar data to Palm/PDA
by dreamy
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |