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 04-12-2011, 10:17 PM   #61
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,878
Karma: 13806776
Join Date: Feb 2009
Location: North Carolina
Device: Icarus Illumina XL HD, Kindle PaperWhite SE 11th Gen
Quote:
Originally Posted by kiwidude View Post
using the "Check books without jackets".
I have a question, how do you check for a Book jacket? During ePub to ePub conversions calibre checks for a properly implemented jacket and if found it removes the old book jacket and replaces it with the new book jacket. This update was in calibre 0.6.50.

Quote:
Release: 0.6.50 [30 Apr, 2010]

Bug Fixes

* When converting EPUB to EPUB multiple times and creating book jacket from metadata, if an existing book jacket is found, replace it. This will only work with EPUBs created with the current release onwards
I ask because any book jacket created prior to 0.6.50 is not a proper book jacket and if I update any book created before 0.6.50 I will end up with a old book jacket and a new book jacket.

Does your QA check ever identify books converted prior to 0.6.50 as having a book jacket? It seems you should be able to use the code Kovid uses to identify proper book jackets.

This was really my motivation in wanting to know when a book was created. Maybe a QA check ePubs created before version 0.x.xx would work. Or maybe your QA check for a book jacket already takes this into account.

Last edited by DoctorOhh; 04-12-2011 at 10:20 PM.
DoctorOhh is offline   Reply With Quote
Old 04-12-2011, 10:28 PM   #62
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,692
Karma: 2162246
Join Date: Oct 2010
Location: Australia
Device: Kindle Oasis
Quote:
Originally Posted by dwanthny View Post
I have a question, how do you check for a Book jacket?
I'm afraid Calibre 0.6.50 is the equivalent of being before I was born . So I have no idea about the old logic versus the new. What I can do is tell you what my check does...
  • Looks for a file named 'jacket.xhtml'. If found, looks inside it for either of:
  • <meta content="jacket" name="calibre-content"
  • <meta name="calibre-content" content="jacket"

EDIT: At purely a guess I would say perhaps in 0.6.50 they added the <meta> tag, which is why the comment says it will only work from that version onwards. In which case my check won't pickup such jackets in books either. That is speculation but is what I would infer from the description you posted if I had written the code, but I am only guessing.

Last edited by kiwidude; 04-12-2011 at 10:31 PM.
kiwidude is offline   Reply With Quote
Advert
Old 04-12-2011, 10:57 PM   #63
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: 30,506
Karma: 58055868
Join Date: Aug 2009
Location: The Central Coast of California
Device: Kobo Libra2,Kobo Aura2v1, K4NT(Fixed: New Bat.), Galaxy Tab A
Quote:
Originally Posted by kiwidude View Post
Hmmm, you can't unless you use the version attached to this post. Run in debug and it should hopefully give you the book id and title.

The most likely cause I can think of for that is some sort of corruption, perhaps a file locked or something. Does Check Library show any issues?
Ran your new PI in debug mode. Ran fine

THEN I checked the DB for errors:
There were errors (file 632).

Thanks
theducks is offline   Reply With Quote
Old 04-12-2011, 10:58 PM   #64
kovidgoyal
creator of calibre
kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.
 
kovidgoyal's Avatar
 
Posts: 44,653
Karma: 24495948
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
Yes, the <meta> tag is what is used to identify jackets.
kovidgoyal is offline   Reply With Quote
Old 04-12-2011, 11:27 PM   #65
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,878
Karma: 13806776
Join Date: Feb 2009
Location: North Carolina
Device: Icarus Illumina XL HD, Kindle PaperWhite SE 11th Gen
Quote:
Originally Posted by kovidgoyal View Post
Yes, the <meta> tag is what is used to identify jackets.
Regardless of the name of the file, that explains what I'm seeing. Thanks.

Quote:
Originally Posted by kiwidude View Post
EDIT: At purely a guess I would say perhaps in 0.6.50 they added the <meta> tag, which is why the comment says it will only work from that version onwards. In which case my check won't pickup such jackets in books either. That is speculation but is what I would infer from the description you posted if I had written the code, but I am only guessing.
You answered my question. I have quite a few that calibre recognizes as having a book jacket and automatically updates on a new conversion that the QA plugin marks as having no jacket. It seems these are labeled jacket1 vice jacket.

I'll send you a link to a sample book in PM.
DoctorOhh is offline   Reply With Quote
Advert
Old 04-13-2011, 08:24 AM   #66
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,692
Karma: 2162246
Join Date: Oct 2010
Location: Australia
Device: Kindle Oasis
Thanks Walt, I've changed the logic to cater for that jacket naming in the EPUB. I will include it in the next release shortly.
kiwidude is offline   Reply With Quote
Old 04-13-2011, 09:39 AM   #67
nynaevelan
eBook Junkie
nynaevelan ought to be getting tired of karma fortunes by now.nynaevelan ought to be getting tired of karma fortunes by now.nynaevelan ought to be getting tired of karma fortunes by now.nynaevelan ought to be getting tired of karma fortunes by now.nynaevelan ought to be getting tired of karma fortunes by now.nynaevelan ought to be getting tired of karma fortunes by now.nynaevelan ought to be getting tired of karma fortunes by now.nynaevelan ought to be getting tired of karma fortunes by now.nynaevelan ought to be getting tired of karma fortunes by now.nynaevelan ought to be getting tired of karma fortunes by now.nynaevelan ought to be getting tired of karma fortunes by now.
 
nynaevelan's Avatar
 
Posts: 1,526
Karma: 1464018
Join Date: May 2010
Location: USA
Device: Kindle Fire 2020, Kindle PW2
Howdy Kiwidude:

Me again. A question for you in the check ISBN section, I have several books that are either only available as an ebook or I do not have an ISBN for them, instead I have Amazon's ASIN. Is there a way to avoid these books failing during the ISBN check? Also, I have some books that I created myself, therefore they do not have an ISBN either, I would like to have these books filtered out also. What would you suggest is the best way of going about doing this??

Nyn
nynaevelan is offline   Reply With Quote
Old 04-13-2011, 09:46 AM   #68
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,692
Karma: 2162246
Join Date: Oct 2010
Location: Australia
Device: Kindle Oasis
Check ISBN only checks books that have a value in the ISBN, so for your own books you should not have anything in that field?

As for ASIN, maybe Kovid will correct me if wrong but I believe that once the new metadata API is finished in Calibre 0.8 that ASIN will be retrieved and stored in a separate ASIN identifier field. So Quality Check will be correct in flagging ASIN values that are in ISBN as these should be "moved" into the new proper place.
kiwidude is offline   Reply With Quote
Old 04-13-2011, 10:47 AM   #69
nynaevelan
eBook Junkie
nynaevelan ought to be getting tired of karma fortunes by now.nynaevelan ought to be getting tired of karma fortunes by now.nynaevelan ought to be getting tired of karma fortunes by now.nynaevelan ought to be getting tired of karma fortunes by now.nynaevelan ought to be getting tired of karma fortunes by now.nynaevelan ought to be getting tired of karma fortunes by now.nynaevelan ought to be getting tired of karma fortunes by now.nynaevelan ought to be getting tired of karma fortunes by now.nynaevelan ought to be getting tired of karma fortunes by now.nynaevelan ought to be getting tired of karma fortunes by now.nynaevelan ought to be getting tired of karma fortunes by now.
 
nynaevelan's Avatar
 
Posts: 1,526
Karma: 1464018
Join Date: May 2010
Location: USA
Device: Kindle Fire 2020, Kindle PW2
Thank you, once again you set me on the right path. I will remove the ISBN numbers from my books and just use a saved search to filter out the ASIN books for now.
nynaevelan is offline   Reply With Quote
Old 04-13-2011, 10:54 AM   #70
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,692
Karma: 2162246
Join Date: Oct 2010
Location: Australia
Device: Kindle Oasis
v1.4 Released

Changes in this release:
  • For very small libraries ensure not divide by zero error from displaying status
  • If an error retrieving the format path for a book, dump to debug output
  • For the EPUB jackets check, include numbered jacket files from legacy Calibre conversions
  • Fix bug in check no html comments which had incorrect logic after 1.3 rewrite
  • Add ability to customise the menu to allowing hiding menu items not of interest
kiwidude is offline   Reply With Quote
Old 04-13-2011, 06:56 PM   #71
Noughty
Addict
Noughty is cognizant of many things which escape those who dream only by night.Noughty is cognizant of many things which escape those who dream only by night.Noughty is cognizant of many things which escape those who dream only by night.Noughty is cognizant of many things which escape those who dream only by night.Noughty is cognizant of many things which escape those who dream only by night.Noughty is cognizant of many things which escape those who dream only by night.Noughty is cognizant of many things which escape those who dream only by night.Noughty is cognizant of many things which escape those who dream only by night.Noughty is cognizant of many things which escape those who dream only by night.Noughty is cognizant of many things which escape those who dream only by night.Noughty is cognizant of many things which escape those who dream only by night.
 
Posts: 352
Karma: 103850
Join Date: Apr 2011
Device: Kindle NT
Is it possible to add a feature to search for books without summaries? For books with no comments?
Noughty is offline   Reply With Quote
Old 04-13-2011, 07:09 PM   #72
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,692
Karma: 2162246
Join Date: Oct 2010
Location: Australia
Device: Kindle Oasis
You don't need the plugin to do that:
comments:false
kiwidude is offline   Reply With Quote
Old 04-13-2011, 09:33 PM   #73
nynaevelan
eBook Junkie
nynaevelan ought to be getting tired of karma fortunes by now.nynaevelan ought to be getting tired of karma fortunes by now.nynaevelan ought to be getting tired of karma fortunes by now.nynaevelan ought to be getting tired of karma fortunes by now.nynaevelan ought to be getting tired of karma fortunes by now.nynaevelan ought to be getting tired of karma fortunes by now.nynaevelan ought to be getting tired of karma fortunes by now.nynaevelan ought to be getting tired of karma fortunes by now.nynaevelan ought to be getting tired of karma fortunes by now.nynaevelan ought to be getting tired of karma fortunes by now.nynaevelan ought to be getting tired of karma fortunes by now.
 
nynaevelan's Avatar
 
Posts: 1,526
Karma: 1464018
Join Date: May 2010
Location: USA
Device: Kindle Fire 2020, Kindle PW2
Quote:
Originally Posted by kiwidude View Post
[*]Add ability to customise the menu to allowing hiding menu items not of interest
Works perfectly
nynaevelan is offline   Reply With Quote
Old 04-14-2011, 04:40 AM   #74
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,692
Karma: 2162246
Join Date: Oct 2010
Location: Australia
Device: Kindle Oasis
Quote:
Originally Posted by nynaevelan View Post
Works perfectly
Phew. Thanks for the feedback. Hopefully that should be the last change for this plugin for a while - well until someone comes up with the next idea for it of course.
kiwidude is offline   Reply With Quote
Old 04-14-2011, 09:58 PM   #75
ldolse
Wizard
ldolse is an accomplished Snipe hunter.ldolse is an accomplished Snipe hunter.ldolse is an accomplished Snipe hunter.ldolse is an accomplished Snipe hunter.ldolse is an accomplished Snipe hunter.ldolse is an accomplished Snipe hunter.ldolse is an accomplished Snipe hunter.ldolse is an accomplished Snipe hunter.ldolse is an accomplished Snipe hunter.ldolse is an accomplished Snipe hunter.ldolse is an accomplished Snipe hunter.
 
Posts: 1,337
Karma: 123455
Join Date: Apr 2009
Location: Malaysia
Device: PRS-650, iPhone
Quote:
Originally Posted by kiwidude View Post
Phew. Thanks for the feedback. Hopefully that should be the last change for this plugin for a while - well until someone comes up with the next idea for it of course.
You jinxed yourself I've got a couple ideas I've been thinking about for a bit now. I think this plugin is probably the best destination for these functions, although currently the plugin is really a library quality check vs. a book/epub quality check, so I'm not certain if these would be better suited for another plugin.
  • Check epub for Adobe xpgt files. Extra credit for tying in the Calibre feature in the conversion pipeline which removes the margin from these files.
  • Check the epub manifest for embedded fonts
  • Check to see if the file was created through Calibre's conversion pipeline (css might be the most reliable check for epub, not sure about other formats).
  • Check for use of SVG files in epub (admittedly more complicated as they can either be defined inline in the html or as files.)
ldolse is offline   Reply With Quote
Reply


Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
[GUI Plugin] Search the Internet kiwidude Plugins 434 09-30-2024 04:04 AM
[GUI Plugin] Clipboard Search kiwidude Plugins 29 04-02-2024 11:05 PM
[GUI Plugin] Open With kiwidude Plugins 403 04-01-2024 09:39 AM
[GUI Plugin] Kindle Collections (old) meme Plugins 2070 08-11-2014 01:02 AM
[GUI Plugin] Book Sync **Deprecated** kiwidude Plugins 111 06-07-2011 08:47 PM


All times are GMT -4. The time now is 09:31 AM.


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