Open ParzivalWins opened 3 years ago
Hi. Thanks for raising the issue.
Interested too, how I would use it ideally: Fetch highlights that are tagged only (for me non-tagged highlights are worthless), push into some directory with the tag, thus I could search my knowledge on these tags along nice highlights
Hi. Thanks for raising the issue.
- Do you want to be able to sync particular types?
- Or do you want to split the highlights into different folders based on its type?
Hello @renehernandez 👋🏽
Thanks for your work on this plug-in. To your question above, Do you want to be able to sync particular types?
, this is what I'm really looking for. I mainly want to bring in only my notes from Airr (Podcasts) and having the ability to choose "All" or specific types/category to sync would be amazing. I think breaking it down into categories how Readwise has their Browse menu could be perfect: https://d.pr/i/rOua9m (I'm not sure if all of those apply, such as Supplemental Books)
think breaking it down into categories how Readwise has their Browse menu could be perfect..
I'll need to check if all the categories are available through the API
I'm going to add my +1 to this request. It would be beyond fantastic if the plugin could sort into category
parameter:
{
"id": 9967412,
"title": "The Joy of Missing Out",
"author": "nesslabs.com",
"category": "articles",
"num_highlights": 2,
"last_highlight_at": "2021-07-13T18:04:09Z",
"updated": "2021-07-13T18:16:53.234201Z",
"cover_image_url": "https://readwise-assets.s3.amazonaws.com/static/images/article3.5c705a01b476.png",
"highlights_url": "https://readwise.io/bookreview/9967412",
"source_url": "https://nesslabs.com/jomo",
"asin": null,
"tags": []
}
It would be awesome if we could get a settings parameter that would make the plugin sort highlights into their corresponding sub-folders.
I just did a quick-and-dirty test with my local copy of the plugin. It worked in my tests (but should probably be expanded with some error handling and such):
// src/fileDoc.ts
preparePath(storagePath = '') {
if (storagePath.length > 0 && storagePath.slice(-1) !== '/') {
storagePath = storagePath + '/';
}
let categoryPath = this.doc.category[0].toUpperCase() + this.doc.category.substr(1).toLowerCase();
storagePath = storagePath + categoryPath + '/'
return `${storagePath}${this.sanitizeName()}.md`;
}
Result were my highlights, sorted into folders ("Books", "Articles", "Tweets", etc.).
Hi. Thank you for an awesome plug-in. I wanted to make sure you were aware of this project. https://github.com/nicrivard/readwise2directory There's an ability to filter into folders articles, books, podcasts, tweets.