Import group of html files to epub
I am trying to import a couple hundred html files into a single new epub.
I have created a toc as referenced elsewhere, with a list of each html file to be included. These file names include the path to the files to be imported, meaning there are multiple back slashes in the file names. Further, most of these files contain images, which are 2 or more folders deeper than the actual html files.
I am attempting to do this at the command line, but so far no luck in getting even one file into Calibre.
Here is an example of one line in the toc I created:
<a href="D:\++Cook Work\Paprika\Paprika\Recipes\Recipes\Apple Crumb Cake.html"></a>
What would help me is an example file that is correctly formatted for import with just a couple filenames, to make sure my format is correct.
And then, the exact command to issue on the command line. This is what I am using now:
^!Set %output%=^$GetOutput(ebook-convert "^%HtmlMgFile%" "^%EpubFile%")$
That exact command works to convert an epub to an htmlz file, but not my group of html files. All the files, including the toc are in the same folder, but each photo is in its own folder below that html file. The path to the images is in each file.
I've attached my toc file. (I think...not sure it worked)
|