Register Guidelines E-Books Search Today's Posts Mark Forums Read

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

Notices

Reply
 
Thread Tools Search this Thread
Old 04-12-2011, 09: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: 8,781
Karma: 12516053
Join Date: Feb 2009
Location: North Carolina
Device: Nexus 7
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 09:20 PM.
DoctorOhh is online now   Reply With Quote
Old 04-12-2011, 09:28 PM   #62
kiwidude
calibre/Sigil 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,224
Karma: 1334002
Join Date: Oct 2010
Location: London, UK
Device: Kindle Paperwhite 3G, iPad 3, iPad Air
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 09:31 PM.
kiwidude is offline   Reply With Quote
Old 04-12-2011, 09:57 PM   #63
theducks
Grand Sorcerer
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: 14,282
Karma: 5495472
Join Date: Aug 2009
Location: The (original) Silicon Valley, USA
Device: Galaxy Tab 2, Astak Pocket Pro, K4NT
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 online now   Reply With Quote
Old 04-12-2011, 09: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: 25,447
Karma: 4961459
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, 10: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: 8,781
Karma: 12516053
Join Date: Feb 2009
Location: North Carolina
Device: Nexus 7
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 online now   Reply With Quote
Old 04-13-2011, 07:24 AM   #66
kiwidude
calibre/Sigil 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,224
Karma: 1334002
Join Date: Oct 2010
Location: London, UK
Device: Kindle Paperwhite 3G, iPad 3, iPad Air
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, 08: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,339
Karma: 1459924
Join Date: May 2010
Location: USA
Device: Kindle Fire HD 2012, Kindle PW2, Galaxy Tab 10.1
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, 08:46 AM   #68
kiwidude
calibre/Sigil 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,224
Karma: 1334002
Join Date: Oct 2010
Location: London, UK
Device: Kindle Paperwhite 3G, iPad 3, iPad Air
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, 09: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,339
Karma: 1459924
Join Date: May 2010
Location: USA
Device: Kindle Fire HD 2012, Kindle PW2, Galaxy Tab 10.1
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, 09:54 AM   #70
kiwidude
calibre/Sigil 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,224
Karma: 1334002
Join Date: Oct 2010
Location: London, UK
Device: Kindle Paperwhite 3G, iPad 3, iPad Air
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, 05: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, 06:09 PM   #72
kiwidude
calibre/Sigil 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,224
Karma: 1334002
Join Date: Oct 2010
Location: London, UK
Device: Kindle Paperwhite 3G, iPad 3, iPad Air
You don't need the plugin to do that:
comments:false
kiwidude is offline   Reply With Quote
Old 04-13-2011, 08: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,339
Karma: 1459924
Join Date: May 2010
Location: USA
Device: Kindle Fire HD 2012, Kindle PW2, Galaxy Tab 10.1
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, 03:40 AM   #74
kiwidude
calibre/Sigil 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,224
Karma: 1334002
Join Date: Oct 2010
Location: London, UK
Device: Kindle Paperwhite 3G, iPad 3, iPad Air
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, 08: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

Thread Tools Search this Thread
Search this Thread:

Advanced Search

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
[GUI Plugin] Open With kiwidude Plugins 228 Today 01:06 AM
[GUI Plugin] Kindle Collections meme Plugins 2058 07-15-2014 01:36 AM
[GUI Plugin] Search the Internet kiwidude Plugins 204 07-13-2014 08:21 PM
[GUI Plugin] Clipboard Search kiwidude Plugins 4 09-11-2011 06:14 AM
[GUI Plugin] Book Sync **Deprecated** kiwidude Plugins 111 06-07-2011 07:47 PM


All times are GMT -4. The time now is 09:50 PM.


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