epub-full-text-search icon indicating copy to clipboard operation
epub-full-text-search copied to clipboard

Indexing zipped epubs

Open larsvoigt opened this issue 9 years ago • 1 comments

larsvoigt avatar Dec 03 '15 12:12 larsvoigt

This would probably require some refactoring ?

The simplest way as I see it would be to enable unzip in EpubMetaDataParser.getMetaData to temporary directory

Though if someone would point writeToIndex to a large set of zipped files, that would be very suboptimal, so the better way would be to create a list of dirs that are unziped epubs and zipped epubs, pass it down and the act on each entry accordingly - if it's zipped: unzip, extract metadata. index, if it's unziped: extract metadata, index

gytisgreitai avatar Sep 23 '18 19:09 gytisgreitai