Instapaper clean view plugin

Post plugins and custom CSS snippets here
drakoh
Bear Rating Trainee
Bear Rating Trainee
Posts: 3
Joined: 21 Mar 2013, 18:48

Instapaper clean view plugin

Postby drakoh » 21 Mar 2013, 20:03

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.

User avatar
ebell451
Bear Rating Trainee
Bear Rating Trainee
Posts: 44
Joined: 15 Mar 2013, 15:06
Contact:

Re: Instapaper clean view plugin

Postby ebell451 » 22 Mar 2013, 09:15

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
Attachments
instaread.zip
UPDATED: Clean Instapaper Plugin
(5.27 KiB) Downloaded 470 times
Last edited by ebell451 on 30 Mar 2013, 11:58, edited 5 times in total.

Beun
Bear Rating Trainee
Bear Rating Trainee
Posts: 35
Joined: 06 Aug 2008, 20:01

Re: Instapaper clean view plugin

Postby Beun » 23 Mar 2013, 18:52

I Like.

Reil
Bear Rating Trainee
Bear Rating Trainee
Posts: 3
Joined: 17 Mar 2013, 02:05

Re: Instapaper clean view plugin

Postby Reil » 23 Mar 2013, 21:34

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.
Attachments
reil_instapaper.zip
(768 Bytes) Downloaded 363 times

User avatar
ebell451
Bear Rating Trainee
Bear Rating Trainee
Posts: 44
Joined: 15 Mar 2013, 15:06
Contact:

Re: Instapaper clean view plugin

Postby ebell451 » 23 Mar 2013, 23:45

I had to make some changes after the update to tt-rss in order for the plugin to work. My apologies.
Attachments
instaread.zip
Updated plugin.
(5.27 KiB) Downloaded 539 times

drakoh
Bear Rating Trainee
Bear Rating Trainee
Posts: 3
Joined: 21 Mar 2013, 18:48

Re: Instapaper clean view plugin

Postby drakoh » 24 Mar 2013, 04:16

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

User avatar
ebell451
Bear Rating Trainee
Bear Rating Trainee
Posts: 44
Joined: 15 Mar 2013, 15:06
Contact:

Re: Instapaper clean view plugin

Postby ebell451 » 24 Mar 2013, 04:26

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.

drakoh
Bear Rating Trainee
Bear Rating Trainee
Posts: 3
Joined: 21 Mar 2013, 18:48

Re: Instapaper clean view plugin

Postby drakoh » 24 Mar 2013, 05:16

did the fix, still get an error (check the attachment) any ideas ?
Thank you for your time.
Attachments
Screen Shot 2013-03-23 at 9.14.43 PM.png
Screen Shot 2013-03-23 at 9.14.43 PM.png (64.54 KiB) Viewed 18052 times

User avatar
ebell451
Bear Rating Trainee
Bear Rating Trainee
Posts: 44
Joined: 15 Mar 2013, 15:06
Contact:

Re: Instapaper clean view plugin

Postby ebell451 » 24 Mar 2013, 06:16

Personally, my next step would be to do a manual update. :)

MacDork
Bear Rating Trainee
Bear Rating Trainee
Posts: 30
Joined: 01 May 2013, 05:55

Re: Instapaper clean view plugin

Postby MacDork » 12 Nov 2013, 17:42

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?

MacDork
Bear Rating Trainee
Bear Rating Trainee
Posts: 30
Joined: 01 May 2013, 05:55

Re: Instapaper clean view plugin

Postby MacDork » 17 May 2014, 03:10

Has instaread been abandoned?


Return to “Themes and plugins”

Who is online

Users browsing this forum: No registered users and 3 guests