Quote:
Originally Posted by glos
Hi 
Thanks for this post, super useful!
I have some questions, though, not exactly about shelving, but on how books appear.
btw, I'm using the kobo touch extended to kepubify books and reading lists to sync the books to the device. (I don't think that changes things, right?)
Say I'd like to add informations from custom columns to the book, I see on the first post how to do it for the title, what if I'd like to add them to the author, is it possible? I remember reading someone doing it but I can't find it..
Ex for how it should look like on the kobo library view:
Book title
Series
Author - Y/N - word count
as the author is the shorter string I'd like to add a Y or N coming from the read (#read) column on calibre (Y for Yes, N for Unsorted, not No, as I don't use the No option) and the word count coming from the words (#words) column.
so I suppose I have to use the metadata plugboard, select epub, kobotouchextended, and then write the template for the destination field authors.
Can you help me with a template that would work? 
|
You could start with:
Code:
{authors} - {#read} - {#words}
or
Code:
{author_sort} - {#read} - {#words}
That is fairly close but it will put "Yes" and "No" rather than the first letter. It also doesn't handle either of the two columns being empty.
Quote:
Do I need to re-send all the books or is simply a question of updating the metadata on connect for it to work?
|
Strictly, you need to remove and resend the books. But, the "Update metadata" function of the utilities plugin will now use the plugboards when setting the title and author. I added the a few weeks ago.
Quote:
Would this potentially affect the author shelving if I one day decide to add "authors" to "#myshelves" on the plugin options, so as to have one shelf for each author?
|
No, it shouldn't. The shelves are created from the metadata in the calibre library. The plugboards don't come into it at all.
The issue you will have is sorting on the device. The device uses the last name of the author for sorting. It has to work this out from the string. It usually takes the last word in the author name. With what you want to use, that will probably be the word count. But, of there is a comma in the name, the device takes it as "lastname, firstname" and sorts by the word in front of the comma. Because of that, I think the second version will work better. I'll be very interested to hear what happens when you try.