Tinderbox Forum

Exporting From Kindle

What’s the best way to export highlighted passages and margin notes from Kindle to Tinderbox?

IMO, the best option here is Readwise.io. Nice export feature. Works in Safari + app
Syncs well for me with Kindle, https://readwise.io

Tom

1 Like

If you care to, you can use the share extension to share individual notes and quotations to Apple Notes, perhaps creating a Folder for a particular book, or one folder for all, and deal with it in TBX.

I’ve just tried the Kindle Mac app, and there are fewer sharing options (none) in that than the iPad app. For my purposes, the iPad offers the best experience in terms of sharing content from books I read in Kindle, whether to Apple Notes, or to Twitter and the like.

Just tried to screenshot a portion of a Kindle page (could have also used the Kindle Notebook for the source as well), thinking there would be some kind of Live Text prompt, but I didn’t see one. Text Sniper will capture text from a screenshot and place it on the clipboard where you can then paste it into a new note, or perhaps perform some automated action on it to send it to a note in Tinderbox.

1 Like

I’ve done this for a while …

  1. Sign into read.amazon.com/kp/notebook
  2. Split screen between notebook and tbx file
  3. Select multiple quotes from selected book
  4. Drag into tbx
  5. Explode note ( using some of the kindle text that separates each note typically “yellow index location …”
  6. stamp to add attributes of book/author etc…

A bit of a clunky workflow perhaps but pretty quick and the explode option by creating its own folder means you can safely experiment to get the splits right

Beautiful Soup Documentation — Beautiful Soup 4.9.0 documentation I have been contemplating using Beautiful soup to create a small python program to webscrape the kindle note book site as each highlight is tagged as <span id=“highlight”’> and so easy to extract

3 Likes

That’s good - thanks Tom

Do any of these work if the Kindle book has DRM?

Yes, I believe they all do.

My workflow is:

  1. Export the Kindle highlights from the iOS or iPadOS app in the HTML format. It’s the easiest one to process.
  2. Paste into a note in Tinderbox.
  3. Explode the note with the following settings:

Delimiter: \n(?=Highlight|Note|Bookmark)
Actions: action($Text("ExplodeCode"))

The body of the ExplodeCode note is the following. It’ll set the $Page, $KindleLocation, $Color, $Text, $Name and $Prototype:

$Page=runCommand("grep -o 'Page\s[0-9]*'",$Text).split("\W+").at(1);
$KindleLocation=runCommand("grep -o 'Location\s[0-9]*'",$Text).split("\W+").at(1);
var type;
type=runCommand("grep -oE '^Highlight|Note|Bookmark'",$Text).replace("^\s+").replace("\s+$");
if(type=="Highlight") {$Color=$Text.split("\n").at(0).replace("(Highlight\s\()(\w+)(\).*)", "$2")};
$Prototype="Kindle"+type;
$Text=$Text.replace("Highlight.*?\n");
$Name=$Text.split("\.").at(0).replace("\n");

Here’s a template with the whole setup:
Booknotes-alexchabot.tbx (1.1 MB)

3 Likes

Building on Tom’s answer, readwise is incredible because you can import so many other sources into readwise, i.e. Instapaper, iBooks, and even paper books.

Here is my workflow:

  1. All highlights go to readwise
  2. Readwise syncs to Obsidian — I get well formatted markdown files.
  3. If you want, you’d then be able to watch the folder of markdown files