Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ot does not work correctly. #10

Closed
noinnion opened this issue Jul 22, 2013 · 5 comments
Closed

ot does not work correctly. #10

noinnion opened this issue Jul 22, 2013 · 5 comments

Comments

@noinnion
Copy link

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.

@krasnoukhov
Copy link
Contributor

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

@noinnion
Copy link
Author

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.

@krasnoukhov
Copy link
Contributor

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.

@krasnoukhov
Copy link
Contributor

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.

@noinnion
Copy link
Author

Thank you very much

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants