makeepub是一款实用的电子书格式转换工具,可以方便用户将网上下载的html文档批量打包转换为epub格式,软件拥有转换、批处理、打包、解包、合并等操作,有需要的不要错过。
命令行:
转换(Create) : makeepub <VirtualFolder> [OutputFolder] [-epub2] [-noduokan]
批处理(Batch) : makeepub -b <InputFolder> [OutputFolder] [-epub2] [-noduokan]
makeepub -b <BatchFile> [OutputFolder] [-epub2] [-noduokan]
打包(Pack) : makeepub -p <VirtualFolder> <OutputFile>
解包(Extract) : makeepub -e <EpubFile> <OutputFolder>
合并(Merge) HTML : makeepub -mh <VirtualFolder> <OutputFile>
合并(Merge) Text : makeepub -mt <VirtualFolder> <OutputFile>
web服务器(Server) : makeepub -s [Port]
各参数含义如下
The meaning of the arguments are as below:
VirtualFolder : 一个文件夹(如example文件夹下的book文件夹)或zip文件(如example文件夹下的book.zip),里面包含要处理的文件。(An OS folder (for example: folder book in folder example) or a zip file(for example: book.zip in folder example) which contains the input files.)
OutputFolder 一个文件夹,用于保存输出文件。(An OS folder to store the output file(s).)
InputFolder : 一个文件夹,里面有输入文件或文件夹。(An OS folder which contains the input folder(s)/file(s).)
-epub2 : 默认生成EPUB3格式的文件,使用此参数将生成EPUB2格式的文件。(By default, the output file is EPUB3 format, use this argument if EPUB2 format is required.)
-noduokan : 禁用 多看 扩展。(Disable DuoKan externsion.)
BatchFile : 一个文本文件,里面列出了所有要处理的VirtualFolder,每行一个。(A text which lists the path of 'VirtualFolders' to be processed, one line for one 'VirtualFolder'.)
OutputFile : 输出文件的路径。(The path of the output file.)
EpubFile : 一个epub文件的路径。(The path of an EPUB file.)
Port : Web服务器的监听端口,默认80。(The TCP port for the web server to listen to, default value is 80.)