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 11-29-2014, 12:52 AM   #871
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,785
Karma: 146391129
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 BetterRed View Post
Jon, as you are with jackets so am I with covers, the reason I first used Modify was to remove them. I like to have a jacket with all the metadata in the book, because the readers I have on my Tab are limited to displaying the DC elements only.
As I usually have some sort of net access, I look up any books I need/want to on Goodreads. I like to have my books as slim as possible. I find the jacket is just another page to have to move past.
JSWolf is offline   Reply With Quote
Old 11-29-2014, 08:07 AM   #872
Rev. Bob
Wizard
Rev. Bob ought to be getting tired of karma fortunes by now.Rev. Bob ought to be getting tired of karma fortunes by now.Rev. Bob ought to be getting tired of karma fortunes by now.Rev. Bob ought to be getting tired of karma fortunes by now.Rev. Bob ought to be getting tired of karma fortunes by now.Rev. Bob ought to be getting tired of karma fortunes by now.Rev. Bob ought to be getting tired of karma fortunes by now.Rev. Bob ought to be getting tired of karma fortunes by now.Rev. Bob ought to be getting tired of karma fortunes by now.Rev. Bob ought to be getting tired of karma fortunes by now.Rev. Bob ought to be getting tired of karma fortunes by now.
 
Rev. Bob's Avatar
 
Posts: 1,760
Karma: 9918418
Join Date: Feb 2013
Location: Here on the perimeter, there are no stars
Device: Kobo H2O, iPad mini 3, Kindle Touch
Quote:
Originally Posted by BetterRed View Post
Jon, as you are with jackets so am I with covers, the reason I first used Modify was to remove them. I like to have a jacket with all the metadata in the book, because the readers I have on my Tab are limited to displaying the DC elements only.
The two things I'm practically guaranteed to do on any book are hack the cover-page code and standardize the OPF metadata. I have my own template for both, and "fixing" the metadata usually involves going online to find the missing pieces. For instance, I love having the dc:description field populated with the publisher's blurb, in case I need a reminder, and I frequently have to change the text of the author's name from "Last, First" to "First Last" and add the opf:file-as="Last, First" attribute. I'm also funny about dc:identifier, in that I prefer for it to be the ISBN (where available) instead of a UUID, and I set all my series book titles to "Series X: Title" - where X is the place in the series, with a leading zero if necessary. That last mod is critical for me, as it keeps me organized. Then there are the CSS mods, where if the book uses something other than medium/default for the size of the main text, I go through and rescale everything.

I'd love to have a plugin that did all of that for me, but it's a complicated enough process that it requires human oversight.
Rev. Bob is offline   Reply With Quote
Advert
Old 11-29-2014, 10:06 AM   #873
zephyrot
Junior Member
zephyrot began at the beginning.
 
zephyrot's Avatar
 
Posts: 7
Karma: 10
Join Date: Nov 2010
Location: Where no man has gone before
Device: BQ Cervantes Touch Light
@rev.bob.

Quote:
Stupid question time:
If the goal is to avoid duplicates, because Calibre is making duplicate files, why not remove the Calibre-made files? That should be much easier to control.
I do want to delete files created by humans. I'm completely fine with calibre generated files. Calibre does it in the way I like, which is something I can't tell about humans

Quote:
The two things I'm practically guaranteed to do on any book are hack the cover-page code and standardize the OPF metadata. I have my own template for both, and "fixing" the metadata usually involves going online to find the missing pieces. For instance, I love having the dc:description field populated with the publisher's blurb, in case I need a reminder, and I frequently have to change the text of the author's name from "Last, First" to "First Last" and add the opf:file-as="Last, First" attribute. I'm also funny about dc:identifier, in that I prefer for it to be the ISBN (where available) instead of a UUID, and I set all my series book titles to "Series X: Title" - where X is the place in the series, with a leading zero if necessary. That last mod is critical for me, as it keeps me organized. Then there are the CSS mods, where if the book uses something other than medium/default for the size of the main text, I go through and rescale everything.
Maybe you know already, but with "Last,First" books I use calibre bulk metadata editor to properly fix them. I do prefer also "First Last" as you. With the series, I was using Calibre Metadata Plugboards to add the series name and index to filenames when uploading files to my old reader. My new ereader does automatic collections with the series names, so now I only have to put the series index in the filename so they are sorted when I check the ereader library. Removing the series name from the filename was a good thing, there are crazy long series names out there (World of Darkness, I'm looking at you!).

@Terisa de morgan:

Quote:
But the main point is: the removed file isn't "sobrecubierta" in English, but the standard name and extension (that's important: jacket.xhtml works, jacket.html doesn't) that calibre uses for including this jacket. You're not removing something which is a normal part of the book, but something calibre has added.
I agree with you. Certainly, "file names + extension" has to be properly set in the plugin. Thanks for pointing it out.
Poor Kiwidude, we are giving him lot of troubles

@BetterRed & Jswolf:

Quote:
Jswolf: That would be a nice option to have Modidy ePub present us with a list of files in the ePub for us to select which ones we want removed and then they can be removed from the OPF and NCX ToC (if there).
Quote:
I think you would need a page preview too, I just looked at an epub from PG, the file names give no clue as to what's in the file.
My personal taste is that "preview" or "file selection" windows would disturb you when processing many books at once, as you have to review one after another and not all books might have the same name for the offending files. Maybe you can use "calibre epub editor" or Sygil when adding one or two books at once. That's what I was doing before finding Kiwidude plugin.
But I do understand your points here.

Poor Kiwidude, indeed
zephyrot is offline   Reply With Quote
Old 11-29-2014, 10:11 AM   #874
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,785
Karma: 146391129
Join Date: Nov 2006
Location: Roslindale, Massachusetts
Device: Kobo Libra 2, Kobo Aura H2O, PRS-650, PRS-T1, nook STR, PW3
Take a look at the EpubSplit plugin. It presents a list of all the XML files in a fairly usable way. It doesn't show the content, but if you really need to see, you could use Edit Book to double check before deleting.
JSWolf is offline   Reply With Quote
Old 11-29-2014, 01:14 PM   #875
theducks
Well trained by Cats
theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.
 
theducks's Avatar
 
Posts: 31,068
Karma: 60358908
Join Date: Aug 2009
Location: The Central Coast of California
Device: Kobo Libra2,Kobo Aura2v1, K4NT(Fixed: New Bat.), Galaxy Tab A
The Quality Check Plugin will tell you which have jackets (or other stuff)

Why not run that first (apply a cleanup needed tag via bulk metadata edit)
theducks is offline   Reply With Quote
Advert
Old 11-29-2014, 04:31 PM   #876
JimmXinu
Plugin Developer
JimmXinu ought to be getting tired of karma fortunes by now.JimmXinu ought to be getting tired of karma fortunes by now.JimmXinu ought to be getting tired of karma fortunes by now.JimmXinu ought to be getting tired of karma fortunes by now.JimmXinu ought to be getting tired of karma fortunes by now.JimmXinu ought to be getting tired of karma fortunes by now.JimmXinu ought to be getting tired of karma fortunes by now.JimmXinu ought to be getting tired of karma fortunes by now.JimmXinu ought to be getting tired of karma fortunes by now.JimmXinu ought to be getting tired of karma fortunes by now.JimmXinu ought to be getting tired of karma fortunes by now.
 
JimmXinu's Avatar
 
Posts: 6,973
Karma: 4604635
Join Date: Dec 2011
Location: Midwest USA
Device: Kobo Clara Colour running KOReader
Quote:
Originally Posted by JSWolf View Post
Take a look at the EpubSplit plugin. It presents a list of all the XML files in a fairly usable way. It doesn't show the content, but if you really need to see, you could use Edit Book to double check before deleting.
FYI, EpubSplit shows you the beginning of each (x)html file as a tooltip when you mouse over the file name.
JimmXinu is offline   Reply With Quote
Old 11-29-2014, 04:34 PM   #877
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,785
Karma: 146391129
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 JimmXinu View Post
FYI, EpubSplit shows you the beginning of each (x)html file as a tooltip when you mouse over the file name.
I forgot about that. Thanks for the reminder.
JSWolf is offline   Reply With Quote
Old 11-29-2014, 06:56 PM   #878
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,785
Karma: 146391129
Join Date: Nov 2006
Location: Roslindale, Massachusetts
Device: Kobo Libra 2, Kobo Aura H2O, PRS-650, PRS-T1, nook STR, PW3
I have a request for Modify ePub. I'd like to have an option to remove all Amazon media queries found in the CSS. This is ePub, we don't need them. Thanks.

Last edited by JSWolf; 11-29-2014 at 06:59 PM.
JSWolf is offline   Reply With Quote
Old 11-29-2014, 07:56 PM   #879
BetterRed
null operator (he/him)
BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.
 
Posts: 21,737
Karma: 30237526
Join Date: Mar 2012
Location: Sydney Australia
Device: none
Quote:
Originally Posted by JSWolf View Post
I find the jacket is just another page to have to move past.
That's why I hacked Modify to put it at the back. Most of my metadata is created by me, sadly Goodreads don't feature 'books' published by BCG, McKinseys, ECB etc :lol:

BR
BetterRed is offline   Reply With Quote
Old 11-30-2014, 05:09 AM   #880
Terisa de morgan
Grand Sorcerer
Terisa de morgan ought to be getting tired of karma fortunes by now.Terisa de morgan ought to be getting tired of karma fortunes by now.Terisa de morgan ought to be getting tired of karma fortunes by now.Terisa de morgan ought to be getting tired of karma fortunes by now.Terisa de morgan ought to be getting tired of karma fortunes by now.Terisa de morgan ought to be getting tired of karma fortunes by now.Terisa de morgan ought to be getting tired of karma fortunes by now.Terisa de morgan ought to be getting tired of karma fortunes by now.Terisa de morgan ought to be getting tired of karma fortunes by now.Terisa de morgan ought to be getting tired of karma fortunes by now.Terisa de morgan ought to be getting tired of karma fortunes by now.
 
Terisa de morgan's Avatar
 
Posts: 6,636
Karma: 12595249
Join Date: Jun 2009
Location: Madrid, Spain
Device: Kobo Clara/Aura One/Forma,XiaoMI 5, iPad, Huawei MediaPad, YotaPhone 2
Quote:
Originally Posted by BetterRed View Post
- I have a hacked version of Modify that puts the calibre jacket at the back of the book.

It would be nice if Modify had an option to put the jacket.xhtml after the titlepage.xhtml (as it does now) or as the last file in the book. I won't offer my hack - because it removes functionality that others undoubtedly use.

BR
Thank you, you have given me an idea. I'm going to do the first option and another for adding link to the toc.ncx. It it works, perhaps I'll go to the configuration route
Terisa de morgan is offline   Reply With Quote
Old 01-12-2015, 06:41 AM   #881
Francois_C
Zealot
Francois_C can illuminate an eclipseFrancois_C can illuminate an eclipseFrancois_C can illuminate an eclipseFrancois_C can illuminate an eclipseFrancois_C can illuminate an eclipseFrancois_C can illuminate an eclipseFrancois_C can illuminate an eclipseFrancois_C can illuminate an eclipseFrancois_C can illuminate an eclipseFrancois_C can illuminate an eclipseFrancois_C can illuminate an eclipse
 
Francois_C's Avatar
 
Posts: 106
Karma: 8300
Join Date: Jul 2012
Location: France
Device: Kobo Aura H2O, Kobo Touch, Kobo Mini
I love the Modify ePub plug-in and use it very often, but I'd like to have an option in "Add/Replace Cover" that would prevent the cover from being stretched on my Kobo, so that a slim girl on a chick-lit book cover becomes an overweighted matron, for instance, that is, writing preserveAspectRatio="xMidYMid meet" instead of preserveAspectRatio="none" without using the Calibre editor afterwards.

Thanks.

Last edited by Francois_C; 01-12-2015 at 06:45 AM.
Francois_C is offline   Reply With Quote
Old 01-12-2015, 08:04 AM   #882
DoctorOhh
US Navy, Retired
DoctorOhh ought to be getting tired of karma fortunes by now.DoctorOhh ought to be getting tired of karma fortunes by now.DoctorOhh ought to be getting tired of karma fortunes by now.DoctorOhh ought to be getting tired of karma fortunes by now.DoctorOhh ought to be getting tired of karma fortunes by now.DoctorOhh ought to be getting tired of karma fortunes by now.DoctorOhh ought to be getting tired of karma fortunes by now.DoctorOhh ought to be getting tired of karma fortunes by now.DoctorOhh ought to be getting tired of karma fortunes by now.DoctorOhh ought to be getting tired of karma fortunes by now.DoctorOhh ought to be getting tired of karma fortunes by now.
 
DoctorOhh's Avatar
 
Posts: 9,897
Karma: 13806776
Join Date: Feb 2009
Location: North Carolina
Device: Icarus Illumina XL HD, Kindle PaperWhite SE 11th Gen
Quote:
Originally Posted by Francois_C View Post
I love the Modify ePub plug-in and use it very often, but I'd like to have an option in "Add/Replace Cover" that would prevent the cover from being stretched on my Kobo, so that a slim girl on a chick-lit book cover becomes an overweighted matron, for instance, that is, writing preserveAspectRatio="xMidYMid meet" instead of preserveAspectRatio="none" without using the Calibre editor afterwards.

Thanks.
Try setting Preserve cover aspect ratio in Preferences - Output Options - Epub output, see attached. I'm not sure but I think the Modify epub plugin respects this setting.

Attached Thumbnails
Click image for larger version

Name:	output_options.jpg
Views:	330
Size:	94.1 KB
ID:	133697  
DoctorOhh is offline   Reply With Quote
Old 01-12-2015, 08:51 AM   #883
PeterT
Grand Sorcerer
PeterT ought to be getting tired of karma fortunes by now.PeterT ought to be getting tired of karma fortunes by now.PeterT ought to be getting tired of karma fortunes by now.PeterT ought to be getting tired of karma fortunes by now.PeterT ought to be getting tired of karma fortunes by now.PeterT ought to be getting tired of karma fortunes by now.PeterT ought to be getting tired of karma fortunes by now.PeterT ought to be getting tired of karma fortunes by now.PeterT ought to be getting tired of karma fortunes by now.PeterT ought to be getting tired of karma fortunes by now.PeterT ought to be getting tired of karma fortunes by now.
 
Posts: 13,534
Karma: 78910202
Join Date: Nov 2007
Location: Toronto
Device: Libra H2O, Libra Colour
Quote:
Originally Posted by DoctorOhh View Post
Try setting Preserve cover aspect ratio in Preferences - Output Options - Epub output, see attached. I'm not sure but I think the Modify epub plugin respects this setting.
From reading the code it does seem to respect that setting.
PeterT is offline   Reply With Quote
Old 01-12-2015, 09:04 AM   #884
theducks
Well trained by Cats
theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.
 
theducks's Avatar
 
Posts: 31,068
Karma: 60358908
Join Date: Aug 2009
Location: The Central Coast of California
Device: Kobo Libra2,Kobo Aura2v1, K4NT(Fixed: New Bat.), Galaxy Tab A
As does 'Polish'
theducks is offline   Reply With Quote
Old 01-16-2015, 05:29 AM   #885
Francois_C
Zealot
Francois_C can illuminate an eclipseFrancois_C can illuminate an eclipseFrancois_C can illuminate an eclipseFrancois_C can illuminate an eclipseFrancois_C can illuminate an eclipseFrancois_C can illuminate an eclipseFrancois_C can illuminate an eclipseFrancois_C can illuminate an eclipseFrancois_C can illuminate an eclipseFrancois_C can illuminate an eclipseFrancois_C can illuminate an eclipse
 
Francois_C's Avatar
 
Posts: 106
Karma: 8300
Join Date: Jul 2012
Location: France
Device: Kobo Aura H2O, Kobo Touch, Kobo Mini
Thanks, DoctorOhh.
It seems to work, but I did only one try, and maybe this was not an experimentum crucis:
I changed the Calibre output setting, then dropped an ODT source I made with a cover as first page, into the books list, converted it to epub, then dropped a new cover into the folder, and launched the plugin with only "Insert or change cover" checked, and the cover was "xMiYMid meet". I did not open the ebook editor before using the plugin, as it automatically reloads the new cover.jpg.
Francois_C 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 08:50 PM.


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