I have forked
reuteras' extension for posting twitter URLs to del.icio.us and make it post to
Instapaper instead. You can find my efforts in
my GitHub repo.
It isn't as clever as I would like it to be:
- only accounts without a password are working at the moment
- I'm not using HTTP basic auth as I just can't get it to work
To try it you need to do the following:
- download later.pl from GitHub (here's the
direct link)
- put it somewhere on your linux box, where you can reference it from your .ttytterrc with -ext=later.pl or similar
- create a file with your username in it: ~/.instapaper
- fire up ttytter and see if it works
- when you see a tweet you'd like to read later, just type /later d6 or whatever the menu ID of the tweet is.
- visit instapaper.com, log in and take a look at your dashboard: you should see the articles there.
I'll answer any queries below. If you'd like to help mend the file, or if you think it should be an /insta command rather than /later, then let me know and I'll add you as a collaborator on the repo.
I know I'll use this a lot as I'm a ttytter and instapaper fan. If you are too, I'd like to get in touch! I'm also liking GitHub a lot...
Thursday, January 13. 2011 at 00:02 (Link) (Reply)
Here's mine:
http://bit.ly/91p1ao
It supports passwords, though I'm unsure if it actually works with passwordless accounts. You probably have to put a colon after the username in ~/.instapaper for the split function not to blow up.
Thursday, January 13. 2011 at 09:53 (Reply)
Thanks, Brad. Your code is very similar to mine. Had you come across Reuteras' version as well? Yours looks like a refined fork of that.
Yours will work with passwordless accounts - the Instapaper API says that any password is accepted for such accounts.
If I had Googled and found yours I probably would never have bothered to learn github. I'll incorporate your changes into my version.
Thursday, January 13. 2011 at 16:47 (Link) (Reply)
Mine was originally based on somebody's extension for delicious.com bookmarking, but I don't recall who the original source was.
There was no license on the original, but @stormdragon2976 wanted one when he put it in his extensions pack, so I made mine WTFPL. His pack doesn't include the latest modification to make it 1.1.8-compatible, though.
Sunday, April 24. 2011 at 07:56 (Link) (Reply)
Note I first stumbled on to some other version of this script that did this:
if (!$tweet->{'id'}) {
which is apparently the old way to do things. Modern versions of ttytter require
if (!$tweet->{'id_str'}) {
instead. Make sure you are using @augmentedforth's newer version of the script so you don't waste time like I did trying to figure this out.