This page really just lets you download a couple of programs that will automatically extract selected memos from a jpilot .pdb, and put them up on the web as html pages.

There are two versions here, though unless you're very curious, you'll only care about the fast one, which is written in python and should have running time of O(m*log(m)+n*log(n)), not the slow one, which is written in bash and should have running time of O(m*n).

  • This software is owned by The university of California, Irvine, and is not distributed under any version of the GPL. GPL is a fine series of licenses, but the owners of the software need it to be distributed under these terms.

    To use the programs:

    1. mkdir -p ~/.jpilot/web-extract/files
    2. Save your chosen version of the script in ~/.jpilot/web-extract/web-extract
    3. Download, build and install the par program, which knows how to extract records from a .pdb
    4. Locate your favorite text to html conversion program. I'm using this one. Install whichever one you like on your $PATH.
    5. Set up a cron job along the lines of:
      • 0 * * * * $HOME/bin/web-extract-wrapper
    6. Install ~/bin/web-extract-wrapper.
    7. Set up a ~/.jpilot/web-extract/titles file, which should have the titles of the palm memos you want on the web, one title per line.
    8. You should be good to go after all that.

    Some misc notes

    1. The program will refuse to convert any memo that has a title less than a certain minimum number of characters long, to deter a mishap where suddenly -all- of your palm memos are on the internet, and in google's cache, and in the wayback machine, and...
    2. The program is hard coded to use Memo32DB.pdb, but that assumes you have pedit32. If you want normal palm memos, use MemoDB.pdb instead. It should be a one-string search-and-replace.



    Hits: 3920
    Timestamp: 2024-12-26 07:52:35 PST

    Back to Dan's tech tidbits

    You can e-mail the author with questions or comments: