View Single Post
Old 06-05-2009, 10:57 AM   #8
=X=
Wizard
=X= ought to be getting tired of karma fortunes by now.=X= ought to be getting tired of karma fortunes by now.=X= ought to be getting tired of karma fortunes by now.=X= ought to be getting tired of karma fortunes by now.=X= ought to be getting tired of karma fortunes by now.=X= ought to be getting tired of karma fortunes by now.=X= ought to be getting tired of karma fortunes by now.=X= ought to be getting tired of karma fortunes by now.=X= ought to be getting tired of karma fortunes by now.=X= ought to be getting tired of karma fortunes by now.=X= ought to be getting tired of karma fortunes by now.
 
=X='s Avatar
 
Posts: 3,672
Karma: 12205348
Join Date: Mar 2008
Device: Galaxy S, Nook w/CM7
First version of the ePUB TOC calibre enhancer

Okay here is my first pass

ePub_TOC_enhancer.pl eBookName.epub

It also has a recursive mode just put the '-R' switch after the executable to update all ePubs in the current directory and all it's sub directories.


Code:
  usage: ePub_TOC_enhancer.pl eBookName.epub

        -h          : this (help) message
        -R          : Recursively search for ePUBs

  Example: ePub_TOC_enhancer.pl -R 
    Will recursively search for ePUBs in
    the current directory and all its children.

  Example: ePub_TOC_enhancer.pl MYeBook.epub YOUReBook.epub OUReBOOK.epub
    Will only fix the eBooks specified.
Attached Files
File Type: zip ePub_TOC_enhancer_v0.01.zip (1.6 KB, 140 views)
=X= is offline   Reply With Quote