09-10-2024, 11:40 PM | #1 | ||
Enthusiast
Posts: 42
Karma: 10
Join Date: Aug 2014
Device: none
|
epub manufactured from kobo download
I bought a book from kobo using the kobo app on my phone. it downloads a bunch of directories and files, so that with only a modest amount of hacking I could make a zip file of it, rename .zip ==> .epub and calibre imports it nicely. It also is readable, and one can edit the metadata.
what I CANNOT do is edit the book text itself. it gives me this error: Quote:
now, the structure of this epub is a little odd, I assume because it isn't generated by Calibre, but since Calibre can display it for reading it doesn't seem to me to be wrong, per se. I went and run epubcheck against it and got two errors (plus about a bazillion of the same warning over and over). The first error is: Quote:
[QUOTE]FATAL(OPF-002): /home/fredex/Calibre Library/Ben Aaronovitch/Masquerades of Spring (940)/Masquerades of Spring - Ben Aaronovitch.epub/META-INF/container.xml(-1,-1): The OPF file "https://46b164ee-6bef-494a-b1f5-711309832c65.epubcheck.w3c.org/OEBPS/content.opf" was not found in the EPUB./[QUOTE] the first attachment is the top-level directory in the epub file, showing the mimetype file. attachment 2 is the META-INF directory. attachment 3 is the contents of the container.xml file in the META-INF directory. So, it looks to my (uneducated eyes) as if the files are where they should be. I'd appreciate any guidance you folks can offer me on this. Thanks in advance! Fred |
||
09-10-2024, 11:57 PM | #2 |
Bibliophagist
Posts: 40,506
Karma: 156983616
Join Date: Jul 2010
Location: Vancouver
Device: Kobo Sage, Libra Colour, Lenovo M8 FHD, Paperwhite 4, Tolino epos
|
You might want to try a epub to epub conversion on it.
The mimetype file must be the first file in the zip container and must be uncompressed. If you are manually building the .zip container, you would add it first and uncompressed and then add the rest of the files/directories. As for the content.opf file? You state that it exists and is exactly where the container.xml file says it should be. Since you do not show an OEBPS directory in the root of the zip file, and the container.xml shows that as where the content.opf file is to be found—the full-path="OEBPS/content.opf" gives that information, it's hardly surprising that epubcheck errors on it. You may want to check the contents of the Masquerades of Spring directory. |
Advert | |
|
09-11-2024, 10:31 PM | #3 |
Enthusiast
Posts: 42
Karma: 10
Join Date: Aug 2014
Device: none
|
You suggestion of converting epub to epub seems to have solved all my problems. Thanks!
Fredex |
09-11-2024, 11:30 PM | #4 | |
Bibliophagist
Posts: 40,506
Karma: 156983616
Join Date: Jul 2010
Location: Vancouver
Device: Kobo Sage, Libra Colour, Lenovo M8 FHD, Paperwhite 4, Tolino epos
|
Quote:
calibre's viewer is browser based and a lot more forgiving that most dedicated ePub renderers when it comes to garbage in. |
|
09-21-2024, 06:18 AM | #5 |
Resident Curmudgeon
Posts: 76,395
Karma: 136466962
Join Date: Nov 2006
Location: Roslindale, Massachusetts
Device: Kobo Libra 2, Kobo Aura H2O, PRS-650, PRS-T1, nook STR, PW3
|
Why not just download it as an ePub? You can use the ACSM Plugin and the DeDRM plugin if it has DRM.
|
Advert | |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Aura HD Cloud download epub using Kobo Aura HD | svda | Kobo Reader | 4 | 11-06-2015 03:25 AM |
page to download an epub to my kobo | french imp | Kobo Reader | 11 | 08-03-2014 07:32 AM |
Unable to download epub from kobo store | History | Kobo Reader | 6 | 04-26-2012 09:49 PM |
Kobo epub direct download or sideload epub | RareBird | Kobo Reader | 11 | 03-30-2012 12:19 PM |
Just me? Can't download ADE EPUB from the Kobo site | Shankill | Kobo Reader | 8 | 03-24-2012 07:31 PM |