A script to email tasks easily to rememberthemilk

Bug #666805 reported by Yusuf Mitha
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
bikeshed
Wishlist
Unassigned

Bug Description

This script uses sendemail to email a task easily to http://rememberthemilk.com. There are many cavets in this script:
1. My hard coded RTM email address for the To: field.
2. My hard coded email for the From: field
3. Hard coded smtp server.

Please bare with me as this is the first script i created which contains more than a few lines and uses if then and while loops. (I wrote this script to learn a bit of bash :) )

I have added the GPLv3 header to the script. No idea what to do for manpages.

The process of adding a task to rememberthemilk is outlined here http://www.rememberthemilk.com/services/email/

Revision history for this message
Yusuf Mitha (tongaatdiscountworld) wrote :
description: updated
Revision history for this message
Dustin Kirkland  (kirkland) wrote :

Thanks, Yusuf. I'll get this reviewed and merged.

Marking triaged/wishlist.

Changed in bikeshed:
status: New → Triaged
importance: Undecided → Wishlist
Revision history for this message
Yusuf Mitha (tongaatdiscountworld) wrote : Re: [Bug 666805] Re: A script to email tasks easily to rememberthemilk

On 10/26/10 20:16, Dustin Kirkland wrote:
> Thanks, Yusuf. I'll get this reviewed and merged.
>

Thanks a lot. Hope this tid bit (which may only be of benefit for me)
doesn't disrupt your busy schedule.

--
Yusuf Mitha

PGP KEY: B542A6F1

Revision history for this message
Thierry Carrez (ttx) wrote :

Alternatively using the pyrtm python module to do this allows to build a script that is much faster and reliable than sending email...

I have pyrtm packaged at https://launchpad.net/~ttx/+archive/extras
and a gtd example script at https://code.launchpad.net/~ttx/+junk/scripts

The drawback is that you need to get an API and authorization key from RTM before you can use the script.

Revision history for this message
Yusuf Mitha (tongaatdiscountworld) wrote :

On 10/26/10 23:25, Thierry Carrez wrote:
> Alternatively using the pyrtm python module to do this allows to build a
> script that is much faster and reliable than sending email...
>
> I have pyrtm packaged at https://launchpad.net/~ttx/+archive/extras
> and a gtd example script at https://code.launchpad.net/~ttx/+junk/scripts
>
> The drawback is that you need to get an API and authorization key from
> RTM before you can use the script.
>

If I could find a decent desktop application for RTM with tags support
and no sacrifice of features (gtg with it's plugin does't play very
nice; then too i have to remember to initiate the sync), I might not
have worried. So I currently use google gears with RTM in mozilla prism
(on Both my laptop and Desktop) for offline use if I don't have internet
connectivity.

Conky on the desktop running this script
http://ohioloco.ubuntuforums.org/showthread.php?t=1080549

The only thing missing was to add task super quickly. Currently I have
this script bound to my superkey+a (gnome-terminal -e email_RTM) to add
tasks quickly).

Would love to see how this could be improved (learning something in the
process :) ) if there arn't more important things to be done.

--
Yusuf Mitha

PGP KEY: B542A6F1

Revision history for this message
Yusuf Mitha (tongaatdiscountworld) wrote :

Just realise now that the attachemt is initialized with:
#!/bin/sh

Will not work correctly unless that is changer to #!/bin/bash

Updated script attached

To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers