stephanediondev / readerself

Replaced by a new version
https://github.com/stephanediondev/feed
Other
158 stars 26 forks source link

Question: API #52

Open 9mmtylenol opened 9 years ago

9mmtylenol commented 9 years ago

Is there an api or backend available to hook into Readerself? I didn't see an android app that works for Readerself and was wanting to make one as a learning project using material design, not to mention replacing my old rss hosted solution that was too bloated for my tastes that had an accompanying app.

stephanediondev commented 9 years ago

Sorry there is no api at present

A full rebuild is planned with server (only install, api and crawler) and separated client (html5, application cache, local storage, javascript templating ...) It's on my list, ready in some weeks

stephanediondev commented 9 years ago

Hi

Fever API integration is done http://feedafever.com/api It's the most famous (used by Tiny Tiny RSS)

stephanediondev commented 9 years ago

I tested with ReadKit on Mac It's good

On Android, I found Meltdown and Calenture Free Impossible to connect with Meltdown (the logs are ok) With Calenture Free I have feeds but no articles

Anyone know other Android app compliant with Fever ? (If someboy can test on iPhone/iPad, I don't have real device, only iOS simulator)

stephanediondev commented 9 years ago

After a restart it's ok with Meltdown

There was a problem with trailing comma Now it's ok with Calenture Free

9mmtylenol commented 9 years ago

I just tried syncing my feeds with Meltdown, Calenture and Press. Calenture and Press let me log in but no articles show up, just the feed titles. Meltdown shows an error for loging in but I'm sure it's connecting yet it doesn't show any articles either.

stephanediondev commented 9 years ago

Do you have access to your web server logs?

To check http status on "fever" calls

192.168.0.13 - - [23/Aug/2015:09:17:30 +0200] "POST /projects/readerself/readerself/fever/?api HTTP/1.1" 200 713 192.168.0.13 - - [23/Aug/2015:10:53:28 +0200] "POST /projects/readerself/readerself/fever/?api&groups HTTP/1.1" 200 666 192.168.0.13 - - [23/Aug/2015:10:53:28 +0200] "POST /projects/readerself/readerself/fever/?api&feeds HTTP/1.1" 200 1240 192.168.0.13 - - [23/Aug/2015:10:53:28 +0200] "POST /projects/readerself/readerself/fever/?api&unread_item_ids HTTP/1.1" 200 610 192.168.0.13 - - [23/Aug/2015:10:53:28 +0200] "POST /projects/readerself/readerself/fever/?api&items&with_ids=311,360,361,362,363 HTTP/1.1" 200 6713

9mmtylenol commented 9 years ago

[23/Aug/2015:23:09:30 +0000] "POST /fever/?api&groups HTTP/1.1" 200 1099 "-" "Dalvik/2.1.0 (Linux; U; Android 5.1.1; Nexus 5 Build/LVY48C)" [23/Aug/2015:23:09:31 +0000] "POST /fever/?api&feeds HTTP/1.1" 200 1608 "-" "Dalvik/2.1.0 (Linux; U; Android 5.1.1; Nexus 5 Build/LVY48C)" [23/Aug/2015:23:09:32 +0000] "POST /fever/?api&unread_itemids HTTP/1.1" 200 1384 "-" "Dalvik/2.1.0 (Linux; U; Android 5.1.1; Nexus 5 Build/LVY48C)" [23/Aug/2015:23:09:32 +0000] "GET /extension/background?=1440371372810 HTTP/1.1" 200 1013 "-" "Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/44.0.2403.157 Safari/537.36" [23/Aug/2015:23:09:33 +0000] "POST /fever/?api&items&since_id=100 HTTP/1.1" 200 1350 "-" "Dalvik/2.1.0 (Linux; U; Android 5.1.1; Nexus 5 Build/LVY48C)" [23/Aug/2015:23:09:33 +0000] "POST /fever/?api&items&since_id=0 HTTP/1.1" 200 58596 "-" "Dalvik/2.1.0 (Linux; U; Android 5.1.1; Nexus 5 Build/LVY48C)" [23/Aug/2015:23:09:33 +0000] "POST /fever/?api&items&since_id=50 HTTP/1.1" 200 1349 "-" "Dalvik/2.1.0 (Linux; U; Android 5.1.1; Nexus 5 Build/LVY48C)" [23/Aug/2015:23:09:33 +0000] "POST /fever/?api&items&since_id=150 HTTP/1.1" 200 1350 "-" "Dalvik/2.1.0 (Linux; U; Android 5.1.1; Nexus 5 Build/LVY48C)" [23/Aug/2015:23:09:33 +0000] "POST /fever/?api&items&since_id=200 HTTP/1.1" 200 1350 "-" "Dalvik/2.1.0 (Linux; U; Android 5.1.1; Nexus 5 Build/LVY48C)" [23/Aug/2015:23:09:34 +0000] "POST /fever/?api&unread_item_ids HTTP/1.1" 200 1384 "-" "Dalvik/2.1.0 (Linux; U; Android 5.1.1; Nexus 5 Build/LVY48C)" [23/Aug/2015:23:09:35 +0000] "POST /fever/?api&saved_item_ids HTTP/1.1" 200 1362 "-" "Dalvik/2.1.0 (Linux; U; Android 5.1.1; Nexus 5 Build/LVY48C)" [23/Aug/2015:23:09:35 +0000] "POST /fever/?api&items&with_ids=null HTTP/1.1" 200 1347 "-" "Dalvik/2.1.0 (Linux; U; Android 5.1.1; Nexus 5 Build/LVY48C)" [23/Aug/2015:23:09:36 +0000] "POST /fever/?api&links&range=7&offset=0&page=1 HTTP/1.1" 200 834 "-" "Dalvik/2.1.0 (Linux; U; Android 5.1.1; Nexus 5 Build/LVY48C)" [23/Aug/2015:23:09:37 +0000] "POST /fever/?api&links&range=7&offset=0&page=2 HTTP/1.1" 200 834 "-" "Dalvik/2.1.0 (Linux; U; Android 5.1.1; Nexus 5 Build/LVY48C)" [23/Aug/2015:23:09:37 +0000] "POST /fever/?api&links&range=7&offset=0&page=3 HTTP/1.1" 200 834 "-" "Dalvik/2.1.0 (Linux; U; Android 5.1.1; Nexus 5 Build/LVY48C)" [23/Aug/2015:23:09:37 +0000] "POST /fever/?api&links&range=7&offset=0&page=4 HTTP/1.1" 200 834 "-" "Dalvik/2.1.0 (Linux; U; Android 5.1.1; Nexus 5 Build/LVY48C)"

stephanediondev commented 9 years ago

I bought the "Press" application

It's was partial (6 articles instead of 15) And I checked in settings and found "days to sync unread and read items" It's ok with "1 month"

Are you sure that all your items are sufficiently recent? How many unread items do you have?

May be there is a bug with "0" in /fever/?api&items&since_id=0 (it's look like there is no unread articles so it start at 0)

9mmtylenol commented 9 years ago

I just subscribed the the this projects git rss feed and I have 20 unread items and I still don't have any showing up over the fever api.

9mmtylenol commented 9 years ago

screenshot_2015-08-25-14-38-27 screenshot_2015-08-25-14-58-45 Meltdown shows articles but Press is only syncing them without items just like Calenture.