omnivore-app / logseq-omnivore

Logseq plugin to fetch articles and highlights from Omnivore
MIT License
279 stars 15 forks source link

Not all articles fetched #42

Closed ms3056 closed 1 year ago

ms3056 commented 1 year ago

This might be operator error - so apologies in advance - but I have about 20 articles in Omnivore, they were all mostly brought in around the same day or so (I am new to Omnivore) — your plugin is only bringing in 2 articles. I have tried several different filters - including Advanced and in:all: and in:all and so on.

This might be something that is working as intended and my articles are tagged wrong or something, but I wanted to ask.

jacksonh commented 1 year ago

Thanks for reporting @ms3056 Do you mind telling me your Omnivore username?

ms3056 commented 1 year ago

Hi - my username is HiroMike

ms3056 commented 1 year ago

I've solved this by going through each article, deleting the tag, re-entering the tag. Since I touched the articles this way, the plugin in Logseq pulled the older articles in.

New articles seem to come in fine. I suspect people who have a large Omnivore collection of content that turns the plugin on will be mildly frustrated if they have to touch every article. For me it was 10 articles so no worries.

Let me know if there is anything I can check - I hope this description helps you narrow down the issue.

jacksonh commented 1 year ago

Thanks @ms3056 -- just trying to figure out why this occurred. Did you happen to setup the logseq-plugin before you had Omnivore setup? It should automatically sync all your articles the first time, but for some reason here I think your last synced time was after the article's most recent update.

jacksonh commented 1 year ago

Adding @sywhb here to help diagnose.

ms3056 commented 1 year ago

@jacksonh — I had Omnivore setup with about 6 articles BEFORE I installed the Logseq plugin. I installed Omnivore on about the 10th of August I believe, and I then installed the Logseq plugin on 13th August. Articles pushed into Omnivore on the 13th (and subsequently) came in fine. I couldn't get articles from the 10th, 11th or 12th to come in until I did the trick where I unset and reset the labels.

jacksonh commented 1 year ago

Thanks @ms3056 this case certainly should be supported. We will do some more testing. Really appreciate you digging in and figuring out these details.

ms3056 commented 1 year ago

Another thought. For some of the articles I had opened them on my iPhone in Raindrop.io and did a "open in" Omnivore on the iPhone. While I saw these articles fine in Omnivore perhaps a property came over - these articles were months old.

sywhb commented 1 year ago

Hey @ms3056, thanks for reporting! I have been looking into the logs and it seems the first time you were trying to fetch all the highlights which is the default option of the plugin and it overwrote the syncAt to the current timestamp so when you try to fetch all the articles, it wouldn't bring the "old" articles saved before syncAt.

We are working on a solution to this problem by allowing users to "re-sync" all the articles and before we ship it, you could clear the "syncAt" timestamp and sync all the articles manually.

Screenshot 2022-08-16 at 12 03 06 PM

cc @jacksonh

ms3056 commented 1 year ago

Thanks for working with me on this! Everything is syncing nicely now, as far as I can tell!

On Tue, Aug 16, 2022 at 1:06 PM Hongbo Wu @.***> wrote:

Hey @ms3056 https://github.com/ms3056, thanks for reporting! I have been looking into the logs and it seems the first time you were trying to fetch all the highlights which is the default option of the plugin and it overwrote the syncAt to the current timestamp so when you try to fetch all the articles, it wouldn't bring the "old" articles saved before syncAt .

We are working on a solution to this problem by allowing users to "re-sync" all the articles on the menu and before we ship it, you could clear the "syncAt" timestamp and sync all the articles manually. [image: Screenshot 2022-08-16 at 12 03 06 PM] https://user-images.githubusercontent.com/12963965/184795665-a0cc5b28-0801-4d35-8dd9-4bfeef4be3ef.png

cc @jacksonh https://github.com/jacksonh

— Reply to this email directly, view it on GitHub https://github.com/omnivore-app/logseq-omnivore/issues/42#issuecomment-1216119448, or unsubscribe https://github.com/notifications/unsubscribe-auth/AFU5HPGSYLA6UNUZAWSNCMDVZMHTDANCNFSM56O7AFOA . You are receiving this because you were mentioned.Message ID: @.***>