Register Guidelines E-Books Today's Posts Search

Go Back   MobileRead Forums > E-Book Software > Calibre

Notices

Reply
 
Thread Tools Search this Thread
Old 11-22-2010, 02:50 PM   #31
Stash123
Junior Member
Stash123 began at the beginning.
 
Posts: 7
Karma: 10
Join Date: Nov 2010
Device: iPad
Quote:
Originally Posted by Starson17 View Post
I know the entry he's talking about, and it should work just fine. You just make an index.html, point it to the multiple html page or chapter files and add it to Calibre. Calibre grabs them all. You only need to add the one index file. I can't see any reason why it shouldn't have worked. A quick test is to click on your index.html, which should open in your browser and show the book, with all pages/cahpters.

I suggest he post the index.html file he created and the names of the page/chapter html files. There must be an error in the file.
Here's the current version of my index.html file :
<html>

<body>

<h1>Table of Contents</h1>

<p style="text-indent:0pt">

<a href="contents.htm">First File</a><br/>

<a href="ch1.htm">Third File</a><br/>

<a href="ch2.htm">Fourth File</a><br/>

<a href="ch3.htm">Fifth File</a><br/>

<a href="ch4.htm">Sixth File</a><br/>

<a href="ch5.htm">Seventh File</a><br/>

<a href="ch6.htm">Eighth File</a><br/>

</p>

</body>

</html>

I'm flying blind - I don't understand html, so Im only guessing at the meaning of the terms in the FAQ example. I first tried replacing "First File" with the file names of the chapters (not too smart), that was no good either.
Since there was no reference to the locations of the chapters, I assumed they needed to be input to Calibre so it knew where to find them. Or should I include a full path to the chapter files, and let Calibre pick them right off the Mac's file system? I didn't try that (yet?)
Stash123 is offline   Reply With Quote
Old 11-22-2010, 03:01 PM   #32
Starson17
Wizard
Starson17 can program the VCR without an owner's manual.Starson17 can program the VCR without an owner's manual.Starson17 can program the VCR without an owner's manual.Starson17 can program the VCR without an owner's manual.Starson17 can program the VCR without an owner's manual.Starson17 can program the VCR without an owner's manual.Starson17 can program the VCR without an owner's manual.Starson17 can program the VCR without an owner's manual.Starson17 can program the VCR without an owner's manual.Starson17 can program the VCR without an owner's manual.Starson17 can program the VCR without an owner's manual.
 
Posts: 4,004
Karma: 177841
Join Date: Dec 2009
Device: WinMo: IPAQ; Android: HTC HD2, Archos 7o; Java:Gravity T
Quote:
Originally Posted by Stash123 View Post
I'm flying blind - I don't understand html, so Im only guessing at the meaning of the terms in the FAQ example. I first tried replacing "First File" with the file names of the chapters (not too smart), that was no good either.
First, what is contents.htm? If you can click on that file and have it open with links to all the chapters in the whole book in your browser, then you don't need any of this stuff. Just drag that single file into Calibre and you'll be done.

I can help you fix this file, but I suspect you don't need to do any of this. The procedure you are following is to create an index.html (or contents.htm) when you don't already have one. It looks to me like you already have it.

Last edited by Starson17; 11-22-2010 at 03:04 PM.
Starson17 is offline   Reply With Quote
Advert
Old 11-22-2010, 04:58 PM   #33
Stash123
Junior Member
Stash123 began at the beginning.
 
Posts: 7
Karma: 10
Join Date: Nov 2010
Device: iPad
Quote:
Originally Posted by Starson17 View Post
First, what is contents.htm? If you can click on that file and have it open with links to all the chapters in the whole book in your browser, then you don't need any of this stuff. Just drag that single file into Calibre and you'll be done.

I can help you fix this file, but I suspect you don't need to do any of this. The procedure you are following is to create an index.html (or contents.htm) when you don't already have one. It looks to me like you already have it.
Maybe help to fix the file would be appreciated - I wouldn't mind learning more about what's going on.

I did as you suggested with the contents.htm file, which does, in fact, contain links to all of the Chapters files on the web (it's a NASA book). The ePub book that I got after Calibre conversion was the same contents file, with links intact - I could click on them to get to the web pages, but they were not actually incorporated into the book.

I could change the contents.htm file to point to the locations of the chapter files I've got downloaded on my computer, but I'm guessing I'd still get only links, not the files themselves?
Stash123 is offline   Reply With Quote
Old 11-22-2010, 05:48 PM   #34
Manichean
Wizard
Manichean is the 'tall, dark, handsome stranger' all the fortune-tellers are referring to.Manichean is the 'tall, dark, handsome stranger' all the fortune-tellers are referring to.Manichean is the 'tall, dark, handsome stranger' all the fortune-tellers are referring to.Manichean is the 'tall, dark, handsome stranger' all the fortune-tellers are referring to.Manichean is the 'tall, dark, handsome stranger' all the fortune-tellers are referring to.Manichean is the 'tall, dark, handsome stranger' all the fortune-tellers are referring to.Manichean is the 'tall, dark, handsome stranger' all the fortune-tellers are referring to.Manichean is the 'tall, dark, handsome stranger' all the fortune-tellers are referring to.Manichean is the 'tall, dark, handsome stranger' all the fortune-tellers are referring to.Manichean is the 'tall, dark, handsome stranger' all the fortune-tellers are referring to.Manichean is the 'tall, dark, handsome stranger' all the fortune-tellers are referring to.
 
Manichean's Avatar
 
Posts: 3,130
Karma: 91256
Join Date: Feb 2008
Location: Germany
Device: Cybook Gen3
Calibre only includes local files in the conversion, so you need to rewrite the contents.htm to include the local files. Use relative links.
Manichean is offline   Reply With Quote
Old 11-22-2010, 06:09 PM   #35
Starson17
Wizard
Starson17 can program the VCR without an owner's manual.Starson17 can program the VCR without an owner's manual.Starson17 can program the VCR without an owner's manual.Starson17 can program the VCR without an owner's manual.Starson17 can program the VCR without an owner's manual.Starson17 can program the VCR without an owner's manual.Starson17 can program the VCR without an owner's manual.Starson17 can program the VCR without an owner's manual.Starson17 can program the VCR without an owner's manual.Starson17 can program the VCR without an owner's manual.Starson17 can program the VCR without an owner's manual.
 
Posts: 4,004
Karma: 177841
Join Date: Dec 2009
Device: WinMo: IPAQ; Android: HTC HD2, Archos 7o; Java:Gravity T
Quote:
Originally Posted by Stash123 View Post
Maybe help to fix the file would be appreciated - I wouldn't mind learning more about what's going on.

I did as you suggested with the contents.htm file, which does, in fact, contain links to all of the Chapters files on the web (it's a NASA book). The ePub book that I got after Calibre conversion was the same contents file, with links intact - I could click on them to get to the web pages, but they were not actually incorporated into the book.

I could change the contents.htm file to point to the locations of the chapter files I've got downloaded on my computer, but I'm guessing I'd still get only links, not the files themselves?
You can either fix the contents.htm file to point to your local files, or fix your index.html to point to the local files. Relative links are best. If you use the index, you don't need the contents.htm file.
Starson17 is offline   Reply With Quote
Advert
Reply


Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Save to disk, opens folder, how to turn it off Dark123 Calibre 5 08-08-2010 09:02 AM
Specify alternate folder for save to device for Nook? bgalbrecht Calibre 1 07-08-2010 02:41 AM
Save to disk not in a single folder RandallFlagg Calibre 6 08-25-2009 02:02 AM
Creating multiple ebook formats from same source files! nrapallo Workshop 91 07-27-2009 03:54 AM
help finding folder on xp sp2 where files of ebook lib 2.5 go? atesta Sony Reader 4 01-20-2009 02:05 PM


All times are GMT -4. The time now is 07:09 AM.


MobileRead.com is a privately owned, operated and funded community.