Register Guidelines E-Books Today's Posts Search

Go Back   MobileRead Forums > E-Book Software > Calibre

Notices

Reply
 
Thread Tools Search this Thread
Old 06-09-2009, 12:24 AM   #1
red_five
Junior Member
red_five began at the beginning.
 
Posts: 3
Karma: 10
Join Date: Jun 2009
Device: Sony PRS-700
Question Problem converting HTML files to LRF

I've been using Calibre for several months, and I love it. I hate that it can't work with LRX files, but that's Sony's fault.

I know I've done this before in older versions of Calibre (0.4.x), but I can't make it work now in 0.5.14. I've got a batch of HTML files that I want to convert to LRF to put on my PRS-700. I have a TOC page with links to all the files, and there is nothing strange in the files themselves (I did extensive processing with sed to make sure of that). When I add the TOC file to Calibre and convert it, I get only the first file converted to LRF, no TOC pages, and no pages from any of the other files. Specifically, these files are the text of the Bible which I grabbed from the Web and processed to remove extraneous links and JavaScript. I have 66 files, one for each book, and the TOC file, but only Genesis is making it into the LRF. I had also tried this using one chapter per HTML file, and 2 or 3 layers of TOC, but in that case I would only get Genesis chapter 1, and still no TOC pages.

I know this worked in 0.4.x, because I did it with Philippians (albeit one chapter per HTML file). Has anyone made this conversion successfully in 0.5.14 (not necessarily the Bible; any multi-file conversion will do)?
red_five is offline   Reply With Quote
Old 06-09-2009, 12:36 AM   #2
kovidgoyal
creator of calibre
kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.
 
kovidgoyal's Avatar
 
Posts: 43,842
Karma: 22666666
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
When you add the TOC file to calibre, it should be creating a zip file with all linked files. Is it and are all the referenced files in the zip file?
kovidgoyal is offline   Reply With Quote
Advert
Old 06-09-2009, 03:03 AM   #3
sherman
Guru
sherman ought to be getting tired of karma fortunes by now.sherman ought to be getting tired of karma fortunes by now.sherman ought to be getting tired of karma fortunes by now.sherman ought to be getting tired of karma fortunes by now.sherman ought to be getting tired of karma fortunes by now.sherman ought to be getting tired of karma fortunes by now.sherman ought to be getting tired of karma fortunes by now.sherman ought to be getting tired of karma fortunes by now.sherman ought to be getting tired of karma fortunes by now.sherman ought to be getting tired of karma fortunes by now.sherman ought to be getting tired of karma fortunes by now.
 
Posts: 850
Karma: 2641698
Join Date: Aug 2008
Location: Taranaki - NZ
Device: Kobo Aura H2O, Kobo Forma
Try (re)naming the TOC file index.htm(l).

I found for some reason when I had this situation when I tried to add the TOC file it would only give me the 1st link/chapter/file, yet when I renamed it to index.html it all worked perfectly.

(do this before importing the book into calibre)
sherman is offline   Reply With Quote
Reply

Tags
calibre, conversion, html, lrf


Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Error when converting html to LRF Amalthia Calibre 1 11-18-2009 09:07 AM
Problem Converting Book Designer HTML to LRF Phonella Calibre 6 10-22-2009 01:21 PM
align="right" problem converting html to lrf flowoeB Calibre 0 10-06-2009 07:30 AM
Problem converting .lit to.lrf corroonb Calibre 0 07-25-2009 05:14 AM
Problem converting a webpage html to LRF, what program should I use? Long page turns seajewel Workshop 1 08-01-2008 06:32 AM


All times are GMT -4. The time now is 06:15 AM.


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