02-25-2014, 02:20 PM | #481 | ||
Ex-Helpdesk Junkie
Posts: 19,422
Karma: 85397180
Join Date: Nov 2012
Location: The Beaten Path, USA, Roundworld, This Side of Infinity
Device: Kindle Touch fw5.3.7 (Wifi only)
|
Quote:
"author_sort" was correctly set, but it was also being ignored altogether. Quote:
Last edited by eschwartz; 02-25-2014 at 03:31 PM. |
||
03-04-2014, 12:08 PM | #482 |
Connoisseur
Posts: 89
Karma: 14894
Join Date: Oct 2007
Location: Germany
Device: KPW G2 , 10" tablet
|
Thanks.
I have decided to use a custom hierarchical column of "genre" in place of "tags". Other than that I went with the plugboard as mentioned and actually think it is better than collections, more flexible, better handling and of course no manual piecing together on a 6" screen. That being said: If I should ever introduce new subgenres or something else in my metadata changes, is there a way to get this info to the books on the PW w/o actually deleting them and copying them again? Hendrik |
Advert | |
|
03-04-2014, 02:10 PM | #483 |
Ex-Helpdesk Junkie
Posts: 19,422
Karma: 85397180
Join Date: Nov 2012
Location: The Beaten Path, USA, Roundworld, This Side of Infinity
Device: Kindle Touch fw5.3.7 (Wifi only)
|
Nope. The info must be embedded into the book. As such, it must be re-transferred. The Kobo stores info in a database that calibre will write to, to update this kind of info, but Kindles just read the data directly from the file.
If you were to use jailbreak+Collections Manager Kindlet+Kindle Collections plugin, you could manage all this with Collections which can be refreshed separately. |
03-04-2014, 08:33 PM | #484 |
Addict
Posts: 296
Karma: 1599870
Join Date: Jun 2012
Device: none
|
If anyone's interested, here's an example of using a single template to simulate different templates for multiple libraries. I just set this as my save to disk template so that I could free up some disk space by consolidating my 3 copies of Calibre Portable while still keeping 3 different libraries. Thanks to eschwartz for giving me the idea for this template.
It uses the current_library_name function to identify which library you're working in, and the switch function to branch into different templates based upon each library. Code:
program: switch(current_library_name(), 'Calibre Library', template('{#division}/{#genre}/{#authorlookup}/{series:||/}{series_index:0>3s||_}{#subseries}{#subseries_index:0>3s||_}{title}'), 'Library - Special', template('{#group}/{title}'), 'Library - Working', template('{author_sort}/{series}/{series_index:0>3s}_{title}'), template('{author_sort}/{series}/{series_index:0>3s}_{title}')) To add more libraries, you just have to add another pair of lines. The library names are the folder names containing the libraries. This means it only works if your library folders have unique names even if they're in different parent folders. Note that it works even if one of the templates uses custom columns that don't exist in a different library. For instance, my Main library does not have a Group column, but that doesn't stop me from using the Group column when saving to disk from my Special library. |
03-05-2014, 03:52 AM | #485 |
Connoisseur
Posts: 89
Karma: 14894
Join Date: Oct 2007
Location: Germany
Device: KPW G2 , 10" tablet
|
|
Advert | |
|
03-05-2014, 02:20 PM | #486 |
Ex-Helpdesk Junkie
Posts: 19,422
Karma: 85397180
Join Date: Nov 2012
Location: The Beaten Path, USA, Roundworld, This Side of Infinity
Device: Kindle Touch fw5.3.7 (Wifi only)
|
|
03-06-2014, 04:58 AM | #487 |
Connoisseur
Posts: 89
Karma: 14894
Join Date: Oct 2007
Location: Germany
Device: KPW G2 , 10" tablet
|
Ah, ok, thanks for the information. I will look into it.
|
03-16-2014, 06:54 PM | #488 |
eBook Junkie
Posts: 1,526
Karma: 1464018
Join Date: May 2010
Location: USA
Device: Kindle Fire 2020, Kindle PW2
|
Help with a new Plugboard Please
Hi:
I am having trouble trying to get a plugboard to work correctly. I currently have where I purchased the book as part of my my title so that I can easily add them to the correct collections on a Paperwhite. The field has names like: 1.1 Amazon 1.11 Amazon 1.2 Lendle Borrowed I would like the first seven characters only to show up so they would look like this in the title: 1.1 Amazon --> 1.1 Ama 1.11 Amazon --> 1.11 Am The full plugboard is this: {tags} - {#kcollections:7.2f} - {title} - {#stripped_series:lookup(.\s,#initials,.,#shortene d,series)}{series_index:0>2s| [|] } So the result should be: Fantasy Series - 1.1 Ama - A Memory of Light - WoT Can someone tell me looking at the plugboard above, where I am going wrong? I tried to follow some examples that Eschwartz posted, but it is not working with my clueless mind. |
03-16-2014, 11:41 PM | #489 |
Ex-Helpdesk Junkie
Posts: 19,422
Karma: 85397180
Join Date: Nov 2012
Location: The Beaten Path, USA, Roundworld, This Side of Infinity
Device: Kindle Touch fw5.3.7 (Wifi only)
|
#kcollections should be shortened to only the first three letters, in other words?
7.2f specifies a "float"-type number ("f" is for float). Floats are a type of number that accepts decimals. The 7.2 part says use 7 digits, with 2 digits after the decimal. In other words, you tried to turn a string (textual data) into a float (numerical data). Try using {#kcollections:.3} which will default to using the "s" or string type (since you gave it a string with a name in it) and use only the first three letters. (the "precision".) If you like, you can read an in-depth explanation on template-formatting here: http://docs.python.org/2/library/str...#formatstrings or the dumbed-down calibre-specific version here: http://manual.calibre-ebook.com/temp...ced-formatting. Be warned, either one will involve gory details. |
03-17-2014, 07:12 AM | #490 | |
eBook Junkie
Posts: 1,526
Karma: 1464018
Join Date: May 2010
Location: USA
Device: Kindle Fire 2020, Kindle PW2
|
Quote:
|
|
03-25-2014, 11:40 PM | #491 | |
Ex-Helpdesk Junkie
Posts: 19,422
Karma: 85397180
Join Date: Nov 2012
Location: The Beaten Path, USA, Roundworld, This Side of Infinity
Device: Kindle Touch fw5.3.7 (Wifi only)
|
Quote:
It turns out this actually is possible, quite easily too. (Despite what I said earlier.) I just learned this, and when looking back at this thread remembered the question. Assuming you haven't figured this out on your own yet... Go to: Preferences ==> Conversion ==> Output Options ==> MOBI Output and in the text box marked Personal Doc tag, fill in "[EBOK]" instead of the default "[PDOC]". EBOK is the tag used by official books, PDOC is for personal documents. Like plugboards, this will be applied on the fly as calibre sends it to your Kindle. |
|
03-26-2014, 12:28 AM | #492 |
US Navy, Retired
Posts: 9,864
Karma: 13806776
Join Date: Feb 2009
Location: North Carolina
Device: Icarus Illumina XL HD, Nexus 7
|
|
03-26-2014, 12:43 AM | #493 |
Ex-Helpdesk Junkie
Posts: 19,422
Karma: 85397180
Join Date: Nov 2012
Location: The Beaten Path, USA, Roundworld, This Side of Infinity
Device: Kindle Touch fw5.3.7 (Wifi only)
|
|
03-26-2014, 12:48 AM | #494 |
creator of calibre
Posts: 43,778
Karma: 22666666
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
|
IIRC this field is updated when setting emtadata, which happens whenever a book is exported from the library. (and the update is only applied to exported copy, of course).
|
03-26-2014, 01:01 AM | #495 |
Ex-Helpdesk Junkie
Posts: 19,422
Karma: 85397180
Join Date: Nov 2012
Location: The Beaten Path, USA, Roundworld, This Side of Infinity
Device: Kindle Touch fw5.3.7 (Wifi only)
|
Yup. Makes it much easier, I must say. I'd hate to reconvert all my books, and since EXTH fields can just be updated....
|
Tags |
custom column, tag, tags |
Thread Tools | Search this Thread |
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
custom column i need a little help | shinken | Calibre | 3 | 09-15-2010 03:41 AM |
Using Custom Metadata in Save Template | EJvdH | Calibre | 1 | 07-02-2010 06:06 AM |
Accessories Decalgirl Kindle 2 custom skin template | srmalloy | Amazon Kindle | 6 | 04-09-2010 09:55 PM |
Donations for Custom Recipes | ddavtian | Calibre | 5 | 01-23-2010 04:54 PM |
Help understanding custom recipes | andersent | Calibre | 0 | 12-17-2009 02:37 PM |