View Single Post
Old 02-26-2012, 12:04 PM   #5
itimpi
Wizard
itimpi ought to be getting tired of karma fortunes by now.itimpi ought to be getting tired of karma fortunes by now.itimpi ought to be getting tired of karma fortunes by now.itimpi ought to be getting tired of karma fortunes by now.itimpi ought to be getting tired of karma fortunes by now.itimpi ought to be getting tired of karma fortunes by now.itimpi ought to be getting tired of karma fortunes by now.itimpi ought to be getting tired of karma fortunes by now.itimpi ought to be getting tired of karma fortunes by now.itimpi ought to be getting tired of karma fortunes by now.itimpi ought to be getting tired of karma fortunes by now.
 
Posts: 4,553
Karma: 950151
Join Date: Nov 2008
Device: Sony PRS-950, iphone/ipad (Marvin/iBooks/QuickReader)
Quote:
Originally Posted by BookJunkieLI View Post
If I'm understanding the coding in the tutorial right I'm just telling the TOC file the names of the files I want to combine not the actual location.

Name <a href="file1.html">First File</a><br/>
versus
Location <a href="C:/My Documents/file2.html">Second File</a><br/>

So to me it seems if I import just the TOC and try to convert it I would end up with an epub of just the TOC file. Or am I missing something obvious?
The links in the TOC HTML must point to where the image files are located (and they must be local). The first option only works when the images are in the same folder as the TOC HTML file, while the second does not make this assumption.

You then simply add the TOC HTML file to Calibre. Calibre will follow any links pulling the files they reference into the eBook file, if necessary patching the paths to make them local to the book. The result is stored as a ZIP file in Calibre.
itimpi is offline   Reply With Quote