Comments on: From Newsbeuter to Instapaper with the Ruby RicePaper library http://writequit.org/blog/2009/03/03/from-newsbeuter-to-instapaper-with-the-ruby-ricepaper-library/ Tu fui, ego eris Fri, 15 Aug 2014 11:26:27 +0000 hourly 1 http://wordpress.org/?v=4.1.5 By: Lee http://writequit.org/blog/2009/03/03/from-newsbeuter-to-instapaper-with-the-ruby-ricepaper-library/comment-page-1/#comment-454 Sun, 22 Mar 2009 22:07:28 +0000 http://writequit.org/blog/?p=253#comment-454 @chmeee: You shouldn’t need escape the url, just make sure it’s quoted so the shell doesn’t do anything with weird urls.

]]>
By: chmeee http://writequit.org/blog/2009/03/03/from-newsbeuter-to-instapaper-with-the-ruby-ricepaper-library/comment-page-1/#comment-453 Sun, 22 Mar 2009 18:44:19 +0000 http://writequit.org/blog/?p=253#comment-453 I changed the script from bart to use ricepaper instead of his bash script.
I’m not sure how this will show in the comment so I also posted it in http://gist.github.com/83254

// Vimperator plugin: ‘Ricepaper’
//
// place in ~/.vimperator/plugin/readlater.js
// pushing ,rp will send the url to the ‘readlater’ script

mappings.addUserMap([modes.NORMAL], [“,rp”],
“Ricepaper”,
function () {
// var u = escape(document.getElementById(“urlbar”).value);
var u = document.getElementById(“urlbar”).value;
var r = io.system(“ricepaper.sh ‘” + u + “‘”);
liberator.echo(“ricepaper returned ” + r);
});

// vim: set fdm=marker sw=4 ts=4 et:

By the way, should I escape the url or not with ricepaper?

]]>
By: chmeee http://writequit.org/blog/2009/03/03/from-newsbeuter-to-instapaper-with-the-ruby-ricepaper-library/comment-page-1/#comment-452 Sun, 22 Mar 2009 10:36:56 +0000 http://writequit.org/blog/?p=253#comment-452 Oops, I should have googled before asking…
http://www.jukie.net/~bart/blog/20090304004744

]]>
By: chmeee http://writequit.org/blog/2009/03/03/from-newsbeuter-to-instapaper-with-the-ruby-ricepaper-library/comment-page-1/#comment-451 Sun, 22 Mar 2009 10:33:11 +0000 http://writequit.org/blog/?p=253#comment-451 Hey, Lee,
thanks for the script. By the way, is there any ‘good’ way to use instapaper with vimperator.
As I don’t show the address or bookmark address I see no way to use the button.

]]>
By: Lee http://writequit.org/blog/2009/03/03/from-newsbeuter-to-instapaper-with-the-ruby-ricepaper-library/comment-page-1/#comment-450 Fri, 06 Mar 2009 04:09:22 +0000 http://writequit.org/blog/?p=253#comment-450 @Hautmedoc: You should be able to use ricepaper from any application that can run an external program with command-line arguments. I’m not sure exactly how you’d use it from mutt, but I’m sure there’s a way :)

]]>
By: Hautmedoc http://writequit.org/blog/2009/03/03/from-newsbeuter-to-instapaper-with-the-ruby-ricepaper-library/comment-page-1/#comment-449 Thu, 05 Mar 2009 11:56:38 +0000 http://writequit.org/blog/?p=253#comment-449 By the way I have another question. There must be a way to also use ricepaper within mutt ?

]]>
By: Hautmedoc http://writequit.org/blog/2009/03/03/from-newsbeuter-to-instapaper-with-the-ruby-ricepaper-library/comment-page-1/#comment-447 Wed, 04 Mar 2009 21:13:12 +0000 http://writequit.org/blog/?p=253#comment-447 Thanks very much, a very useful script.
Works like a charm once the quotes were right.
I just wonder if Instapaper does support UTF8 correctly.

]]>
By: bartman http://writequit.org/blog/2009/03/03/from-newsbeuter-to-instapaper-with-the-ruby-ricepaper-library/comment-page-1/#comment-446 Wed, 04 Mar 2009 05:11:11 +0000 http://writequit.org/blog/?p=253#comment-446 Wow! Thanks for the pointer to Instapaper!

]]>