Closed dakra closed 1 year ago
Hi,
This is an interesting idea, but it raises a lot of questions, and would not be simple to implement. The package does not currently save any data to disk, and implementing a cache with synchronization would be a big undertaking.
However, I do have some very basic code that you might find useful here: https://github.com/alphapapa/org-pocket/blob/master/org-pocket.el
You can customize the org-pocket-capture-file
option to an Org file you want to capture to, then customize org-pocket-capture-tag
to a tag you apply to items you want to capture (by default, capture
), then call org-pocket-capture-items
, and it will save up to 10 items to that Org file, and mark each one as archived when it's done.
Perhaps with your help, we can improve this code and make it a worthy addition to this package, or a helpful addon package. Let me know what you think.
I wouldn't overthink the 'sync' part too much.. Just store all articles in it's own file (I personally don't even care about removing items because I want to keep them archived anyway), wouldn't that be good enough and relatively easy to maintain?!
Then some option/command to not download the article but instead jump to the file (or always download and open file if some setting is set).
Did you not look at org-pocket?
I had a quick look and looks useful to quickly store some articles.. But it's not really "integrated" in pocket-reader
, i.e. it's a separate org file. And I was thinking storing all articles in only 1 org file instead of a directory makes syncing way harder I guess..
Maybe I'll play around with it a bit and will give feedback what works for me.
Thanks for the package!
If you prefer separate files, it would be easy to make that change to org-pocket.
Integrating this kind of functionality into pocket-reader is likely not as straightforward as it seems. Some examples:
I hope this illustrates how integrating this kind of functionality is relatively complex for the benefit it would bring. Maybe you can help me think through it and come up with a simple approach, but so far, I think org-pocket is close to the best way to do it. I welcome your feedback.
Thanks.
Would be nice if there where an option to download and save all articles so I can browse and view them offline.