aristippe / pathagar

Pathagar is a simple bookserver serving OPDS feeds
GNU General Public License v2.0
1 stars 1 forks source link

Optimize import #11

Closed aristippe closed 8 years ago

aristippe commented 8 years ago

Currently, the entire ePub is unzipped when importing to retrieve metadata. Batch importing, particularly when it includes large ePubs, could see a great gain in speed, perhaps helpful when successively testing large numbers of imports, if we unzip only the needed files. They would be:

  1. META-INF/container.xml - contains location of OPF
  2. .opf - also contains location of cover
  3. cover - unzip only if an image file
sinergatis commented 8 years ago

Closed on #17!