11-06-2008, 01:46 PM | #1 |
Member
Posts: 19
Karma: 10
Join Date: Oct 2008
Device: Sony PRS-505
|
Can html2epub create the OPF & NCX files?
I ran feeds2disk to pull down some feeds. I want to remove some of the feeds and re-order and add in some other feeds to create an EPUB file. The original material is no longer available online so I'm working purely from the html files feeds2disk created. Is there a way to have html2epub recreate the OPF & NCX files so the table of contents is accurate if the proper relative links are there in the html files?
|
11-06-2008, 02:20 PM | #2 |
creator of calibre
Posts: 44,337
Karma: 23661992
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
|
feeds2disk creates opf and ncx files. And if you just pass the main html file to html2epub with the appropriate TOC creation options (you'll have to experiment) it should do the job.
|
Advert | |
|
11-10-2008, 12:10 PM | #3 |
Member
Posts: 19
Karma: 10
Join Date: Oct 2008
Device: Sony PRS-505
|
Thought I'd share the command-line options I used to generate a proper table of contents from a mix of feeds downloaded using feeds2disk. I first made sure the root index.html had proper links to each of the feeds' sub-directories' index.html files. Then I ran the following command on the root index.html file:
Code:
html2epub index.html --level1-toc=//*[@class="feed"] --level2-toc=//*[@class="article"] |
11-17-2008, 12:14 AM | #4 |
Junior Member
Posts: 7
Karma: 10
Join Date: Oct 2008
Device: epub
|
from where can I download html2epub
|
11-17-2008, 12:33 AM | #5 |
You kids get off my lawn!
Posts: 4,220
Karma: 73492664
Join Date: Aug 2007
Location: Columbus, Ohio
Device: Oasis 2 and Libra H2O and half a dozen older models I can't let go of
|
|
Advert | |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
[Old Thread] calibre not creating content.opf or toc.ncx files during conversion | foxxywith2xs | Calibre | 7 | 12-16-2012 07:49 PM |
Compiling HTML,NCX and OPF file | pakiyabhai | Calibre | 8 | 12-25-2009 11:12 AM |
HTML, NCX & OPF --> MESS | pakiyabhai | Workshop | 2 | 12-22-2009 10:43 AM |
html2epub and OPF files | ilovejedd | Calibre | 4 | 05-19-2009 03:52 PM |
Unable to create MAN page for opf-meta | AprilHare | Calibre | 5 | 11-28-2008 04:05 AM |