Register Guidelines E-Books Today's Posts Search

Go Back   MobileRead Forums > E-Book Software > Calibre > Plugins

Notices

Reply
 
Thread Tools Search this Thread
Old 09-24-2022, 07:13 PM   #1696
jhowell
Grand Sorcerer
jhowell ought to be getting tired of karma fortunes by now.jhowell ought to be getting tired of karma fortunes by now.jhowell ought to be getting tired of karma fortunes by now.jhowell ought to be getting tired of karma fortunes by now.jhowell ought to be getting tired of karma fortunes by now.jhowell ought to be getting tired of karma fortunes by now.jhowell ought to be getting tired of karma fortunes by now.jhowell ought to be getting tired of karma fortunes by now.jhowell ought to be getting tired of karma fortunes by now.jhowell ought to be getting tired of karma fortunes by now.jhowell ought to be getting tired of karma fortunes by now.
 
jhowell's Avatar
 
Posts: 7,072
Karma: 91577715
Join Date: Nov 2011
Location: Charlottesville, VA
Device: Kindles
Quote:
Originally Posted by jberanek View Post
Is this a known issue, do any of the vast array of options in the plugin possibly fix this?
Known issue due to a change by Amazon. Will be fixed (as much as possible) in the next calibre release.

https://github.com/kovidgoyal/calibr...d2fa13fc1ae29e

Last edited by jhowell; 09-24-2022 at 07:17 PM.
jhowell is offline   Reply With Quote
Old 09-25-2022, 05:49 AM   #1697
jberanek
Junior Member
jberanek began at the beginning.
 
Posts: 3
Karma: 10
Join Date: Sep 2022
Device: Kindle Paperwhite
Quote:
Originally Posted by jhowell View Post
Known issue due to a change by Amazon. Will be fixed (as much as possible) in the next calibre release.

https://github.com/kovidgoyal/calibr...d2fa13fc1ae29e
Thanks for pointing me in the right direction. What an astonishing move by Amazon - it does look at face value like a "nerfing" of book sideloading.

(Just noticed that the "Send to Kindle" app doesn't even support Epub uploads)
jberanek is offline   Reply With Quote
Old 09-25-2022, 05:54 AM   #1698
JSWolf
Resident Curmudgeon
JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.
 
JSWolf's Avatar
 
Posts: 79,757
Karma: 145864619
Join Date: Nov 2006
Location: Roslindale, Massachusetts
Device: Kobo Libra 2, Kobo Aura H2O, PRS-650, PRS-T1, nook STR, PW3
Quote:
Originally Posted by jberanek View Post
Thanks for pointing me in the right direction. What an astonishing move by Amazon - it does look at face value like a "nerfing" of book sideloading.

(Just noticed that the "Send to Kindle" app doesn't even support Epub uploads)
Do you have the latest Send to Kindle?
JSWolf is offline   Reply With Quote
Old 09-25-2022, 06:46 AM   #1699
jberanek
Junior Member
jberanek began at the beginning.
 
Posts: 3
Karma: 10
Join Date: Sep 2022
Device: Kindle Paperwhite
Quote:
Originally Posted by JSWolf View Post
Do you have the latest Send to Kindle?
Yes, I'm sure I used to use it to send books now and then, so perhaps they removed the ability to send Epubs recently?
jberanek is offline   Reply With Quote
Old 09-25-2022, 08:21 AM   #1700
jhowell
Grand Sorcerer
jhowell ought to be getting tired of karma fortunes by now.jhowell ought to be getting tired of karma fortunes by now.jhowell ought to be getting tired of karma fortunes by now.jhowell ought to be getting tired of karma fortunes by now.jhowell ought to be getting tired of karma fortunes by now.jhowell ought to be getting tired of karma fortunes by now.jhowell ought to be getting tired of karma fortunes by now.jhowell ought to be getting tired of karma fortunes by now.jhowell ought to be getting tired of karma fortunes by now.jhowell ought to be getting tired of karma fortunes by now.jhowell ought to be getting tired of karma fortunes by now.
 
jhowell's Avatar
 
Posts: 7,072
Karma: 91577715
Join Date: Nov 2011
Location: Charlottesville, VA
Device: Kindles
Quote:
Originally Posted by jberanek View Post
(Just noticed that the "Send to Kindle" app doesn't even support Epub uploads)
The Send-to-Kindle apps for PC and Mac have not yet been updated to handle EPUB format. Should be coming "soon".
jhowell is offline   Reply With Quote
Old 09-28-2022, 06:28 PM   #1701
Pjama
Guru
Pjama ought to be getting tired of karma fortunes by now.Pjama ought to be getting tired of karma fortunes by now.Pjama ought to be getting tired of karma fortunes by now.Pjama ought to be getting tired of karma fortunes by now.Pjama ought to be getting tired of karma fortunes by now.Pjama ought to be getting tired of karma fortunes by now.Pjama ought to be getting tired of karma fortunes by now.Pjama ought to be getting tired of karma fortunes by now.Pjama ought to be getting tired of karma fortunes by now.Pjama ought to be getting tired of karma fortunes by now.Pjama ought to be getting tired of karma fortunes by now.
 
Pjama's Avatar
 
Posts: 733
Karma: 2347200
Join Date: Apr 2016
Location: TX
Device: Scribe and Libra Colour
I am using the latest version of Calibre, and just installed the modify epub plug in, and am still getting the garbled signs instead of accented letters on some of my French books. Am I doing something wrong, or do I just need to wait for the next version of Calibre?

UPDATED TO ADD: It works perfectly! I was the problem, I didn't see the control panel for the modify ePub plug-in, and when I selected change to UTF and saved the book, it then sent to the kindle perfectly. (Albeit, missing the author info, which I have previously added successfully in such cases by including the author in my email subject line - I'll try resending).

Last edited by Pjama; 09-29-2022 at 09:31 AM.
Pjama is offline   Reply With Quote
Old 10-16-2022, 12:53 PM   #1702
kiwidude
Calibre Plugins Developer
kiwidude ought to be getting tired of karma fortunes by now.kiwidude ought to be getting tired of karma fortunes by now.kiwidude ought to be getting tired of karma fortunes by now.kiwidude ought to be getting tired of karma fortunes by now.kiwidude ought to be getting tired of karma fortunes by now.kiwidude ought to be getting tired of karma fortunes by now.kiwidude ought to be getting tired of karma fortunes by now.kiwidude ought to be getting tired of karma fortunes by now.kiwidude ought to be getting tired of karma fortunes by now.kiwidude ought to be getting tired of karma fortunes by now.kiwidude ought to be getting tired of karma fortunes by now.
 
Posts: 4,729
Karma: 2197770
Join Date: Oct 2010
Location: Australia
Device: Kindle Oasis
Modify ePub v1.8.0 Released

Release Notes:
https://github.com/kiwidude68/calibr...fy_epub-v1.8.0
kiwidude is offline   Reply With Quote
Old 10-31-2022, 06:42 AM   #1703
killo3967
Enthusiast
killo3967 began at the beginning.
 
Posts: 25
Karma: 10
Join Date: Sep 2020
Device: Kindle Paperwhite
Epubcheck error after apply Modify epub plugin

Hi.
First, thanks for such a good plugin.

My problem is:

1.-I select "Add/Replace metadata Jacket", this function correctly and i could see the new jacket in my book.

2.- I check the book with the "Checkepub" in Sigil and appears
this error:

Col: 87: ERROR(RSC-005): Error al analizar el archivo: el atributo "data-calibre-jacket-searchable-tags" no se permite aquí; se esperaba atributo "align", "char", "charoff", "class", "dir", "id", "lang", "style", "title", "valign" o "xml:lang"
killo3967 is offline   Reply With Quote
Old 10-31-2022, 07:12 AM   #1704
kiwidude
Calibre Plugins Developer
kiwidude ought to be getting tired of karma fortunes by now.kiwidude ought to be getting tired of karma fortunes by now.kiwidude ought to be getting tired of karma fortunes by now.kiwidude ought to be getting tired of karma fortunes by now.kiwidude ought to be getting tired of karma fortunes by now.kiwidude ought to be getting tired of karma fortunes by now.kiwidude ought to be getting tired of karma fortunes by now.kiwidude ought to be getting tired of karma fortunes by now.kiwidude ought to be getting tired of karma fortunes by now.kiwidude ought to be getting tired of karma fortunes by now.kiwidude ought to be getting tired of karma fortunes by now.
 
Posts: 4,729
Karma: 2197770
Join Date: Oct 2010
Location: Australia
Device: Kindle Oasis
@killo3937 - As I only speak english I have no idea what Sigil is trying to warn you about. I will say the base functionality of this plugin has not been changed in a very long time. There is nothing I can do with that without (a) having a copy of your epub that has the jacket stilll in it and (b) knowing exactly which version of Sigil you tested it with.

So long as the epub displays in calibre viewer/still converts ok to other formats if that is what you use in your device then I simply would not worry about what that Sigil check is telling you. Things like EpubCheck can generate a lot of "noise" about things which simply do not actually matter - just chill and go read the book
kiwidude is offline   Reply With Quote
Old 10-31-2022, 07:23 AM   #1705
JSWolf
Resident Curmudgeon
JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.
 
JSWolf's Avatar
 
Posts: 79,757
Karma: 145864619
Join Date: Nov 2006
Location: Roslindale, Massachusetts
Device: Kobo Libra 2, Kobo Aura H2O, PRS-650, PRS-T1, nook STR, PW3
Quote:
Originally Posted by kiwidude View Post
@killo3937 - As I only speak english I have no idea what Sigil is trying to warn you about. I will say the base functionality of this plugin has not been changed in a very long time. There is nothing I can do with that without (a) having a copy of your epub that has the jacket stilll in it and (b) knowing exactly which version of Sigil you tested it with.

So long as the epub displays in calibre viewer/still converts ok to other formats if that is what you use in your device then I simply would not worry about what that Sigil check is telling you. Things like EpubCheck can generate a lot of "noise" about things which simply do not actually matter - just chill and go read the book
Here is the translation to English.

Col: 87: ERROR(RSC-005): Error parsing file: attribute "data-calibre-jacket-searchable-tags" is not allowed here; expect attribute "align", "char", "charoff", "class", "dir", "id", "lang", "style", "title", "valign" or "xml:lang"
JSWolf is offline   Reply With Quote
Old 10-31-2022, 07:31 AM   #1706
JSWolf
Resident Curmudgeon
JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.
 
JSWolf's Avatar
 
Posts: 79,757
Karma: 145864619
Join Date: Nov 2006
Location: Roslindale, Massachusetts
Device: Kobo Libra 2, Kobo Aura H2O, PRS-650, PRS-T1, nook STR, PW3
This is the line that has the error.
Code:
<tr data-calibre-jacket-searchable-tags="1" style="color:white; display:none">
Remove data-calibre-jacket-searchable-tags="1" and the error goes away.

This error is only an error with ePub 2. It verifies with ePub 3. But (IMHO) that bit of code is not needed and if it goes away, the jacket is good on both ePub 2 & 3.

One other issue. If you do not select to put the jacket at the back, it's put at the front where the cover should be. So that chages the cover since the cover should be first.

Last edited by JSWolf; 10-31-2022 at 07:42 AM.
JSWolf is offline   Reply With Quote
Old 10-31-2022, 07:52 AM   #1707
Doitsu
Grand Sorcerer
Doitsu ought to be getting tired of karma fortunes by now.Doitsu ought to be getting tired of karma fortunes by now.Doitsu ought to be getting tired of karma fortunes by now.Doitsu ought to be getting tired of karma fortunes by now.Doitsu ought to be getting tired of karma fortunes by now.Doitsu ought to be getting tired of karma fortunes by now.Doitsu ought to be getting tired of karma fortunes by now.Doitsu ought to be getting tired of karma fortunes by now.Doitsu ought to be getting tired of karma fortunes by now.Doitsu ought to be getting tired of karma fortunes by now.Doitsu ought to be getting tired of karma fortunes by now.
 
Doitsu's Avatar
 
Posts: 5,727
Karma: 24031401
Join Date: Dec 2010
Device: Kindle PW2
Quote:
Originally Posted by killo3967 View Post
Col: 87: ERROR(RSC-005): Error al analizar el archivo: el atributo "data-calibre-jacket-searchable-tags" no se permite aquí; se esperaba atributo "align", "char", "charoff", "class", "dir", "id", "lang", "style", "title", "valign" o "xml:lang"
data-* attributes can only be be used in epub3 books. Most likely you've added a jacket to an epub2 book.
As kiwidude has already pointed out, as an end user, you don't have to worry about the error message.

@kiwidude the attribute comes from from calibre/resources/jacket/template.xhtml. Theoretically, Kovid should have created two templates: one for epub2 books and one for epub3 books.
However, since Kovid has made it abundantly clear that he's not inclined to change the Calibre code just to accommodate EPUBCheck, it's highly unlikely that this problem will get fixed.
Doitsu is offline   Reply With Quote
Old 10-31-2022, 08:15 AM   #1708
kiwidude
Calibre Plugins Developer
kiwidude ought to be getting tired of karma fortunes by now.kiwidude ought to be getting tired of karma fortunes by now.kiwidude ought to be getting tired of karma fortunes by now.kiwidude ought to be getting tired of karma fortunes by now.kiwidude ought to be getting tired of karma fortunes by now.kiwidude ought to be getting tired of karma fortunes by now.kiwidude ought to be getting tired of karma fortunes by now.kiwidude ought to be getting tired of karma fortunes by now.kiwidude ought to be getting tired of karma fortunes by now.kiwidude ought to be getting tired of karma fortunes by now.kiwidude ought to be getting tired of karma fortunes by now.
 
Posts: 4,729
Karma: 2197770
Join Date: Oct 2010
Location: Australia
Device: Kindle Oasis
@JSWolf, @Doitsu - thanks very much for the translation/confirmation on this not being something to be concerned about as far as this plugin is concerned.

Quote:
Originally Posted by JSWolf View Post
One other issue. If you do not select to put the jacket at the back, it's put at the front where the cover should be. So that chages the cover since the cover should be first.
There is some very crude logic I see in the plugin whereby it does try to insert what "it" considered to be the cover. It is looking for an opf spine item with id='titlepage' which if found will insert after that.

Is there a more reliable/alternative/additional way of identifying the cover from the spine? If there is a quick win on this I am happy to make a change, whereas if this requires heading back into the weeds on epub structures and files then it is not something I have time to tackle at the moment.
kiwidude is offline   Reply With Quote
Old 10-31-2022, 08:23 AM   #1709
JSWolf
Resident Curmudgeon
JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.
 
JSWolf's Avatar
 
Posts: 79,757
Karma: 145864619
Join Date: Nov 2006
Location: Roslindale, Massachusetts
Device: Kobo Libra 2, Kobo Aura H2O, PRS-650, PRS-T1, nook STR, PW3
Quote:
Originally Posted by kiwidude View Post
@JSWolf, @Doitsu - thanks very much for the translation/confirmation on this not being something to be concerned about as far as this plugin is concerned.


There is some very crude logic I see in the plugin whereby it does try to insert what "it" considered to be the cover. It is looking for an opf spine item with id='titlepage' which if found will insert after that.

Is there a more reliable/alternative/additional way of identifying the cover from the spine? If there is a quick win on this I am happy to make a change, whereas if this requires heading back into the weeds on epub structures and files then it is not something I have time to tackle at the moment.
You could keep the logic and if it fail to find id="titlepage", place the jacket as the third file. In most cases, you have the cover followed by the title page. In some cases, it may not be optimal, but it's better then were it's landing now.
JSWolf is offline   Reply With Quote
Old 10-31-2022, 05:22 PM   #1710
kiwidude
Calibre Plugins Developer
kiwidude ought to be getting tired of karma fortunes by now.kiwidude ought to be getting tired of karma fortunes by now.kiwidude ought to be getting tired of karma fortunes by now.kiwidude ought to be getting tired of karma fortunes by now.kiwidude ought to be getting tired of karma fortunes by now.kiwidude ought to be getting tired of karma fortunes by now.kiwidude ought to be getting tired of karma fortunes by now.kiwidude ought to be getting tired of karma fortunes by now.kiwidude ought to be getting tired of karma fortunes by now.kiwidude ought to be getting tired of karma fortunes by now.kiwidude ought to be getting tired of karma fortunes by now.
 
Posts: 4,729
Karma: 2197770
Join Date: Oct 2010
Location: Australia
Device: Kindle Oasis
Modify ePub v1.8.1

Release Notes:
https://github.com/kiwidude68/calibr...fy_epub-v1.8.1

@JSWolf - defaulting to 3 pages in isn't something I could agree with - found too many book examples where that makes no sense. The problem is there is no guarantee about what convention publishers choose for naming their covers/title pages for the plugin to identify it. Some give it the same name as the book, rather than something nice like any of "cover", "cvi" , "tp", "titlepage", which I am now detecting.

I have however made a change so it defaults to being the second page in and then keep incrementing that number until it finds a page it "guesses" is not a cover or a titlepage, based on those names above. There are books out there though (if they havent had a calibre conversion) where this still won't be "ideal" - e.g. a book that has no cover page at the start but instead 3 pages of quotes about how great the book is before a title page would now have this jacket inserted between quote pages 1 and 2.

Personally I think the jackets got hit too hard with the ugly stick and I never use them so it is not something I am going to do extensive testing on. But if someone can please try the release at the link above and give me feedback, otherwise I will just push it out to everyone in a few days...

EDIT: I have now officially released this version.

Last edited by kiwidude; 11-06-2022 at 10:38 AM. Reason: Now officially released
kiwidude is offline   Reply With Quote
Reply

Tags
modify epub


Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
[GUI Plugin] Quality Check kiwidude Plugins 1251 07-07-2025 09:13 PM
[GUI Plugin] Open With kiwidude Plugins 404 02-21-2025 05:42 AM
[GUI Plugin] Manage Series kiwidude Plugins 167 07-28-2024 03:07 PM
Modify ePub plugin dev thread kiwidude Development 346 09-02-2013 05:14 PM
[GUI Plugin] Plugin Updater **Deprecated** kiwidude Plugins 159 06-19-2011 12:27 PM


All times are GMT -4. The time now is 12:33 PM.


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