10-16-2021, 10:10 AM | #121 |
Junior Member
Posts: 1
Karma: 10
Join Date: Oct 2011
Device: Android phone
|
Firstly thanks for writing this plugin it's really useful
I use it regularly on my Library that I'm trying to reduce to 17k books! My only minor bugbears is that when it inserts a new cover image these are inserted with the aspect ratio tag set to none and I'd find it great if we could set it to yes or even have it as a toggle in the plugin. In fact is there a way to get calibre to go through and reset all the aspect ratio tags to yes for a number of books ?? Thanks and keep up the good work |
10-16-2021, 11:52 AM | #122 |
creator of calibre
Posts: 44,535
Karma: 24495948
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
|
IIRC it uses the preserve aspect ratio setting from the epub output section in Preferences->Output options.
|
Advert | |
|
02-17-2022, 09:57 PM | #123 |
Member
Posts: 13
Karma: 10
Join Date: May 2021
Device: Android Phone
|
"Polish books" is messing up my series_index
When creating/importing/converting an ebook in .epub format, the metadata for the series in the bookfile for the series is something like:
<meta name="calibre:series" content="TestSeries"/> <meta name="calibre:series_index" content="124.0"/> when running "Polish books" this changes to <meta property="belongs-to-collection" id="id-3">TestSeries</meta> <meta refines="#id-3" property="collection-type">series</meta> <meta refines="#id-3" property="group-position">124.0</meta> This has two consequences/problems: 1) Some e-book readers do not understand this. I use "Calibre Companion" to manage the books I read on my smartphone. When I open a book to read, then Calibre Companion opens the FBReader App, which does not recognize this as series information, and the book info will not contain the series information, so looking up books in FBReader library, the option: sorted by series, does not work. That is a little bit annoying but not so bad, since I decide within Calibre Companion which book to read, and in Calibre Companion the series information is recognized. 2)When updating the information in the book file, via "Embed metadata", "Modify epub", the editor or even using "Polish book" again (after having deleted the original_epub format), the number in the last line is changed to: "1.2e+02" which any e-book reader (also the Calibre build in e-book viewer) interprets as 120. To make it clear: the third line is changed to: <meta refines="#id-3" property="group-position">1.2e+02</meta> There seems to be a number type problem here, that exists not in the original series_index number metadata definition. The only way I found to rectify this, was by converting the book again to epub, then the original two lines are used again and everything is fine. I would like to suggest a modification to "Polish book": Just leave the series information in the original version. Should that not be possible, then all the other possible interactions with the bookfile have to be changed to use a correct number format. Otherwise "Polish books" is wonderful, I run it on all my .epub ebooks that I add to calibre. |
02-18-2022, 02:16 PM | #124 |
Grand Sorcerer
Posts: 6,221
Karma: 16536676
Join Date: Sep 2009
Location: UK
Device: Kobo: KA1, ClaraHD, Forma, Libra2, Clara2E. PocketBook: TouchHD3
|
Perhaps FBReader doesn't understand EPUB3. This is the correct way to set Series metadata in EPUB3:
Code:
<meta property="belongs-to-collection" id="id-3">TestSeries</meta> <meta refines="#id-3" property="collection-type">series</meta> <meta refines="#id-3" property="group-position">124.0</meta> Code:
<meta name="calibre:series" content="TestSeries"/> <meta name="calibre:series_index" content="124.0"/> Make sure you haven't enabled "Upgrade book internals" in Polish. |
02-18-2022, 11:38 PM | #125 |
creator of calibre
Posts: 44,535
Karma: 24495948
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
|
|
Advert | |
|
02-19-2022, 10:12 AM | #126 |
Member
Posts: 13
Karma: 10
Join Date: May 2021
Device: Android Phone
|
Thank you Kovid for the fix.
And thank you to jackie_w. I realize now why Polish books was doing something that seemed strange to me. First of all, I did not realize, how big the differences between Epub2 and Epub3 were. Also in Polish books I chose the option "Upgrade book internals" the description for that is:" Upgrade the internal structure of the book , if possible. For instance, upgrades EPUB2 books to EPUB3 books". That sounded harmless to me. FBReader states on its homepage, that it will has no plans to fully support EPUB3. So my world is right again: I will look for an alternative to FBReader that understands EPUB3 and Kovid fixed the number format issue. Calibre is not only a great program, but it also has a great support community. Thanks again. |
05-09-2022, 07:08 PM | #127 |
Member
Posts: 10
Karma: 10
Join Date: Sep 2019
Device: Ipad 3rd gen
|
Hey Guys,
First of all I LOVE CALIBRE! I'm an OCD girl who needs her books to be a certain way (capitalized titles, authors sorted by name then last name, genres, cover preferences, etc etc) and I always found it difficult to embed this metadata I spend hours changing (I own about 2000 books and have changed something in ALL of them) so I found this "POLISH BOOKS" option a savior... But this is my first time using it and I found 2 errors on a couple of books and I would really like some help on fixing them... I'll copy bellow 2 examples: Spoiler:
During handling of the above exception, another exception occurred: Spoiler:
Last edited by theducks; 05-09-2022 at 07:48 PM. Reason: spoilered |
05-10-2022, 12:12 PM | #128 |
creator of calibre
Posts: 44,535
Karma: 24495948
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
|
The first error is a book with encryption/obfuscation and no key, you might be able to workarounf it with an epub to epub conversion. The second is a corrupted file.
|
05-11-2022, 12:06 PM | #129 |
Member
Posts: 10
Karma: 10
Join Date: Sep 2019
Device: Ipad 3rd gen
|
Thanks, so just converting the epub and loading this new one as the original will fix the polish??
|
05-11-2022, 12:31 PM | #130 |
Bibliophagist
Posts: 40,506
Karma: 156983616
Join Date: Jul 2010
Location: Vancouver
Device: Kobo Sage, Libra Colour, Lenovo M8 FHD, Paperwhite 4, Tolino epos
|
|
05-12-2022, 12:34 AM | #131 | |
Member
Posts: 10
Karma: 10
Join Date: Sep 2019
Device: Ipad 3rd gen
|
Quote:
I did the conversion which worked, but then polish again and the same obfuscation key error |
|
01-29-2023, 05:41 PM | #132 |
Zealot
Posts: 106
Karma: 4486
Join Date: Mar 2020
Location: Netherlands
Device: i-pad
|
Need help on Inserting Metadata Jacket using Polish Books
Hey Guys,
I've been working on inserting the meta Data Jacket i.s.o. the Cover/Title page. And I got quite a ways reading the old posts and stuff on this forum. But now I'm stumped on 2 things. 1st - I want to have a functioning hyperlink to both the site as well as the authors page (identical to how the title page works) 2nd - I want the items of my pairing to list each on separate lines rather then comma separated. This is what I've got so far, if there is anyone who can give me an assist, I would be most grateful. Code:
<html xmlns="{xmlns}"> <head> <title>{title_str}</title> <meta name="calibre-content" content="jacket"/> <style type="text/css">{css}</style> </head> <body> <!-- Header --> <div class="cbj_banner"> <table class="cbj_header"> <tr> <td class="cbj_title" colspan="2">{title}</td> </tr> <tr> <!-- Change "ids" so it will actually follow the hyperlink to the story --> <td class="cbj_title" colspan="2"><a href={ids}>{title}</a></td> </tr> <tr> <!-- Change "ids" so it will actually follow the hyperlink to the author --> <td class="cbj_author" colspan="2">by: {author}</td> </tr> <tr> <td class="cbj_title" colspan="2"><a href={ids}>{author}</a></td> </tr> <tr> <td class="cbj_series" colspan="2">{series.roman}</td> </tr> <tr> <td class="cbj_pubdata" colspan="2">{publisher}</td> </tr> <tr> <td class="cbj_header" colspan="2"><hr class="metadata_divider" /></td> </tr> <tr data-calibre-jacket-searchable-tags="1" style="color:white; display:none"><td colspan="2">{searchable_tags}</td></tr> </table> <!-- Footer --> <div class="cbj_footer">{footer}</div> </div> <!-- Banner --> <hr class="cbj_kindle_banner_hr" /> <!-- Change behaviour of tag items to continue on next time i.s.o. comma seperated --> <div style="display: display._show"><b>{_show_label}:</b> {_show}</div> <div style="display: display._crossover"><b>{_crossover_label}:</b> {_crossover}</div> <div style="display: display._m_char"><b>{_m_char_label}:</b> {_m_char}</div> <div style="display: display._m_pair"><b>{_m_pair_label}:</b> {_m_pair}</div> <div style="display: display._genre"><b>{_genre_label}:</b> {_genre}</div> <br> <div style="display: display.pubdate"><b>{pubdate_label}:</b> {pubdate} - <b>{_last_update_label}:</b> {_last_update}</div> <div style="display: display._status"><b>{_status_label}:</b> {_status}</div> <tr> <td class="cbj_header" colspan="2"><hr class="metadata_divider" /></td> </tr> <div class="cbj_comments"><b>Summery:</b> {comments}</div> <tr> <td class="cbj_header" colspan="2"><hr class="metadata_divider" /></td> </tr> <div style="display: display.rating"><b>{rating_label}:</b> {rating}</div> <div class="cbj_comments">{_review}</div> </body> </html> |
07-09-2024, 12:53 PM | #133 |
Junior Member
Posts: 2
Karma: 10
Join Date: Jul 2023
Device: Kindle Oasis
|
Changing font of book jackets of epub files after using Polish tool
Good day! I was wondering if there was a way to change the font of the embedded book jacket for epub files after using the Polish tool?
It currently appears like this but I'm not really a fan of the font. |
07-09-2024, 08:00 PM | #134 |
null operator (he/him)
Posts: 20,997
Karma: 27620706
Join Date: Mar 2012
Location: Sydney Australia
Device: none
|
See ==>> Overriding icons, templates, et cetera
You need to copy the 'app/resources/jacket' folder from where you installed calibre to your configuration folder and edit the stylesheet and template. There's a button in Preferences->Miscellaneous to open the configuration folder. Close calibre before doing the edits. BR |
10-12-2024, 04:02 AM | #135 |
Member
Posts: 10
Karma: 10
Join Date: Sep 2024
Device: iOS, Kindle PWSE
|
Hello!
While successful in using Calibre and deDRM, when I side load my books onto my Kindle - it does not show the titles as I have edited in metadata? I have attempted to reconvert and polish and am at a loss what to do next. TYIA! |
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
New polish sources | fenuks | Recipes | 0 | 10-02-2011 10:18 AM |
Google unveils new tool for searching its digitized books | DMcCunney | News | 4 | 12-19-2010 07:58 PM |
Google uses anti-fraud tool to help digitize books | Wetdogeared | News | 14 | 09-18-2009 09:51 PM |
eLibPro 1.3 - Windows tool to organize your e-books | Alexander Turcic | Deals and Resources (No Self-Promotion or Affiliate Links) | 1 | 02-06-2005 10:44 PM |