This product uses the Remember The Milk API but is not endorsed or certified by Remember The Milk.
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
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.
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.
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.