06-09-2009, 01:24 AM | #1 |
Junior Member
Posts: 3
Karma: 10
Join Date: Jun 2009
Device: Sony PRS-700
|
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)? |
06-09-2009, 01:36 AM | #2 |
creator of calibre
Posts: 44,564
Karma: 24495948
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?
|
Advert | |
|
06-09-2009, 04:03 AM | #3 |
Guru
Posts: 869
Karma: 2676800
Join Date: Sep 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) |
Tags |
calibre, conversion, html, lrf |
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Error when converting html to LRF | Amalthia | Calibre | 1 | 11-18-2009 10:07 AM |
Problem Converting Book Designer HTML to LRF | Phonella | Calibre | 6 | 10-22-2009 02:21 PM |
align="right" problem converting html to lrf | flowoeB | Calibre | 0 | 10-06-2009 08:30 AM |
Problem converting .lit to.lrf | corroonb | Calibre | 0 | 07-25-2009 06:14 AM |
Problem converting a webpage html to LRF, what program should I use? Long page turns | seajewel | Workshop | 1 | 08-01-2008 07:32 AM |