-
-
Notifications
You must be signed in to change notification settings - Fork 1.1k
Description
Hello,
I am writing an Android RSS client with FreshRSS support and I encountered a problem when syncing items using Greader API.
I would like to get from the server items which read state has been modified. Let's say I synchronize my items list with my Android client. Then, I mark some items as read in the web client. I would like to make notice the mobile client that several items have been marked as read.
I already know that if an item contains user/-/state/com.google/read in the categories field in the returned json, like that :
"categories": [
"user/-/state/com.google/reading-list",
"user/-/label/IT",
"user/-/state/com.google/read"
]
it is read an I can mark it as read in the mobile client database.
When fetching items with reader/api/0/stream/contents/user/-/state/com.google/reading-list end point and the parameter ot (unix timestamp), I can get new items, and, if they have been read before the mobile client fetch them, they will have user/-/state/com.google/read in their categories field. But if I mark an item older than the ot parameter as read, I won't get it.
Am I missing something which could solve this problem ? If not, Is there anything doable for this ?
Otherwise, thanks for this awesome project that is FreshRSS !