A simple web app to export Remember The Milk tasks to the emacs org-mode format
Python
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
.gitignore
README.md
rtorgmode.py

README.md

rtorgmode is a very simple Python web app. It takes your Remember The Milk (aka RTM) task lists and exports them in a format compatible with emacs org-mode.

This product uses the Remember The Milk API but is not endorsed or certified by Remember The Milk.

Hosted Version

You can use a hosted version of rtorgmode online, but this README shows how to run it standalone on your computer.

Prerequisites To Run It Yourself

  • milky, a Python RTM client. There's no pip/easy_install for this module, so I just copied the "milky" module directory straight into the rtorgmode directory.

  • Bottle web framework (pip install bottle or apt-get install python-bottle or similar.)

  • You'll need your own RTM API Key

  • Create a file in the rtorgmode directory called "api_key.py" with your RTM API key, like this:

    API_KEY = "myapikeyinquotes"
    API_SECRET = "myapikeysharedsecretinquotes"
    

Running It Yourself

Run:

python rtorgmode.py

This creates a web server that you can view as http://localhost:8000. The first time you load this URL in your browser it will redirect you to RTM to authorise your app.

Authorisation

The rtorgmode script expects to receive a callback redirect from RTM of the form localhost:8000/?frob=123456, with the 123456 frob value supplied by RTM to authorise access.

When running standalone on your local computer, you won't get the callback. However, you can emulate it. Follow the authorisation process on the RTM site until you get to the Application successfully authorized page. Look at the full URL of that page and copy the "frob", which is the part between frob= and & in the text of the URL. Then paste it into a new URL of the form http://localhost:8000/?frob=put_the_frob_here and the exporter will run.

You have to do this every time you run an export, because rtorgmode doesn't save any information, including the RTM authentication token.

License

rtorgmode.py is licensed under the MIT license:

Copyright (c) 2012, Angus Gratton

Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.