Quote:
Originally Posted by PA_kobo
"I downloaded the entire English epub collection from Project Gutenberg, and was hoping to put it as well as a Wikipedia ZIM file using a pre-4.0 OS (as mentioned here https://www.mobileread.com/forums/sh...d.php?t=276219) on a 128GB external card in my H2O (I was able to find an older ZIM file of the ebook collection, but searching it like an offline Wikipedia isn't really practical as it doesn't remember its place in books or list them).
|
Hi,
Reading books inside a zim file is very tedious. Also it's a very very big file because the zim contains multiple ebooks formats (epub, html, pdf). However it's possible to extract the epubs inside.
gutenberg_en_all_10_2014.zim = 42.8 GB
epubs inside = 6.8 GB
You save 36 GB... for a total of 38731 ebooks!
To extract the content:
http://www.openzim.org/wiki/ZimDump
After that you can sort the ebooks inside directories, for (dirty) example:
Code:
#!/bin/sh
./zimdump -D /your/working/directory gutenberg_en_all_10_2014.zim
cd /your/working/directory
for x in {A..Z}
do
mkdir $x
done
for y in {A..Z}
do
mv $y*.epub $y/
done
mkdir 0
for z in {0..9}
do
mv $z*.epub 0/
done
mkdir _
mv *.epub _/
Then you read with KOReader... Or repack it with only the epubs!
http://www.openzim.org/wiki/Build_your_ZIM_file
I know it's possible to download the Gutenberg Project with an epub filter, I never succeeded. So it was easier to download the already packed zim and to extract the epubs inside. And it's very painful to read books inside a zim file... And I use KOReader a lot...
I almost forgot... Kobo sqlite database could explode with all these ebooks, so I put them inside a hidden directory (Unix-like, which begins with a dot), ex: "
.Gutenberg_EN/".