Git Product home page Git Product logo

tinytinyrss-fever-plugin's Introduction

TinyTinyRSS Fever API plugin

See also Fever API

Description

This plugin is an open source module for TinyTinyRSS which simulates the Fever API for reading the RSS Feeds with your Fever clients.


Following Features are implemented:

  • getting new RSS items
  • getting starred RSS items
  • setting read marker for item(s)
  • setting starred marker for item(s)
  • hot is not supported

Please click on releases button to download the latest stable version. Or click the Download ZIP button to download the edge version. ;)

These clients should be working fine with this API emulation.

IMPORTENT Enable external API access in your TinyTinyRSS installation! Otherwise this will not work!

Upload the fever folder in the plugins folder of your TinyTinyRSS installation. Enable the plugin in the preferences and set your password for the Fever API.

See here for more detailed informations.

In the file fever_api.php there are two flags for debugging at the beginning of the file.

  • DEBUG - set this to true to get a fever_debug.txt file in your root folder of the Tiny Tiny RSS installation.
  • DEBUG_USER - set this to the id (from ttrss_users) of your user you would like to always authenticate on your Tiny Tiny RSS installation. The authentication process is then skipped and the api gets always authentication.
  • DEBUG_FILE - set this to a filename that suits you for debugging this plugin if you need to.

If you got problems with authentication after updating the plugin, try to reenter the password in TinyTinyRSS Fever plugin and save it again.

When you find an error you may post it in the plugin thread or here on github.com in the Issues section.

Please include your debug log which should be cleaned up. Please remove your username, password and apikey before posting it.

Licensed under GNU GPL version 2 (<- I think this is okay for this plugin…)

v1.0-v1.2 - 2013/5/27 - DigitalDJ version

  • see this thread in the TinyTinyRSS Forum

v1.3 - 2013/6/27

  • fixed several bugs in json output from the plugin
  • added a small fix for Mr.Reader 2.0 so it can complete loading of all items (see FAQ)
  • added first Mr.Reader compatiblity without marking items read/starred
  • changed the field date_entered to updated for better reading experience

v1.4 - 2013/6/28

  • fixed authentication with Mr.Reader 2.0
  • fixed debugging options

v1.4.1 - 2013/6/28

  • removed password from debug log file

v1.4.2 - 2013/6/28

  • changed the DEBUG_USER evaluation a little bit for disabling authentication without DEBUG = true

v1.4.3 - 2013/6/28

  • added DEBUG_FILE to debug configuration
  • changed authentication call from Mr.Reader so that the reply is also uppercase, since the API-KEY comes in uppercase from clients
  • fixed debug output while authentication in Mr.Reader with displaying the email adress

v1.4.4 - 2013/6/28

  • updated the documentation
  • changed some in saving the generated API-KEY - now its generated like in the Fever API documentation

v1.4.5 - 2013/6/29

  • fixed the cannot mark/star bug in Mr.Reader

v1.4.6 - 2014/1/15

  • merged bigger pull request to get more Fever API RSS Readers to work

v1.4.7 - 2014/1/15

  • added rewrite url function to module, since it was removed from tinytinyrss

tinytinyrss-fever-plugin's People

Contributors

abeestrada avatar akrabat avatar dasmurphy avatar wjchen avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

tinytinyrss-fever-plugin's Issues

Problems with auth_ldap

When combined with auth_ldap the fever plugin is unusable. The LDAP auth module creates user entries in the database with the login name not being the actual login name but some UUID code. Fever then takes this uuid and expects it as login name. However that login is never shown to the user and is not the name he uses for login in ttrss (also it is pretty hard to enter a uuid on a cell phone). When I take the uuid right out of the database and use it for login, the fever api works just fine.

I suggest to let the user also set the login name together with the password if an auth plugin other than internal is used.

Undefined function ccache_update() since latest updates to tt-rss code

Since the latest updates to the tt-rss code I'm getting this error about an undefined function. I'm not sure if this function used to be part of tt-rss and was deleted? It doesn't appear to be part of PHP.

2017/05/08 10:30:16 [error] 61785#0: *1051 FastCGI sent in stderr: "PHP message:
PHP Fatal error: Uncaught Error: Call to undefined function ccache_update() in /www/tt-rss/plugins.local/repos/fever/fever/fever_api.php:716
Stack trace:
#0 /www/tt-rss/plugins.local/repos/fever/fever/fever_api.php(724)$ FeverAPI->setItem(106359, 1, 0)
#1 /www/tt-rss/plugins.local/repos/fever/fever/fever_api.php(850)$ FeverAPI->setItemAsRead(106359, NULL)
#2 /www/tt-rss/plugins.local/repos/fever/fever/index.php(52): FeverAPI->index(NULL)
#3 {main}
thrown in /www/tt-rss/plugins.local/repos/fever/fever/fever_api.php on line 716" while reading response header from upstream, client: 10.10.10.10, server: www.example.com, request: "POST /tt-rss/fever/?api HTTP/1.1", upstream: "fastcgi://unix:/tmp/php-fpm.sock:", host: "example.com"

get_article_enclosures error

I am getting the following error with the latest version of tt-rss due to a change which uses an Article class for article functions.

2017/05/05 10:51:41 [error] 10#10: *25 FastCGI sent in stderr: "PHP message: PHP
 Fatal error:  Uncaught Error: Call to undefined function get_article_enclosures
() in /var/www/tt-rss/plugins.local/fever/fever_api.php:561

Submitted pull request to correct this: #25

"Query Failed" when changing password on Heroku

When trying to add a password the plugin throws Query failed []: c.

Is it possible add a password without the need to change it after installation?

Also, navigating to plugins/fever/ throws

HTTP Error 500 (Internal Server Error): An unexpected condition was encountered while the server was attempting to fulfil the request.

Hot Labels

Fever supports a Feed that is in some way "hot". Ttrss does not, but we have filters and Labels!
We could fill this gap by (optionaly) declaring a Label as "hot". Every feed item with this Label could be delivered in the hot categorie.
I think it could be a very elegant way to get more out of the Fever Api.

Network connection error on every sync with Press 1.5.4

I'm using:

  • Press 1.5.4 (on a Nexus 5 with Android M)
  • Tiny Tiny RSS v15.7
  • This plugin, from git master

On every sync, I get a toast message with "Network connection error".

Sync seems to work, partially (only some items get synced in).

Here are the HTTP logs from a sync session:

rss.rocketeer.be 94.225.203.40 - - - [13/Nov/2015:14:56:25 +0000] "POST /plugins/fever/?api&groups HTTP/1.1" 200 513 "-" "Dalvik/2.1.0 (Linux; U; Android 6.0; Nexus 5 Build/MRA58N)"
rss.rocketeer.be 94.225.203.40 - - - [13/Nov/2015:14:56:25 +0000] "POST /plugins/fever/?api&feeds HTTP/1.1" 200 4883 "-" "Dalvik/2.1.0 (Linux; U; Android 6.0; Nexus 5 Build/MRA58N)"
rss.rocketeer.be 94.225.203.40 - - - [13/Nov/2015:14:56:25 +0000] "POST /plugins/fever/?api&items&since_id=2000 HTTP/1.1" 200 116 "-" "Dalvik/2.1.0 (Linux; U; Android 6.0; Nexus 5 Build/MRA58N)"
rss.rocketeer.be 94.225.203.40 - - - [13/Nov/2015:14:56:25 +0000] "POST /plugins/fever/?api&items&since_id=2050 HTTP/1.1" 200 116 "-" "Dalvik/2.1.0 (Linux; U; Android 6.0; Nexus 5 Build/MRA58N)"
rss.rocketeer.be 94.225.203.40 - - - [13/Nov/2015:14:56:26 +0000] "POST /plugins/fever/?api&items&since_id=2100 HTTP/1.1" 200 116 "-" "Dalvik/2.1.0 (Linux; U; Android 6.0; Nexus 5 Build/MRA58N)"
rss.rocketeer.be 94.225.203.40 - - - [13/Nov/2015:14:56:26 +0000] "POST /plugins/fever/?api&items&since_id=2150 HTTP/1.1" 200 116 "-" "Dalvik/2.1.0 (Linux; U; Android 6.0; Nexus 5 Build/MRA58N)"
rss.rocketeer.be 94.225.203.40 - - - [13/Nov/2015:14:56:26 +0000] "POST /plugins/fever/?api&unread_item_ids HTTP/1.1" 200 108 "-" "Dalvik/2.1.0 (Linux; U; Android 6.0; Nexus 5 Build/MRA58N)"
rss.rocketeer.be 94.225.203.40 - - - [13/Nov/2015:14:56:26 +0000] "POST /plugins/fever/?api&saved_item_ids HTTP/1.1" 200 107 "-" "Dalvik/2.1.0 (Linux; U; Android 6.0; Nexus 5 Build/MRA58N)"
rss.rocketeer.be 94.225.203.40 - - - [13/Nov/2015:14:56:26 +0000] "POST /plugins/fever/?api&items&with_ids= HTTP/1.1" 500 5 "-" "Dalvik/2.1.0 (Linux; U; Android 6.0; Nexus 5 Build/MRA58N)"

The last one returns an HTTP 500 error.

Is there any way I can debug this?

Uncaught Error: Class 'CCache' not found

IP: 37.156.74.110Request URI: /plugins.local/fever/?apiUser agent: Reeder/4020.29.01 CFNetwork/1126 Darwin/19.5.0 (x86_64)

E_ERROR (1) | plugins.local/fever/fever_api.php:780 | Uncaught Error: Class 'CCache' not found in /var/www/ttrss/plugins.local/fever/fever_api.php:780 Stack trace: #0 /var/www/ttrss/plugins.local/fever/fever_api.php(790): FeverAPI->setItem() #1 /var/www/ttrss/plugins.local/fever/fever_api.php(936): FeverAPI->setItemAsRead() #2 /var/www/ttrss/plugins.local/fever/fever_api.php(911): FeverAPI->markId() #3 /var/www/ttrss/plugins.local/fever/index.php(70): FeverAPI->index() #4 {main} thrown

Unable to login with Reeder

Hi,

i've installed Tiny Tiny RSS with the fever API plugin on my server.
I'm unable to connect to the Fever API with Reeder on my Mac. Fallowing i've done already:

  • API access is enabled
  • Fever password is enabled
  • When I visit .../ttrss/plugins/fever/ I see {"api_version":3,"auth":0}

When i enable the debug i just get on line when i try to login:

parameter: {"api":"","api_key":"md5sum"}

I've checked the api_key with the value in the database for the user and it matches. Now i don't know what i can do to enable the feature.

Thanks

Regards
Manuel

Cannot Login from Reeder

I followed the instructions in the forum and yet cannot login. I transferred 1.4.4 into the plugins folder, enabled it in tt-rss, set my password, and attempted to login with the Reeder app, but it returns "Login Failed." My password is apparently incorrect, though I have made sure to set it to only three characters in order to eliminate the possibility of mis-typing it. I have retried about ten times to make sure I was typing the URL correctly, with the slash at the end and including the full http://www at the beginning, and once again without the www.

My directory is called "tinyrss" instead of "tt-rss" and is located in my www folder. Will this setup adversely affect my ability to use this plugin? Please advise.

Finally, thank you for writing this plugin. It is certainly going to help many transition from Google Reader.

Press sync read status

With the fix from @nixterrimus Press for Android can sync with TT-RSS but it doesn't sync the read status (when you read something with Press it isn't marked as that).

Wrong Timestamp of feeditems in Reeder

Hej dasmurphy,

Reeder shows a wrong timestamp. It shows the date/time when the feed was checked for every item in the feed, not the date/time when the feeditem was published.

The webinterface of tt-rss shows the right date/timestamp.

Best regards
Kuestenjunge

Mark as read /starring not working fully on Mr Reader

Using latest version (1.4.3)

Marking as read ONLY works when i use the checkmark on the top right corner.

Other methods of marking as read such as tapping to open the article does not work (once you refresh/sync, it is back as unread).

Starring also does not work.

Multiple accounts in Reeder

Hello,

Is it possible to have multiple accounts in Reeder that point to the same installation, but obviously different logins? I'm not sure if Reeder can't handle that. I've set it up, but I had no luck so far. (I figured I ask here first, because I don't think Silvio is going to answer.)

Thank you!

Feeds no longer sync to Reeder for iOS after updating TT-RSS and Fever

I recently updated to the most recent v17.4 of TT-RSS, and the most recent version of tinytinyrss-fever-plugin. Before updating everything worked 💯, and I was able to sync to Reeder 3 on iOS. Since updating, however, I'm no longer able to do so.

Everything is configured the same as before, and I've tried updating my fever password, but no dice.

  • API access is enabled
  • Fever password is enabled
  • When I visit .../tt-rss/plugins/fever/ I see {"api_version":3,"auth":0}

I'm not seeing any errors in Reeder, either, it just said "nothing synced yet," or something along those lines.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.