![]() |
#436 |
Plugin Developer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 6,980
Karma: 4604635
Join Date: Dec 2011
Location: Midwest USA
Device: Kobo Clara Colour running KOReader
|
The error suggests that there is broken XML in the content.opf of that particular epub--probably the first one in the merge.
You might be able to clear the problem by opening the epub in Calibre's Edit book, make some minor change (add a space to a file, then delete) and save it again. Or Edit book may point out the problem. You could also try an epub validator. Without seeing the epub myself, that's about all I can suggest. |
![]() |
![]() |
![]() |
#437 |
Junior Member
![]() Posts: 3
Karma: 10
Join Date: Mar 2022
Device: iphone
|
I appreciate the recommendation! I ran it through an epub validator and it showed that several of the books had errors. Since I don't have much understanding of editing ebooks, would you be able to break down an example of one of the issues that the epub validator stated? If not I understand as this isn't the right location.
Below is an example of two of the errors displayed as well as the relevant code. One of the books only had 2 errors in this case. ERROR(RSC-005): ./books/Bo/databases/eBookIt/temp_uploads/1646250078.epub/content.opf(46,140): Error while parsing file: value of attribute "id" is invalid; must be an XML name without colons code: <item id="a26-chapter-19--order-(redux).html" href="OEBPS/text/a26-chapter-19--order-(redux).html" media-type="application/xhtml+xml"/> and then ERROR(RSC-005): ./books/Bo/databases/eBookIt/temp_uploads/1646250501.epub/content.opf(151,58): Error while parsing file: value of attribute "idref" is invalid; must be an XML name without colons code: <itemref idref="a26-chapter-19--order-(redux).html"/> |
![]() |
![]() |
![]() |
#438 | ||
Plugin Developer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 6,980
Karma: 4604635
Join Date: Dec 2011
Location: Midwest USA
Device: Kobo Clara Colour running KOReader
|
Quote:
Quote:
|
||
![]() |
![]() |
![]() |
#439 |
Plugin Developer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 6,980
Karma: 4604635
Join Date: Dec 2011
Location: Midwest USA
Device: Kobo Clara Colour running KOReader
|
New Test Version
- Add check for multiple toc.ncx files, use last to match Calibre viewer. Somebody PM'd me about a problem that turned out to be an input file with two application/x-dtbncx+xml (toc.ncx) files. Which epubmerge doesn't like. There is no good reason to have two, but while the standard refers to "The NCX file (Navigation Control file for XML), traditionally named toc.ncx" (singular), I don't find anything formally forbidding it and epubcheck (in Calibre's Edit book at least) doesn't complain about it. Calibre's ebook viewer appears to use the last listed toc.ncx file. Removing the last one causes it to simply use the first. Oddly, doing Calibre convert epub->epub still keeps both. I would have expected it to remove one. If anybody knows a better way to handle this issue, I'd be curious to hear it. Last edited by JimmXinu; 04-04-2022 at 12:32 PM. Reason: Remove obsolete test version |
![]() |
![]() |
![]() |
#440 | |
Resident Curmudgeon
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 79,792
Karma: 146391129
Join Date: Nov 2006
Location: Roslindale, Massachusetts
Device: Kobo Libra 2, Kobo Aura H2O, PRS-650, PRS-T1, nook STR, PW3
|
Quote:
|
|
![]() |
![]() |
![]() |
#441 |
Plugin Developer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 6,980
Karma: 4604635
Join Date: Dec 2011
Location: Midwest USA
Device: Kobo Clara Colour running KOReader
|
New Version Released
Version 2.13.0 - 04 Apr 2022 - Add check for multiple toc.ncx files, use last to match Calibre viewer. - Update Translations |
![]() |
![]() |
![]() |
#442 |
Fulltime reader
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 44
Karma: 9296
Join Date: Mar 2021
Device: Kobo Clara
|
I use FanFicFare for several webnovels and it works great. Thank you for that.
But I have one webnovel that I have to do manually. When I use epubmerge, I end up with 3 epubs, the original, the section to be added and a new epub. Is there a way to update like FanFicFare does, so only the original is updated and I don't lose my reading positions? |
![]() |
![]() |
![]() |
#443 |
Plugin Developer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 6,980
Karma: 4604635
Join Date: Dec 2011
Location: Midwest USA
Device: Kobo Clara Colour running KOReader
|
Not with EpubMerge. It's pretty tightly focused on merging, not updating/editing.
I do have a few epubs I manually update, and I use Calibre Edit book feature to do it. It does involve several steps, adding a file, putting in the content, updating the TOC, etc. |
![]() |
![]() |
![]() |
#444 |
Junior Member
![]() Posts: 3
Karma: 10
Join Date: Mar 2022
Device: iphone
|
I have been using EpubMerge for years with Calibre in order to merge large book series and than easily navigate them using the generated Table of Contents on an eReader. The eReader that I have been using is Marvin 3.
Lately, I have been having an issue where when I merge multiple books, I am only receiving the table of contents of one book, even though I have the settings enabled to "Insert Table of Contents entry for each title" and "copy Table of Content entries from each title". To give a relative time frame; I had created a merge of 10 books in Nov 2021 and it displayed each of the titles+table of contents when opened in Marvin 3. Now, I am merging an additional book to it and suddenly it doesn't work. |
![]() |
![]() |
![]() |
#445 |
Plugin Developer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 6,980
Karma: 4604635
Join Date: Dec 2011
Location: Midwest USA
Device: Kobo Clara Colour running KOReader
|
I don't see anything wrong with my tests. Are you sure you're seeing nested TOC entries?
I need to see the books you're working with to know more, really. |
![]() |
![]() |
![]() |
#446 |
Plugin Developer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 6,980
Karma: 4604635
Join Date: Dec 2011
Location: Midwest USA
Device: Kobo Clara Colour running KOReader
|
New Test Version Posted
2022-07-19 - Use cal6 icon theme system to allow plugin icon customization. EpubMerge has two custom icons, but it uses several of the 'standard' Calibre icons. Now it should use installed icon themes and icon themes can include a custom icon for EpubMerge specifically (EpubMerge/images/icon.png & EpubMerge/images/unmerge.png). Only for Calibre 6+. Last edited by JimmXinu; 07-31-2022 at 10:44 AM. Reason: Remove obsolete test version |
![]() |
![]() |
![]() |
#447 | |
Wizard
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 1,217
Karma: 1419583
Join Date: Dec 2016
Location: Goiânia - Brazil
Device: iPad, Kindle Paperwhite, Kindle Oasis
|
Quote:
I tried extracting the theme folder for EpubMerge on ../resources/images/EpubMerge/ and it also didn't work here. I'm using calibre 6.1 on Windows 10 x64. EDIT: Just noticed that the plugin is expecting the icons to be on ../resources/images/EpubMerge/images/ (and it works if I do this). Well, that's not what all the themes I've seen are doing. They put all the icons on ../resources/images/EpubMerge/. Last edited by thiago.eec; 07-19-2022 at 11:57 AM. Reason: New info |
|
![]() |
![]() |
![]() |
#448 |
Plugin Developer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 6,980
Karma: 4604635
Join Date: Dec 2011
Location: Midwest USA
Device: Kobo Clara Colour running KOReader
|
Theme contains images/EpubMerge/icon.png , plugins needs it to be EpubMerge/images/icon.png, etc.
All of my kiwidude descended plugins use images like that and I'd rather not change it for backward compatibility reasons. |
![]() |
![]() |
![]() |
#449 |
Wizard
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 1,217
Karma: 1419583
Join Date: Dec 2016
Location: Goiânia - Brazil
Device: iPad, Kindle Paperwhite, Kindle Oasis
|
That's odd. The latest released versions of EpubMerge (2.13.0) and EpubSplit (3.3.0) works fine with the theme (under calibre 5). To be honest, all other plugins I have installed use ../resources/images/Plugin_Name/*.png.
|
![]() |
![]() |
![]() |
#450 |
Well trained by Cats
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 31,079
Karma: 60358908
Join Date: Aug 2009
Location: The Central Coast of California
Device: Kobo Libra2,Kobo Aura2v1, K4NT(Fixed: New Bat.), Galaxy Tab A
|
There is another reason that Jimm's idea is best:
The icons IN the plugin are default and the fallback. whereas the Resources are User supplied ![]() |
![]() |
![]() |
![]() |
Tags |
calibre, combine books, epubmerge, make collection, merge epub, merge epubs |
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
[GUI Plugin] Open With | kiwidude | Plugins | 404 | 02-21-2025 05:42 AM |
[GUI Plugin] Quick Preferences | kiwidude | Plugins | 62 | 03-16-2024 11:47 PM |
[GUI Plugin] FanFictionDownLoader | JimmXinu | Plugins | 3985 | 05-08-2015 11:18 PM |
eBookCleaner | slobberchopz | Plugins | 9 | 02-23-2012 04:25 AM |
[GUI Plugin] Plugin Updater **Deprecated** | kiwidude | Plugins | 159 | 06-19-2011 12:27 PM |