obsidian-pocket
obsidian-pocket copied to clipboard
Display Pocket-Highlights
Implemented the necessary code to display highlighted areas of a pocket item. To make it work I needed to use a static CONSUMER_KEY
which allows the return of the annotations-Array within the response.
Fixes: #106
TODO:
- [ ] The ordering of the highlights should reflect the read-direction (first highlight should be the top-most highlight in the pocket item)
- [ ] Test across devices
I don't see any way to retrieve highlights with the current pocket API. Could you explain how you are able to do it with your PR?
Yes, the official pocket api doesn't allow for that. But if you use the consumer-key I provided within the pull-request, you will magically get the highlights in the response (similar as in the web-version of pocket). Obviously, that might not be the most stable approach but it works (for now).
Ah got it! Thanks for the explanation. It is a pity that they don't provide an official API for this :/
On an unrelated note, I am considering moving to omnivore as it provides everything I need. The team also provides obsidian integration which can import highlights (plugin), etc. And most importantly, it is open source as well!
Tbh, I canceled my pocket subscription and migrated over to Readwise. The reader tool (which is in beta) is superb and the Obsidian integration is really good + there is a ChatGPT 3.5 integration to summarize articles. It is a bit more pricy but it is totally worth it. My workflow was: tagging the article, reading it (and highlighting) and then take additional notes in obsidian.
Regarding this project here, it means I won't need this plugin anymore.
Thanks for the information about readwise.
I hope to get there with omnivore and cancel my subscription with pocket as well.