View Single Post
Old 02-05-2012, 12:06 AM   #1
cptnemo
Enthusiast
cptnemo began at the beginning.
 
Posts: 35
Karma: 10
Join Date: Oct 2011
Device: Kindle 3
Converting website to epub

Hello,

I have tried during to few days to succesfully convert a website that I download to epub. But with no success.

This is what I have tried.

1) I mirrored the site with HTTrack. Job done, now my site is happily sitting in my hard drive divided in one subfolder for every html page: in total 1300 pages, 99,99% pure text very few immages.

2) I tried to import the web site in Calibre following the instruction given on Calibre's Guide (import the content page then convert to epub).
PROBLEM: Calibre does its job by moving all the html pages in one folder (the Text folder) changing the name of the pages but without changing internal links. That is, all the links connetting one page to the other within the site/epub are broken.
What steps should I follow to mantain my internal links? Doing the work manually is excluded (we are talking about 1300 pages). Do you know any software that will help me in moving and renaming (are all index.html) the page from subfolders to a root folder, without breaking the links?

Thanks!
cptnemo is offline   Reply With Quote