Here's my notes on this topic:
convert .mobi (and maybe .epub) files to text
apt-get libebook-tools-perl
mkdir foo
ebook unpack foo.mobi foo
w3m -dump foo/SOMETHING.html > foo.txt
or...
open them with fbreader and select everything with the mouse, copy, xclip -o, etc. Helps to s/^/\n/
fbreader is graphical (and horrible) but it doesn't take long to
copy/paste out of it. My goal is usually to get a plain txt file
that I can pipe through espeak.
--
Jason
Received on Tue May 26 2015 - 16:04:03 CEST