theoldreader / api

The Old Reader API

Home Page:https://theoldreader.com

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

ot does not work correctly.

noinnion opened this issue · comments

Here is another problem with ot. I used the request to fetch all unread items:
https://theoldreader.com/reader/api/0/stream/contents?output=json&client=scroll&ck=1374506103757&s=user%2F-%2Fstate%2Fcom.google%2Freading-list&xt=user/-/state/com.google/read&n=10&r=o

As you can see for ck parameter that the sync time is 1374506103757. On my example there are 3 unread items. After a while when I see new items displaying in TOR online (total = 4) I used this request to fetch the 1 new item:
https://theoldreader.com/reader/api/0/stream/contents?output=json&client=scroll&ck=1374506411000&s=user%2F-%2Fstate%2Fcom.google%2Freading-list&xt=user/-/state/com.google/read&n=10&r=o&ot=1374506103

Here I set ot to the last sync time 1374506103 but there is no new items on the output. Could you check it please.

Could you please specify published time of 3 and 1 items you are trying to fetch?

https://theoldreader.com/reader/api/0/stream/contents?output=json&client=scroll&ck=1374507822735&s=user%2F-%2Fstate%2Fcom.google%2Freading-list&xt=user/-/state/com.google/read&n=1000&r=o

  1. item: "id": "tag:google.com,2005:reader/item/51ed29c98e49d0d5ba010abf", "published": 1374495992, "updated": 1374495992, "crawlTimeMsec": "1374495992000",
  2. item: "id": "tag:google.com,2005:reader/item/51ed4496d5d565d7b4007d6b", "published": 1374500803, "updated": 1374500803, "crawlTimeMsec": "1374500803000"
  3. item: "id": "tag:google.com,2005:reader/item/51ed51480d82a69572008785", "published": 1374507000, "updated": 1374507000, "crawlTimeMsec": "1374507000000",

https://theoldreader.com/reader/api/0/stream/contents?output=json&client=scroll&ck=1374507822735&s=user%2F-%2Fstate%2Fcom.google%2Freading-list&xt=user/-/state/com.google/read&n=1000&r=o&ot=1374507822

output: no new items
it should return:
4. item: "id": "tag:google.com,2005:reader/item/51ed54bed1716cde0e006a69", "published": 1374507720, "updated": 1374507720, "crawlTimeMsec": "1374507720000",

It think you should sort the items by crawlTime (not publishedTime). Seems that crawlTime is earlier than my sync time. But why it is not shown on the first sync.

Got your point. We already have a fix that will be deployed in next few days, I will let you know when this will be done.

I'm happy to let you know that this is fixed. Sorry that it took too long. Please note that it reflects on new content since now.

Thank you very much