Register Guidelines E-Books Today's Posts Search

Go Back   MobileRead Forums > E-Book Software > Calibre

Notices

Reply
 
Thread Tools Search this Thread
Old 12-22-2009, 08:38 PM   #1
pakiyabhai
Zealot
pakiyabhai began at the beginning.
 
Posts: 129
Karma: 14
Join Date: Dec 2007
Device: pakiyabhai
Compiling HTML,NCX and OPF file

I have got one ebook from a friend in .RAR format.

Extracting it , presents me
book.html
book.ncx
book.opf
cover.jpg
folder called images with images inside.

Although I am able to drag just the html to calibre and it works fine , I want to know what are the other files for , am I to compile them ? EPUB ?
pakiyabhai is offline   Reply With Quote
Old 12-22-2009, 09:41 PM   #2
slm
Fool
slm ought to be getting tired of karma fortunes by now.slm ought to be getting tired of karma fortunes by now.slm ought to be getting tired of karma fortunes by now.slm ought to be getting tired of karma fortunes by now.slm ought to be getting tired of karma fortunes by now.slm ought to be getting tired of karma fortunes by now.slm ought to be getting tired of karma fortunes by now.slm ought to be getting tired of karma fortunes by now.slm ought to be getting tired of karma fortunes by now.slm ought to be getting tired of karma fortunes by now.slm ought to be getting tired of karma fortunes by now.
 
Posts: 377
Karma: 3557934
Join Date: Feb 2003
Device: Kindle Voyage, Kindle PW1, Kobo Glo HD, Nook Glowlight Plus ...
Quote:
Originally Posted by pakiyabhai View Post
I have got one ebook from a friend in .RAR format.

Extracting it , presents me
book.html
book.ncx
book.opf
cover.jpg
folder called images with images inside.

Although I am able to drag just the html to calibre and it works fine , I want to know what are the other files for , am I to compile them ? EPUB ?
You would find a similar group files if you unzipped an EPUB. Or decompiled a lit file. or decompiled a Mobi file. The "opf" file is the project file for any open ebook-style format. It contains references to all of the information in the other files.

Calibre will convert from the opf file if you let it and this is likely to produce the best conversion.
slm is offline   Reply With Quote
Advert
Old 12-22-2009, 10:52 PM   #3
pakiyabhai
Zealot
pakiyabhai began at the beginning.
 
Posts: 129
Karma: 14
Join Date: Dec 2007
Device: pakiyabhai
I am not getting the option to add .opf file to calibre ,only .html file it can take
pakiyabhai is offline   Reply With Quote
Old 12-22-2009, 11:01 PM   #4
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,850
Karma: 22666666
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
just add the rar file, the opf will be used automatically
kovidgoyal is offline   Reply With Quote
Old 12-23-2009, 02:49 AM   #5
pakiyabhai
Zealot
pakiyabhai began at the beginning.
 
Posts: 129
Karma: 14
Join Date: Dec 2007
Device: pakiyabhai
WHen I add the rar file directly , although the file name is detected, no tags , even when I try to preview the ebook , it just opens the rar file for me.
pakiyabhai is offline   Reply With Quote
Advert
Old 12-23-2009, 09:52 AM   #6
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,850
Karma: 22666666
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
metadata wont be read, but during conversion the OPF file will be used.
kovidgoyal is offline   Reply With Quote
Old 12-24-2009, 04:45 AM   #7
pakiyabhai
Zealot
pakiyabhai began at the beginning.
 
Posts: 129
Karma: 14
Join Date: Dec 2007
Device: pakiyabhai
maybe I am not following you .

Kovidgoyal , I drag my .RAR archive into calibre, it detects the name and the author of the file.

BUT

When i right click and say view file , nothing happens.

ALSO

Sending the same file to my device , sends the .RAR file and not any epub.

It's treating the ebook as an archive now.

How do I add the file to calibre , that all the .ncx , .opf and html are utilised ?
pakiyabhai is offline   Reply With Quote
Old 12-24-2009, 05:27 AM   #8
mrmikel
Color me gone
mrmikel ought to be getting tired of karma fortunes by now.mrmikel ought to be getting tired of karma fortunes by now.mrmikel ought to be getting tired of karma fortunes by now.mrmikel ought to be getting tired of karma fortunes by now.mrmikel ought to be getting tired of karma fortunes by now.mrmikel ought to be getting tired of karma fortunes by now.mrmikel ought to be getting tired of karma fortunes by now.mrmikel ought to be getting tired of karma fortunes by now.mrmikel ought to be getting tired of karma fortunes by now.mrmikel ought to be getting tired of karma fortunes by now.mrmikel ought to be getting tired of karma fortunes by now.
 
Posts: 2,089
Karma: 1445295
Join Date: Apr 2008
Location: Central Oregon Coast
Device: PRS-300
Convert to epub

I hope I understand your question correctly. Kovid will no doubt respond as well, but it quite early here in the States.

Highlight the line showing the book title and author and press the convert E books button. Make sure the drop down box in the upper right shows epub and press ok.

Then the book will be converted. Next I press save the book to disk button so I can locate it easily to transfer it to my mobile device. You can transfer the file directly using the send to device button.

Since I had the Sony software before I had calibre, I use the Sony software to transfer the book(s) to my 505, but that is just a personal habit.
mrmikel is offline   Reply With Quote
Old 12-25-2009, 11:12 AM   #9
pakiyabhai
Zealot
pakiyabhai began at the beginning.
 
Posts: 129
Karma: 14
Join Date: Dec 2007
Device: pakiyabhai
The issue is that dragging the rar file only takes the metadata and not the ebook itself.
pakiyabhai is offline   Reply With Quote
Reply


Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
[Old Thread] What's an OPF file? Anarel Calibre 8 03-28-2016 05:17 PM
[Old Thread] calibre not creating content.opf or toc.ncx files during conversion foxxywith2xs Calibre 7 12-16-2012 07:49 PM
adding a toc.ncx file to the .prc package cyberbaffled Amazon Kindle 4 09-14-2010 02:21 PM
HTML, NCX & OPF --> MESS pakiyabhai Workshop 2 12-22-2009 10:43 AM
Can html2epub create the OPF & NCX files? Acey Calibre 4 11-17-2008 12:33 AM


All times are GMT -4. The time now is 07:01 PM.


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