Search found 26 matches

by jmozmoz
21 Apr 2013, 16:46
Forum: Support
Topic: changing SELF_URL has no effect
Replies: 5
Views: 1412

Re: changing SELF_URL has no effect

I found this for openshift: https://www.openshift.com/kb/kb-e1044-h ... c-to-https

Add this to your .htaccess file:

Code: Select all

RewriteEngine on 

RewriteCond %{HTTP:X-Forwarded-Proto} !https 
RewriteRule .* https://%{HTTP_HOST}%{REQUEST_URI} [R,L] 
by jmozmoz
20 Apr 2013, 00:48
Forum: Themes and plugins
Topic: my_custom_keys plugin stub
Replies: 17
Views: 24591

Re: my_custom_keys plugin stub

You have to add

Code: Select all

        function api_version() {
                return 2;
        }

by jmozmoz
20 Apr 2013, 00:46
Forum: Themes and plugins
Topic: Google Reader keyboard shortcut emulation plugin
Replies: 6
Views: 6639

Re: Google Reader keyboard shortcut emulation plugin

It was just a typo :P Now it works as expected: diff --git a/plugins/googlereaderkeys/init.php b/plugins/googlereaderkeys/init.php index c8e7d7a..00b414f 100644 --- a/plugins/googlereaderkeys/init.php +++ b/plugins/googlereaderkeys/init.php @@ -18,8 +18,15 @@ class GoogleReaderKeys extends Plugin { ...
by jmozmoz
20 Apr 2013, 00:23
Forum: Themes and plugins
Topic: Add commands to (main/action) menu
Replies: 0
Views: 1189

Add commands to (main/action) menu

Hi, I would like to add some commands (catchup_below, catchup_above) to the main/action menu (the menu on the right/top). How can I do this? By a plugin or theme? Also, would it be possible to add another icon to each article in the article list, so when clicking on it, the article would be opened i...
by jmozmoz
20 Apr 2013, 00:14
Forum: Themes and plugins
Topic: Google Reader keyboard shortcut emulation plugin
Replies: 6
Views: 6639

Re: Google Reader keyboard shortcut emulation plugin

Actually, the main reason to change the key shortcuts for me is that I use Firefox with "Search for text when I start typing". Then two keys shortcuts do not work but after the first key the search box opens and the second key pressed goes into this search box.
by jmozmoz
19 Apr 2013, 22:27
Forum: Themes and plugins
Topic: Google Reader keyboard shortcut emulation plugin
Replies: 6
Views: 6639

Re: Google Reader keyboard shortcut emulation plugin

Here are my modifications (if anybody cares :D ) diff --git a/plugins/googlereaderkeys/init.php b/plugins/googlereaderkeys/init.php index c8e7d7a..7b075d5 100644 --- a/plugins/googlereaderkeys/init.php +++ b/plugins/googlereaderkeys/init.php @@ -18,8 +18,16 @@ class GoogleReaderKeys extends Plugin {...
by jmozmoz
19 Apr 2013, 19:05
Forum: Themes and plugins
Topic: Larger Dilbert image plugin
Replies: 30
Views: 17615

Re: Larger Dilbert image plugin

I unzip the archive in the plugins directory but the plugin does not show up in the preferences (github HEAD version of tt-rss): This is in the sytem/log window: E_USER_WARNING (512) classes/pluginhost.php:139 Plugin dilbert_large is not compatible with current API version (need: 2, got: 1) You have...
by jmozmoz
15 Apr 2013, 20:38
Forum: Support
Topic: Problem with rss.sciencedirect.com (and patch)
Replies: 7
Views: 4887

Re: Problem with rss.sciencedirect.com (and patch)

https://github.com/gothfox/Tiny-Tiny-RSS/commit/5e3d5480f7e154a897363770327001fe1b72f504 Wow, thank you! It works for me :D Just for reference. If somebody wants to remove all old (incomplete) articles from science direct, the following SQL command can be used: DELETE FROM `ttrss_entries` WHERE gui...
by jmozmoz
15 Apr 2013, 19:13
Forum: Support
Topic: Problem with rss.sciencedirect.com (and patch)
Replies: 7
Views: 4887

Re: Problem with rss.sciencedirect.com (and patch)

>Actually no. Everything that is still in the feed XML will be reimported. Just an idea: There are SQL functions for sha1 in mysql and postgresql. Wouldn't it be possible to use them during an update of tt-rss to recalculate the guid? Otherwise: Would it be possible to create a new hook in rssfuncs...
by jmozmoz
15 Apr 2013, 18:55
Forum: Support
Topic: Problem with rss.sciencedirect.com (and patch)
Replies: 7
Views: 4887

Re: Problem with rss.sciencedirect.com (and patch)

Do you realize how many dupes changing guid causes? It happened exactly once and caused massive outrage already. Actually no. You can make a plugin to mangle guid in the specific feed, btw. Do you mean with an plugin that hook into HOOK_ARTICLE_FILTER? In include/rssfuncs.php there are the followin...
by jmozmoz
15 Apr 2013, 18:32
Forum: Support
Topic: Problem with rss.sciencedirect.com (and patch)
Replies: 7
Views: 4887

Problem with rss.sciencedirect.com (and patch)

Hi, feeds from rss.sciencedirect.com are distributed in a way that tt-rrs does not show all articles. The problem is caused by the guid column of the table ttrss_entries being to short so that different article get the same guid and are filtered out: This feed: http://rss.sciencedirect.com/publicati...

Go to advanced search