Page 1 of 1

Instapaper clean view plugin

Posted: 21 Mar 2013, 20:03
by drakoh
Hi there,
I tried to search in the forum, didn't really find it.
So here is what I would like this cool tool to do:
A plugin that goes and fetch the page linked to the rss article and display the 'clean instapaper' version (http://www.instapaper.com/text?u=<url>).
Either directly, or through the click of a button (like the google+ plugin)
Is there already a plugin that does some webpage fetching + cleaning somewhere I could use as a base ?
Thank you for your hard work !
Cheers.

Re: Instapaper clean view plugin

Posted: 22 Mar 2013, 09:15
by ebell451
I liked your idea and thought this would be a good opportunity for me to learn how to "develop" a plugin. Being that there was already an Instapaper plugin, I named this one Instaread and chose a slightly different icon. See attached and let me know what you think.

This plugin is also on GitHub: https://github.com/ebell451/tt-rss_plugin_instaread

Edit: Updated source based on new version of tt-rss. This file is the same as the one listed below.

Edit 2: For those of you that prefer Readability's Mobile (text only) view: viewtopic.php?f=22&t=1601

Re: Instapaper clean view plugin

Posted: 23 Mar 2013, 18:52
by Beun
I Like.

Re: Instapaper clean view plugin

Posted: 23 Mar 2013, 21:34
by Reil
I just made a dirty, dirty hack that takes that instapaper content and jams it right into that feed.

If you want it to work with a particular feed, you'll have to modify the massive if-statement in the file so that it includes the articles you want. You'll probably also want to remove the test cases I had in there, unless you want full feeds for Ars Technica and others.

Is there a provided way to have a plugin only 'turn on' for feeds that the user sets? 'cause that would be a lot cleaner.

Re: Instapaper clean view plugin

Posted: 23 Mar 2013, 23:45
by ebell451
I had to make some changes after the update to tt-rss in order for the plugin to work. My apologies.

Re: Instapaper clean view plugin

Posted: 24 Mar 2013, 04:16
by drakoh
thank you for your work, I shall have a look soon.
Haven't had time to upgrade my tt-rss installation, the update plugin doesn't seem to be working.
Cheers

Re: Instapaper clean view plugin

Posted: 24 Mar 2013, 04:26
by ebell451
If you are getting the blank upgrade screen after clicking update, there is a fix for that in the forums. I had the same problem as well.

Re: Instapaper clean view plugin

Posted: 24 Mar 2013, 05:16
by drakoh
did the fix, still get an error (check the attachment) any ideas ?
Thank you for your time.

Re: Instapaper clean view plugin

Posted: 24 Mar 2013, 06:16
by ebell451
Personally, my next step would be to do a manual update. :)

Re: Instapaper clean view plugin

Posted: 12 Nov 2013, 17:42
by MacDork
I didn't see any reference to a keyboard command to activate the clean view -- do you have one? If not, can you add one? Say... "r" for read?

Re: Instapaper clean view plugin

Posted: 17 May 2014, 03:10
by MacDork
Has instaread been abandoned?