[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 494: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 494: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 494: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 494: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 494: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 494: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 494: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 494: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 494: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 494: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 494: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 494: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 494: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 494: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 494: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 494: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 494: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 494: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 494: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 494: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 494: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 494: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 494: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 494: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 494: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 494: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 113: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 113: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 113: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 113: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 113: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 113: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 113: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 113: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 113: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/functions.php on line 5312: Cannot modify header information - headers already sent by (output started at [ROOT]/includes/functions.php:3925)
[phpBB Debug] PHP Warning: in file [ROOT]/includes/functions.php on line 5312: Cannot modify header information - headers already sent by (output started at [ROOT]/includes/functions.php:3925)
[phpBB Debug] PHP Warning: in file [ROOT]/includes/functions.php on line 5312: Cannot modify header information - headers already sent by (output started at [ROOT]/includes/functions.php:3925)
Tiny Tiny RSS • Pocket plugin – oneclickpocket
Page 1 of 2

Pocket plugin – oneclickpocket

Posted: 25 Jun 2013, 15:06
by fxneumann
Hi,

I've written a plugin to add articles to Pocket with a single click; you'll find it here:

https://github.com/fxneumann/oneclickpocket

This is my first plugin, and being neither the best programmer nor experienced enough with both tt-rss hooks and the Dojo toolkit, it needs some improvement in authenticating the plugin with Pocket. My solution is quite quick and dirty, using a separate script auth.php and forcing the user to mind Pocket's API key and auth token.

Thanks to Acaranta, whose plugin for Yourls was very helpful to understand how plugins work in tt-rss!

I'm looking forward to your feedback and ideas for improvement.

Re: Pocket plugin – oneclickpocket

Posted: 25 Jun 2013, 16:53
by yelfathi
Hi, thanks for the initiative but I have an issue with version 1.7.8 (hosted on a public server) when generating Pocket Access Token:
"Parse error: syntax error, unexpected '[' in /homez.168/elfathi/www/ttrss/plugins/oneclickpocket/auth.php on line 46"

which corresponds to line code: $access_token = explode('=', explode('&', $oAuthRequest)[0])[1];

Re: Pocket plugin – oneclickpocket

Posted: 25 Jun 2013, 17:46
by fxneumann

Re: Pocket plugin – oneclickpocket

Posted: 25 Jun 2013, 18:06
by yelfathi
Great thanks it works now!

Re: Pocket plugin – oneclickpocket

Posted: 25 Jun 2013, 20:58
by Skibbi
Great plugin! I have a feature request - make the button behave like star/unstar one (toggle) so I can see which entries are already in pocket. Also it would be nice to have the pocket button avaliable not only on expaned articles.

Re: Pocket plugin – oneclickpocket

Posted: 25 Jun 2013, 22:39
by fxneumann

Re: Pocket plugin – oneclickpocket

Posted: 02 Jul 2013, 11:29
by kuestenjunge

Re: Pocket plugin – oneclickpocket

Posted: 03 Jul 2013, 06:16
by MacDork

Re: Pocket plugin – oneclickpocket

Posted: 03 Jul 2013, 09:36
by wjchen
Great work!
I modified your plugin to share articles to twitter.
Oauth function not implement.
To get consumer_key,consumer_secret,access_token,access_token_secret visit [url]https:://dev.twitter.com/[/url] .
Still need more work about oauth and improvement.

Re: Pocket plugin – oneclickpocket

Posted: 03 Jul 2013, 11:47
by Bas1c

Re: Pocket plugin – oneclickpocket

Posted: 03 Jul 2013, 12:25
by fxneumann

Re: Pocket plugin – oneclickpocket

Posted: 10 Jul 2013, 17:09
by davgen
Thank you for this plugin! Works perfectly.
You should add to the readme that your plugin needs php-curl because if this library is not installed, the authentication fails (without any error message). Since php-curl is not required by tt-rss, i suppose i'm not the only one without php-curl on my tt-rss server.
Good job!
David.

Re: Pocket plugin – oneclickpocket

Posted: 11 Jul 2013, 12:15
by fxneumann

Re: Pocket plugin – oneclickpocket

Posted: 13 Jul 2013, 10:28
by MacDork

Re: Pocket plugin – oneclickpocket

Posted: 02 Dec 2013, 19:02
by acaranta
huhuhu how nice is that ... I was looking for a pocket plugin ... found one and realised I was credited on your github repo ! \o/

Thanks for your work ;)