Register Guidelines E-Books Search Today's Posts Mark Forums Read

Go Back   MobileRead Forums > E-Book Formats > Kindle Formats

Notices

Reply
 
Thread Tools Search this Thread
Old 07-31-2015, 07:52 AM   #1
1v4n0
Groupie
1v4n0 writes the songs that make the whole world sing.1v4n0 writes the songs that make the whole world sing.1v4n0 writes the songs that make the whole world sing.1v4n0 writes the songs that make the whole world sing.1v4n0 writes the songs that make the whole world sing.1v4n0 writes the songs that make the whole world sing.1v4n0 writes the songs that make the whole world sing.1v4n0 writes the songs that make the whole world sing.1v4n0 writes the songs that make the whole world sing.1v4n0 writes the songs that make the whole world sing.1v4n0 writes the songs that make the whole world sing.
 
Posts: 171
Karma: 40000
Join Date: Oct 2013
Device: kindle
EPUB vs AZW3

Hello,

From the "inside" (i.e. from within an editor) AZW3 ebooks look very similar to EPUBs. Same code, same files, more or less. EPUBs have a "content.opf" file, whereas the one in the AZW3 is called "metadata.opf", but they are very similar too.

So what are differences between the two? What does a converter do? I know that simply changing the extension won't work, but it doesn't seem to be much more complicated.

I got a feeling the answer might be very technical, but I'm willing to study

Thanks,

i
1v4n0 is offline   Reply With Quote
Old 07-31-2015, 10:59 AM   #2
DiapDealer
Grand Sorcerer
DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.
 
DiapDealer's Avatar
 
Posts: 27,468
Karma: 192992430
Join Date: Jan 2010
Device: Nexus 7, Kindle Fire HD
Quote:
Originally Posted by 1v4n0 View Post
Hello,

From the "inside" (i.e. from within an editor) AZW3 ebooks look very similar to EPUBs. Same code, same files, more or less. EPUBs have a "content.opf" file, whereas the one in the AZW3 is called "metadata.opf", but they are very similar too.

So what are differences between the two? What does a converter do? I know that simply changing the extension won't work, but it doesn't seem to be much more complicated.

I got a feeling the answer might be very technical, but I'm willing to study

Thanks,

i
There are no "files" inside a binary azw3. That's the main differnce. Any editor has extracted the records from the binary database and put them into files and arranged/presented them in the manner you see (either that, or you're actually looking at the source EPUB that's included with Kindlegen's output). Conversion is a rather large undertaking, actually. The binary headers must be constructed, the content put into records and all links converted from hrefs/ids to physical offsets. AZW3s are more like epubs in structure than regular-old mobi to be sure. But what you're looking at in an editor is not the "inside" of an AZW3. It's the conversion of the KF8 format into a familiar OEBPS structure that you can then tweak and rebuild.

Last edited by DiapDealer; 07-31-2015 at 11:03 AM.
DiapDealer is offline   Reply With Quote
Advert
Old 07-31-2015, 11:33 AM   #3
DaleDe
Grand Sorcerer
DaleDe ought to be getting tired of karma fortunes by now.DaleDe ought to be getting tired of karma fortunes by now.DaleDe ought to be getting tired of karma fortunes by now.DaleDe ought to be getting tired of karma fortunes by now.DaleDe ought to be getting tired of karma fortunes by now.DaleDe ought to be getting tired of karma fortunes by now.DaleDe ought to be getting tired of karma fortunes by now.DaleDe ought to be getting tired of karma fortunes by now.DaleDe ought to be getting tired of karma fortunes by now.DaleDe ought to be getting tired of karma fortunes by now.DaleDe ought to be getting tired of karma fortunes by now.
 
DaleDe's Avatar
 
Posts: 11,470
Karma: 13095790
Join Date: Aug 2007
Location: Grass Valley, CA
Device: EB 1150, EZ Reader, Literati, iPad 2 & Air 2, iPhone 7
Quote:
Originally Posted by 1v4n0 View Post
Hello,

From the "inside" (i.e. from within an editor) AZW3 ebooks look very similar to EPUBs. Same code, same files, more or less. EPUBs have a "content.opf" file, whereas the one in the AZW3 is called "metadata.opf", but they are very similar too.

So what are differences between the two? What does a converter do? I know that simply changing the extension won't work, but it doesn't seem to be much more complicated.

I got a feeling the answer might be very technical, but I'm willing to study

Thanks,

i
A good place to start is our wiki. See KF8.

Dale
DaleDe is offline   Reply With Quote
Old 07-31-2015, 11:38 AM   #4
Section8
Addict
Section8 ought to be getting tired of karma fortunes by now.Section8 ought to be getting tired of karma fortunes by now.Section8 ought to be getting tired of karma fortunes by now.Section8 ought to be getting tired of karma fortunes by now.Section8 ought to be getting tired of karma fortunes by now.Section8 ought to be getting tired of karma fortunes by now.Section8 ought to be getting tired of karma fortunes by now.Section8 ought to be getting tired of karma fortunes by now.Section8 ought to be getting tired of karma fortunes by now.Section8 ought to be getting tired of karma fortunes by now.Section8 ought to be getting tired of karma fortunes by now.
 
Section8's Avatar
 
Posts: 254
Karma: 2092424
Join Date: Oct 2011
Location: Arlington, TX
Device: Kindle PW4, Moon+ Reader on a cheap Android tablet
You might also look at the kindleunpack calibre plugin. It will "repackage" an azw3 as the equivalent epub (as you say they are internally similar) without a full conversion.
Section8 is offline   Reply With Quote
Old 07-31-2015, 11:44 AM   #5
1v4n0
Groupie
1v4n0 writes the songs that make the whole world sing.1v4n0 writes the songs that make the whole world sing.1v4n0 writes the songs that make the whole world sing.1v4n0 writes the songs that make the whole world sing.1v4n0 writes the songs that make the whole world sing.1v4n0 writes the songs that make the whole world sing.1v4n0 writes the songs that make the whole world sing.1v4n0 writes the songs that make the whole world sing.1v4n0 writes the songs that make the whole world sing.1v4n0 writes the songs that make the whole world sing.1v4n0 writes the songs that make the whole world sing.
 
Posts: 171
Karma: 40000
Join Date: Oct 2013
Device: kindle
Thanks everyone.

@DiapDealer Got it, I didn't know. What is exactly a "Binary database"? Some not-human-readable machine-language?

@Section8 yeah I had tried that once. That's also why I thought AZW3 were very similar to EPUBs
1v4n0 is offline   Reply With Quote
Advert
Old 07-31-2015, 11:57 AM   #6
DaleDe
Grand Sorcerer
DaleDe ought to be getting tired of karma fortunes by now.DaleDe ought to be getting tired of karma fortunes by now.DaleDe ought to be getting tired of karma fortunes by now.DaleDe ought to be getting tired of karma fortunes by now.DaleDe ought to be getting tired of karma fortunes by now.DaleDe ought to be getting tired of karma fortunes by now.DaleDe ought to be getting tired of karma fortunes by now.DaleDe ought to be getting tired of karma fortunes by now.DaleDe ought to be getting tired of karma fortunes by now.DaleDe ought to be getting tired of karma fortunes by now.DaleDe ought to be getting tired of karma fortunes by now.
 
DaleDe's Avatar
 
Posts: 11,470
Karma: 13095790
Join Date: Aug 2007
Location: Grass Valley, CA
Device: EB 1150, EZ Reader, Literati, iPad 2 & Air 2, iPhone 7
Quote:
Originally Posted by 1v4n0 View Post
Thanks everyone.

@DiapDealer Got it, I didn't know. What is exactly a "Binary database"? Some not-human-readable machine-language?
A binary database is a compiled file built by a computer. It is compared here to a pure text database such as a text file or tagged file. ePub is a collection of text files inside a zip container. The reading program must load an individual file and parse the tags to create the screen display. KF8 is a single file with binary pointers to the various sections of the eBook. The reading program follows the pointers to find the entries. The KF8 file must be built with a Computer program that compiles the database from the source files.

See our wiki for more on this. The compiled format of all Amazon file formats is based on PDB container format.

Dale
DaleDe is offline   Reply With Quote
Reply

Tags
azw3, code, converter, epub

Thread Tools Search this Thread
Search this Thread:

Advanced Search

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
EPUB to AZW3 problem Phssthpok Conversion 28 05-10-2015 01:50 PM
Converting AZW3 to Epub Lyn2012 Conversion 17 10-06-2014 08:47 AM
epub to azw3 actually uses original_epub cybmole Conversion 9 04-07-2014 06:51 PM
ePub > AZW3 failed with 0.9.34 JSWolf Conversion 3 06-11-2013 10:40 PM
Conversion from epub to azw3 Joy736 Conversion 12 01-01-2013 11:00 AM


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


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