View Single Post
Old 09-30-2017, 12:26 AM   #3
rickhan
Enthusiast
rickhan began at the beginning.
 
Posts: 35
Karma: 10
Join Date: Jul 2010
Device: PC
Thank you.
Also found a cmd script on stackoverflow that I modified:

@echo off
echo ^<html^> > toc
for %%i in (*.htm) do echo ^<a href="./%%~nxi"^>%%~ni^</a^>^<br/^> >> toc
for %%i in (*.jpg) do echo ^<a href="./%%~nxi"^>%%~ni^</a^>^<br/^> >> toc
echo ^</html^> >> toc
ren toc toc.html
pause

Makes it much faster to get the basic file. Then edit with notepad++ and rename the toc.html file to author-title.html, and then import the file into Calibre.
rickhan is offline   Reply With Quote