omnivore-app / obsidian-omnivore

Obsidian plugin to fetch articles and highlights from Omnivore
MIT License
757 stars 41 forks source link

Query to sync Article read after last sync #85

Open anandkumar89 opened 1 year ago

anandkumar89 commented 1 year ago

It'd be useful to sync only the articles which were annotated (or read) after last time omnivore synced with Obsidian. Currently, I can't figure out way to filter articles like that in advanced query.

two questions I've in this regard is -

  1. Is last_annotated statistics is maintained per article?
  2. Is last_annotated and last_synced accessible for query via API?

last_synced is stored and is visible in settings pane. Not sure how to access it though.

sywhb commented 7 months ago

Hey @anandkumar89 , sorry for the late reply. We don't have a last_annotated time available but we have the last read time. For example, you can search for the items read after "2023-12-09" by using read:2023-12-09 in the query.

By default we will also sync items updated after the last_sync time so you don't have to add it to the query.