Register Guidelines E-Books Today's Posts Search

Go Back   MobileRead Forums > E-Book Software > Calibre

Notices

Reply
 
Thread Tools Search this Thread
Old 06-18-2016, 06:00 AM   #1
Grins
Connoisseur
Grins doesn't litterGrins doesn't litterGrins doesn't litter
 
Posts: 58
Karma: 216
Join Date: May 2009
Location: Germany
Device: Kobo(s), Pocketbook(s), MacBook Pro, iPhone
Book jacket with conditional metadata?

Is there any way to use user-defined metadata (user defined columns etc.) within the book jacket - but only if certain conditions are given?

Example: I have created a column with series-like information describing the year the Hugo Award was given for the best SF novel. So the column name is "Hugo Award" and the series-like information is the year. I managed to modify the book jacket template and it works just fine. BUT: Not all my books are SF books. Is there any way to prevent i.e. historical novels having this information included in the book jacket?
Grins is offline   Reply With Quote
Old 06-18-2016, 07:58 AM   #2
DaltonST
Deviser
DaltonST ought to be getting tired of karma fortunes by now.DaltonST ought to be getting tired of karma fortunes by now.DaltonST ought to be getting tired of karma fortunes by now.DaltonST ought to be getting tired of karma fortunes by now.DaltonST ought to be getting tired of karma fortunes by now.DaltonST ought to be getting tired of karma fortunes by now.DaltonST ought to be getting tired of karma fortunes by now.DaltonST ought to be getting tired of karma fortunes by now.DaltonST ought to be getting tired of karma fortunes by now.DaltonST ought to be getting tired of karma fortunes by now.DaltonST ought to be getting tired of karma fortunes by now.
 
DaltonST's Avatar
 
Posts: 2,265
Karma: 2090983
Join Date: Aug 2013
Location: Texas
Device: none
Generic Book Awards

@Grins:

As an alternative design, the "Book Awards" section of this post may be of interest to you: https://www.mobileread.com/forums/sho...d.php?t=261712

One of its attachments has a table of 4,532 books with each book's multiple awards, and ready to be imported into Calibre.

See the attached example for Larry Niven.

If it is worth it to you, with a little extra work you could append the year of the award to the award name. Or not.


DaltonST
Attached Thumbnails
Click image for larger version

Name:	book_awards_larry_niven.jpg
Views:	229
Size:	147.2 KB
ID:	149470  
DaltonST is offline   Reply With Quote
Advert
Old 06-19-2016, 05:25 AM   #3
Grins
Connoisseur
Grins doesn't litterGrins doesn't litterGrins doesn't litter
 
Posts: 58
Karma: 216
Join Date: May 2009
Location: Germany
Device: Kobo(s), Pocketbook(s), MacBook Pro, iPhone
@ DaltonST: Thank you for that suggestion! Looks like a comfortable way if you don't already have the awards information and want to collect them in some easy manner. Nice!

Actually I am looking for a way / procedure / programming example to include various metadata into the book jacket using conditionally expression like "if .... then ... else endif".

Any suggestions to that?
Grins is offline   Reply With Quote
Old 07-01-2016, 01:47 AM   #4
eschwartz
Ex-Helpdesk Junkie
eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.
 
eschwartz's Avatar
 
Posts: 19,421
Karma: 85400180
Join Date: Nov 2012
Location: The Beaten Path, USA, Roundworld, This Side of Infinity
Device: Kindle Touch fw5.3.7 (Wifi only)
I would assume the book jacket does not include elements for columns that are empty.

Presumably the SF Hugo Award column has only been filled in for SF books?
eschwartz is offline   Reply With Quote
Reply


Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Need help changing template for Metadata Book Jacket jecilop Calibre 14 10-14-2018 06:27 AM
Adding book jacket metadata jakewoodblues Plugins 2 11-02-2014 09:11 PM
Language in book jacket... or as metadata? enriquep Library Management 4 05-02-2014 08:05 PM
Polish Book Metadata Jacket Shows Tags Twice. Penny_Dreadful Calibre 2 03-17-2014 09:09 AM
Book Jacket Metadata GeckoFriend Library Management 3 03-23-2013 07:48 AM


All times are GMT -4. The time now is 05:36 AM.


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