![]() |
#1 |
Junior Member
![]() Posts: 2
Karma: 10
Join Date: Apr 2023
Device: Kindle Paperwhite Signature Edition (11th Gen)
|
Losing details in content.opf when parsing for conversion
Hello!
First post here so I hope I describe this issue well for everyone's clarity I am having an issue when converting a manga from .KPF to .KFX, though I have since noticed this issue when converting from and to any combination of types. The files convert without throwing any errors, but I lose a lot of the HTML tags and attributes in the parsing of the .OPF that are necessary to make the book function like a manga, for example:
I have attatched the debug folder from when I ran the converstion so that you can see the content.opf file losing these tags throughout the conversion What I noticed is rather strange, that the initial content.opf file in the "input" folder has the correct tags and attributes, but after parsing, the content.opf file in the "parsed" folder doesn't have the correct tags or attributes anymore. For this reason I believe that the extension that reads .KPF is functioning correctly, and that it is some other component (please excuse that I am not familiar with the internal process of Calibre) which is responsible for parsing the input which is not catching and continuing the necessary tags and attributes I really hope that this had made sense! And if there are any further questions I am more than happy to elaborate! |
![]() |
![]() |
![]() |
#2 |
Grand Sorcerer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 7,069
Karma: 91577715
Join Date: Nov 2011
Location: Charlottesville, VA
Device: Kindles
|
The calibre conversion feature is designed for reflowable books. It does not support fixed layout formats such as Kindle comics.
My KFX Input plugin has a command line interface (CLI) that can be used to perform conversion of KPF to EPUB bypassing calibre's conversion pipeline. That will retain the fixed layout formatting of a comic. And the KFX Output plugin command line interface can convert KPF comics to KFX. If you are instead starting from a KF8 (azw3) file you can use the KindleUnpack plugin to extract a fixed layout EPUB without conversion. Last edited by jhowell; 04-18-2023 at 05:00 PM. |
![]() |
![]() |
Advert | |
|
![]() |
#3 | |
Junior Member
![]() Posts: 2
Karma: 10
Join Date: Apr 2023
Device: Kindle Paperwhite Signature Edition (11th Gen)
|
Quote:
|
|
![]() |
![]() |
![]() |
#4 | |
Still reading
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 14,010
Karma: 105092227
Join Date: Jun 2017
Location: Ireland
Device: All 4 Kinds: epub eink, Kindle, android eink, NxtPaper
|
Quote:
Amazon seem determined to make life difficult. |
|
![]() |
![]() |
![]() |
#5 |
Grand Sorcerer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 7,069
Karma: 91577715
Join Date: Nov 2011
Location: Charlottesville, VA
Device: Kindles
|
|
![]() |
![]() |
Advert | |
|
![]() |
#6 |
Still reading
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 14,010
Karma: 105092227
Join Date: Jun 2017
Location: Ireland
Device: All 4 Kinds: epub eink, Kindle, android eink, NxtPaper
|
|
![]() |
![]() |
![]() |
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
IngramSpark citing content.opf errors I can't find in the .opf | persand | Calibre | 4 | 03-21-2019 10:49 AM |
Cleaning content.opf | rubeus | Plugins | 5 | 09-04-2017 11:12 AM |
Losing content | exaltedwombat | Sigil | 14 | 07-20-2015 11:16 AM |
Change opf filename from content.opf to title.opf | northstar7 | Sigil | 3 | 09-23-2013 12:44 PM |
[Old Thread] calibre not creating content.opf or toc.ncx files during conversion | foxxywith2xs | Calibre | 7 | 12-16-2012 07:49 PM |