Importing ical to J-Pilot

 I use Sunbird if I want to subscribe to an online calendar (mostly via ical), but sometimes I want to import some events into my Palm.  Since I use J-Pilot to sync my Palm, this translated into the need to move events from Sunbird to J-Pilot.

Attempt 1 : export events into a CSV file and import that into J-Pilot (which, by default, only supports importing from CSV and DAT/DBA)

FAIL.  The CSV format is different.

Attempt 2 : Google and The CompuTech Group to the rescue with this article : http://www.computechgroup.com/?p=381

It boils down to this : 

  1. Checkout, compile and install jp-icalendar ( http://sourceforge.net/svn/?group_id=61960 ).
    1. svn co https://jp-icalendar.svn.sourceforge.net/svnroot/jp-icalendar/trunk jp-icalendar
    2. cd jp-calendar
    3. ./autogen.sh
      1. If this fails with errors like the following, skip this step and run autoreconf --force --install --symlink instead.
      2. configure: error:

        *** [Gentoo] sanity check failed! ***
        *** libtool.m4 and ltmain.sh have a version mismatch! ***
        *** (libtool.m4 = 1.5.26, ltmain.sh = "1.5.24 Debian 1.5.24-1ubuntu1") ***

        Please run:

          libtoolize --copy --force

    4. ./configure
    5. make
    6. make check
    7. sudo make install

Now when you have an ics file, you can simply import it into J-Pilot via icalendar-import calendarfile.ics

If you're a GUI user and would like these files to be imported automatically when you double-click them, configure .ics files to be opened with `/usr/local/bin/icalendar-import' (or wherever your icalendar-import is installed).  Keep in mind that if you import it twice, all events will show up twice as well!  It's logical, but worth mentioning ;-)

Note: after syncing with my palm, the poor thing crashed every time I tried to open the calendar.  Quickly solved by restoring a backup, but nevertheless annoying.  I think the descriptions for some of the imported calendar entries were too long or so ...

Related Entries:
Matrox Triplehead2Go and linux
 Permalink

Comments

No new comments allowed (anymore) on this post.