05-04-2011, 01:46 PM | #151 |
Grand Sorcerer
Posts: 6,212
Karma: 16534894
Join Date: Sep 2009
Location: UK
Device: Kobo: KA1, ClaraHD, Forma, Libra2, Clara2E. PocketBook: TouchHD3
|
I agree totally with theducks. Nothing would persuade me to do any kind of "bulk automatic repair" on a set of epubs. I'm all for a set of magic buttons which each do a particular epub repair, but I want to look at the result afterwards to make sure I haven't wrecked anything.
Mind you I do tend to be over-cautious. I don't do bulk conversions or bulk metadata downloads either |
05-04-2011, 07:00 PM | #152 |
US Navy, Retired
Posts: 9,864
Karma: 13806776
Join Date: Feb 2009
Location: North Carolina
Device: Icarus Illumina XL HD, Nexus 7
|
For jacket removal and zeroing of page-template I would be willing to throw the dice once I verified it worked on a few books. These two items aren't likely to blow up any book.
Looking forward to trying these features out. |
05-04-2011, 07:13 PM | #153 |
Calibre Plugins Developer
Posts: 4,637
Karma: 2162064
Join Date: Oct 2010
Location: Australia
Device: Kindle Oasis
|
I'm not far away from releasing the next Quality Check version (got one more "Check" I am going to add related to navpoints in ncx files).
You can see something else in the top right that is also in progress... @jackie/theducks - obviously the choice is entirely yours as to whether to do stuff manually or use a tool. Quality Check will allow you to "find" such cases without touching the files. Obviously my goal with the plugin that "fixes" the ePubs is that any changes it makes are done in the most conservative and safest way possible. It has to be a "no-brainer" decision for any feature that gets added to it. |
05-04-2011, 09:09 PM | #154 | |
Wizard
Posts: 1,337
Karma: 123455
Join Date: Apr 2009
Location: Malaysia
Device: PRS-650, iPhone
|
Quote:
@JackieW, part of the thinking behind this is to address a feature request that you opened a while back, your 'epub conversion lite' idea: http://oldbugs.calibre-ebook.com/ticket/8252 The idea is to be able to automatically do any individual function that Calibre's conversion pipeline allows while avoiding doing a 'full' conversion. This isn't really possible with any other ebook formats, but since epub is zipped OEB and OEB is Calibre's intermediate format for all conversions it's an option in this case. |
|
05-05-2011, 12:21 PM | #155 | |
Grand Sorcerer
Posts: 6,212
Karma: 16534894
Join Date: Sep 2009
Location: UK
Device: Kobo: KA1, ClaraHD, Forma, Libra2, Clara2E. PocketBook: TouchHD3
|
Quote:
I look forward to whatever you come up with. I'm sure it will be better than anything I write. |
|
05-05-2011, 12:31 PM | #156 |
Grand Sorcerer
Posts: 6,212
Karma: 16534894
Join Date: Sep 2009
Location: UK
Device: Kobo: KA1, ClaraHD, Forma, Libra2, Clara2E. PocketBook: TouchHD3
|
Just to clarify, I will be more than happy to use your automatic fix tools. I just want to apply them one at a time not in bulk. I hope no offense was taken, I love your plugins.
|
05-05-2011, 12:50 PM | #157 |
Calibre Plugins Developer
Posts: 4,637
Karma: 2162064
Join Date: Oct 2010
Location: Australia
Device: Kindle Oasis
|
@jackie_w - I didn't see it as offensive in the slightest. There are certain things I don't do in bulk either. Conversions is top of my list - I cringe when I see people posting about doing thousands at a time or whatever. I suppose that is fine if you don't ever intend to actually read them. No wonder there is so many crap conversions floating around out there with lost quotes, bad encodings, embedded page numbers, etc.
The functions I had in mind for the Clean ePub plugin would never need to be applied to a book that I have converted, as I know it is already in a state I am happy with. However I do have a big backlog of stuff that hasn't yet had my TLC to make it into my "master" library - so if I can run a bunch of things against that mess in bulk then provided as I say I have confidence I am not destroying the ePub it should save me a lot of work. And others who use it of course... |
05-05-2011, 03:09 PM | #158 |
Calibre Plugins Developer
Posts: 4,637
Karma: 2162064
Join Date: Oct 2010
Location: Australia
Device: Kindle Oasis
|
v1.5 Released
Changes in this release:
This started off as a minor release and become rather more. Hopefully those of you who are concerned with the quality of their ePubs will find a few things to like out of that lot. Identifying is one thing - fixing will be another. As some will have gathered from the last few pages I have started another plugin which will allow automating the remedy for many of these items without requiring you to do a conversion. Enjoy, I look forward to your feedback. |
05-05-2011, 04:04 PM | #159 |
Well trained by Cats
Posts: 29,809
Karma: 54830978
Join Date: Aug 2009
Location: The Central Coast of California
Device: Kobo Libra2,Kobo Aura2v1, K4NT(Fixed: New Bat.), Galaxy Tab A
|
Do you know how much work you caused
I just did about 10 of the checks. (Using Natty Narwhal(32) today) I opened a number of each type of error in Sigil. Unfortunately, the report was correct Kiwidude does it again |
05-05-2011, 05:18 PM | #160 |
Guru
Posts: 655
Karma: 64171
Join Date: Sep 2010
Location: Kent, England, Sol 3, ZZ9 plural Z Alpha
Device: Sony PRS-300, Kobo Aura HD, iPad (Marvin)
|
Wonderful work. Loving it. Thanks kiwidude.
|
05-05-2011, 06:09 PM | #161 |
Calibre Plugins Developer
Posts: 4,637
Karma: 2162064
Join Date: Oct 2010
Location: Australia
Device: Kindle Oasis
|
Thanks guys.
A post release thought I have had is that in the next release I will change the check for unmanifested files. By definition currently it is a superset of the bookmarks and plist files, plus any other "stray" files you may have hiding in your epubs. Instead I think I should make it a check for "other" files excluding plist and bookmarks ones. That way if you decide to for instance retain Calibre's ability to open an epub at the last page read in its ebook viewer, you could still detect other stray files lurking within with this check. @Idolse - I think that is two of the four items off your checklist you posted here. The other two items you mentioned were checking for embedded fonts in the opf file, and checking for svg files. If either of these is simple to describe in a PM let me know. Or if you want to code them yourself to send to me then take a look at check_epub.py where all the ePub checks are, and the top of config.py where you define a menu item. |
05-11-2011, 11:54 AM | #162 |
Addict
Posts: 293
Karma: 21022
Join Date: Mar 2011
Location: NL
Device: Sony PRS-650
|
I still love it.
Yet another option could be to check if date == pubdate (I do not know the value used for the date column...) If those are the same, You have added the book but apparently not (yet) set the publication date. |
05-11-2011, 12:16 PM | #163 |
Calibre Plugins Developer
Posts: 4,637
Karma: 2162064
Join Date: Oct 2010
Location: Australia
Device: Kindle Oasis
|
Nice idea drMerry, I'll add it to the list for the next version.
It would be nice if Calibre had the option to set an empty publication date by default but that has never made it very high up Kovid's list of issues to address it seems. And given the spasms the Qt datepickers have with empty dates it's likely not a trivial thing to fix. |
05-11-2011, 01:01 PM | #164 | |
Addict
Posts: 293
Karma: 21022
Join Date: Mar 2011
Location: NL
Device: Sony PRS-650
|
Quote:
If you mass-edit, you can remove the update without any problems. This would be the best way because you could search on pubdate:false |
|
05-15-2011, 12:14 PM | #165 |
eBook Junkie
Posts: 1,526
Karma: 1464018
Join Date: May 2010
Location: USA
Device: Kindle Fire 2020, Kindle PW2
|
Kiwidude:
I just had a thought, since I was thinking about the no formats problem which interfered with my goodreads syncing, would it be possible to add an option to this script to check for books with no formats?? |
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
[GUI Plugin] Clipboard Search | kiwidude | Plugins | 29 | 04-02-2024 10:05 PM |
[GUI Plugin] Search the Internet | kiwidude | Plugins | 433 | 04-01-2024 05:48 PM |
[GUI Plugin] Open With | kiwidude | Plugins | 403 | 04-01-2024 08:39 AM |
[GUI Plugin] Kindle Collections (old) | meme | Plugins | 2070 | 08-11-2014 12:02 AM |
[GUI Plugin] Book Sync **Deprecated** | kiwidude | Plugins | 111 | 06-07-2011 07:47 PM |