Quote:
Originally Posted by bcollier
Thanks, is there a reason the "print" statements don't show up in the command line from within a recipe? when I do a print "hello world" from elsewhere in the application it prints to the command line in windows (when calling with calibre-debug -g). Or is there a method for writing to a log file? I just have some strange things happening and it would be helpful to have a method to see what is happening with the text.
|
Use
self.log() to print diagnostics.
Quote:
also, is there a way to see the mobi metadata (the summaries for each article) without having to copy them to my kindle each time? mobi readers will show the metadata for the whole book, but I don't see anything that does it for every article within the file.
|
I don't understand what you're asking. If you want to see the summaries while the recipe's being built, write a diagnostic subroutine to dump the metadata.
G