View Single Post
Old 11-05-2011, 05:07 PM   #1
webdad
Junior Member
webdad began at the beginning.
 
Posts: 4
Karma: 10
Join Date: Nov 2011
Device: Kindle 2nd Gen
Question HTML file doesn't import to ZIP

I'm trying to convert a collection of downloaded HTML pages to an ebook. The pages are downloaded to a directory with corresponding subdirectories for the "complete" portion of each page.

page80.html
page81.html
page80_files <--- Subdirectory
page81_files <--- Subdirectory

I have the following "TOC" HTML file in the same main directory:

<html>
<body>
<h1>Table of Contents</h1>
<p style="text-indent:0pt">
<a href="./page80.html">80</a><br/>
<a href="./page81.html">81</a><br/>
</p>
</body>
</html>

When I drag the TOC file into Calibre, it comes in as just an HTML file. No corresponding ZIP file containing the TOC file, the sub pages, and the sub page contents is created.

When I open the TOC file in the Calibre viewer and examine the href links, they resolve to a temp directory in C:\users\...appdata ... yada yada yada\page80.html, which isn't where the files are truly located.

So, for some reason, Calibre isn't getting the member pages nor the contents of the subdirectories into the zip files. Would an error in the underlying page files' HTML format cause this or any ideas how to find out what the issue is?

I've looked through msgs/thread here but haven't seen this type of issue.

Thanks.
webdad is offline   Reply With Quote