akrennmair / newsbeuter

Newsbeuter is an open-source RSS/Atom feed reader for text terminals.
http://www.newsbeuter.org/
MIT License
780 stars 97 forks source link

TinyTinyRSS not working anymore #64

Closed projectdelphai closed 11 years ago

projectdelphai commented 11 years ago

Because Google Reader's support is being dropped soon, I've been trying to get TinyTinyRSS working. I can access it online, but when I try and run newsbeuter it hangs after "Loading URLS from Tiny Tiny RSS . . .". I ran

newsbeuter -l 6 -d log

and the log file says that the returns json records me as not logged in:

DEBUG: ttrss_api::run_op(login,...): reply = {"seq":null,"status":1,"content":{"error":"NOT_LOGGED_IN"}}

After looking that the TinyTinyRSS wiki, I noticed that support for the http api has been dropped since 1.6.0. Instead of

http://example.dom/path/to/tt-rss/api/?op=login&user=you&password=xxx

which when I run it through curl, gets me the error message, they want the query to be like this:

curl -d '{"op":"login","user":"you","password":"xxx"}' http://example.dom/tt-rss/api/

When I try this way, I get a json back that is successful.

I would appreciate it if someone could fix this.

skn commented 11 years ago

The git code already has support for JSON. So if you checkout the git code and compile it yourself, you will be set to go.

I guess it is a reminder to akrennmair that the last official release (2.5) was way back in Jan 2012!

akrennmair commented 11 years ago

@skn yep, I agree. It's definitely time for a new release.

@projectdelphai as mentioned, use the latest version in the git repository. It contains support for the new TinyTinyRSS API.