Giter VIP home page Giter VIP logo

jndcalx's Introduction

This is jndcalx, a program which exports Lotus Notes calendar entries in iCalendar format. It works for me and it might work for you. I've written a bit about my motivation for creating this.

Snippets of documentation are in the doc/ directory.

You'll need to do the following to build jndcalx on Mac OS X:

  • Edit env.mac and set the LOTUS environment variable to the directory containing your notesapi directory.

      export LOTUS="/Users/jpm/Zz"
      export Notes_ExecDirectory="/Applications/Notes.app/Contents/MacOS"
      export DYLD_LIBRARY_PATH=${Notes_ExecDirectory}
    
  • Source env.mac

      source env.mac
    
  • Make the binary

      make -f Makefile.macosx jndcalx
    
  • Test jndcalx by giving it the name of a local (or remote) database. Ensure your copy of Lotus Notes is running or you'll be prompted for a password.

      ./jndcalx jpm.nsf > test.ics
      Notes: Can't open database: err=0x103 [File does not exist]
      ./jndcalx mail/jpm.nsf > test.ics
    
  • The resulting file test.ics contains your calendar.

If, and only if, the above was successful, you can continue with the next steps.

You'll need to do the following to run jndcalx on Mac OS X via a CGI wrapper:

  • Edit runlotus.c and change the value of DIR to reflect the directory in which you're installing the executable jndcalx. Further set UNIXUID and UNIXGID to the numeric values of your uid and gid respectively.

  • Compile the program make runlotus and then make the program setuid to root

      ---s--x--x  1 root  wheel  12708 Sep  7 19:58 runlotus
    
  • On Mac OS X I use a CGI script such as that contained in testcal.cgi to launch the program.

If you have improvements to suggest or to make, I'd greatly appreciate patches.

jndcalx's People

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.