View Single Post
Old 08-09-2012, 06:35 AM   #10
GRiker
Comparer of the Ephemeris
GRiker ought to be getting tired of karma fortunes by now.GRiker ought to be getting tired of karma fortunes by now.GRiker ought to be getting tired of karma fortunes by now.GRiker ought to be getting tired of karma fortunes by now.GRiker ought to be getting tired of karma fortunes by now.GRiker ought to be getting tired of karma fortunes by now.GRiker ought to be getting tired of karma fortunes by now.GRiker ought to be getting tired of karma fortunes by now.GRiker ought to be getting tired of karma fortunes by now.GRiker ought to be getting tired of karma fortunes by now.GRiker ought to be getting tired of karma fortunes by now.
 
Posts: 1,496
Karma: 424697
Join Date: Mar 2009
Device: iPad
I've reviewed the code (0.8.63). It works correctly, but the contents of the custom column are added only if there's a value in the custom column.

In other words, if you have a custom column whose lookup name is fandom1, and the column is empty, then nothing is added to the jacket template.

To review the steps for adding the contents of a custom column to a book jacket:
  1. Go to Preferences|Advanced|Miscellaneous. Click the Open calibre configuration directory button.
  2. Within your configuration directory, navigate to (or create) a subdirectory resources/jacket
  3. Go to your calibre program directory, navigate to the resources/jacket folder.
  4. Copy stylesheet.css and template.xhtml from resources/jacket in calibre's program directory to resources/jacket in your configuration directory.
  5. Edit the copy of template.xhtml in your configuration directory to add a custom column. The instructions are in a comment at the end of the file.
  6. Convert the book, selecting Insert metadata as page at start of book in the Structure Detection section of the Conversion dialog.

G

Last edited by GRiker; 08-09-2012 at 10:21 AM.
GRiker is offline   Reply With Quote