![]() |
#1 |
Karmaniac
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 2,553
Karma: 11499146
Join Date: Oct 2008
Location: Miami FL
Device: PRS-505, Jetbook, + Mini, +Color, Astak Ez Reader Pro, PPW1, Aura H2O
|
Content.opf media-type
Work is progressing well,
I currently have the mimetype file, and the META-INF/container.xml file created, and am working on the Content.opf file. It's relatively new to me, but I'm getting the hang of things. Like people on the forum, who don't like too much clutter, I'm mainly removing most unnecessary data. I used Sigil, to create a UUID number, but am thinking of possibly erasing that as well out of the book... I'm currently working in <manifest>, and would like to know more about "media-type", but could not easily find documentation or info concerning it. So far I've learned that there can be media-type=""application/x-dtbncx+xml", and media-type="text/css". I'd like to know possible variables, and what it does to the reader, if the variable behind the equal sign is changed? I also wonder if .htm files can replace .html files? Last edited by ProDigit; 12-18-2015 at 06:13 AM. |
![]() |
![]() |
![]() |
#2 | |
Grand Sorcerer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 5,727
Karma: 24031401
Join Date: Dec 2010
Device: Kindle PW2
|
Quote:
|
|
![]() |
![]() |
Advert | |
|
![]() |
#3 |
Wizard
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 4,520
Karma: 121692313
Join Date: Oct 2009
Location: Heemskerk, NL
Device: PRS-T1, Kobo Touch, Kobo Aura
|
Don't cut too much out of the OPF. It will not gain you much and a mistake is easily made. A corrupt OPF will cause issues.
The extension of the files does not matter. It can be .htm, .html, .xml, .xhtml or whatever. As long as the content is XHTML and the media-type is specified correctly in the OPF. |
![]() |
![]() |
![]() |
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
media type in the manifest | rubeus | Plugins | 24 | 05-14-2015 12:16 PM |
Change opf filename from content.opf to title.opf | northstar7 | Sigil | 3 | 09-23-2013 12:44 PM |
MP3 defined in opf as media-type="text/plain | LGN | Sigil | 5 | 04-26-2013 03:38 PM |
media-type | me too | ePub | 5 | 08-07-2012 05:32 PM |
TWO OPF files or something like Media Queries in the OPF file for KF8 and MOBI? | DHahn | Kindle Formats | 3 | 04-17-2012 04:06 AM |