![]() |
#1 |
Junior Member
![]() Posts: 8
Karma: 10
Join Date: Nov 2010
Device: Ipad Ipod
|
Author Pictures
Is there any way to add author pictures to your Calibre library?
|
![]() |
![]() |
![]() |
#2 |
Addict
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 288
Karma: 1003542
Join Date: May 2011
Device: Google Nexus 7 16GB
|
I do it like this
![]() Only done 50 or so, just to see. If there is interest we could have a shared library of Authors so people could add to them and update them? - just an idea, in any case if anyone is doing similar let me know (the only reason mine show up as CSV as opposed to txt files, is they link directly to a excel sheet of all the books by that author...) |
![]() |
![]() |
Advert | |
|
![]() |
#3 |
Junior Member
![]() Posts: 8
Karma: 10
Join Date: Nov 2010
Device: Ipad Ipod
|
Thank you. It works really well.
|
![]() |
![]() |
![]() |
#4 |
Connoisseur
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 61
Karma: 1234
Join Date: Jun 2012
Device: none
|
Looks good. But what have you done there, transmitthis?
What's the significance of #type:"=AuthorDetails" ... and have you imported a txt (or csv) file for each author and that's what we're looking at - as if they are 'books'. I'm confused. I just don't know what I'm looking at; ha ha, I don't even know how to phrase the question. Typing #type:"=AuthorDetails" in the search box doesn't bring anything up. What IS this image of?! Can anyone help this dumb fool please? |
![]() |
![]() |
![]() |
#5 |
Calibre Plugins Developer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 4,729
Karma: 2197770
Join Date: Oct 2010
Location: Australia
Device: Kindle Oasis
|
He's created a fake "book" for each author to be able to put in an image and comments. Then to differentiate such fake books as authors from genuine books, he has used a custom column called #type and given a value of "AuthorDetails" to such author rows.
|
![]() |
![]() |
Advert | |
|
![]() |
#6 |
Connoisseur
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 61
Karma: 1234
Join Date: Jun 2012
Device: none
|
@kiwidude Aaaaagh! I see; thanks.
|
![]() |
![]() |
![]() |
#7 |
Member
![]() Posts: 11
Karma: 10
Join Date: Jul 2012
Device: Impression
|
And what calibre can download metadata for authors if I will do it in this way?
From programing point of view I belive it's a very ad-hock method, especially that in clibre database there is a separate table for authors, and the developers can easely add column for the photo and biography. |
![]() |
![]() |
![]() |
#8 |
Calibre Plugins Developer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 4,729
Karma: 2197770
Join Date: Oct 2010
Location: Australia
Device: Kindle Oasis
|
@TMSxMR - no there is no "metadata download" for such an approach, it is a workaround that this particular user happened to use and wanted to share.
As for calibre natively supporting author biographies, this has been discussed previously on other threads. The upshot of all that was chaley added the ability to hyperlink the author name to the Wikipedia page by default (customisable to an alternate page of your choice) that you can click on in the book details panel. That way the burden of "metadata updating" is left to the community that supports the website for the author. It isn't a solution that meets everyones needs but it is something you get for free. |
![]() |
![]() |
![]() |
#9 | |
Connoisseur
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 61
Karma: 1234
Join Date: Jun 2012
Device: none
|
Quote:
I have my authors listed as e.g. Joyce, James [I think you do the same don't you, kiwidude?]. That means I have to do one extra click in Wikipedia; it takes you to the search page instead. Is it possible to write a template (currently: http://en.wikipedia.org/w/index.php?search={author} ) that swaps last name, first name when I click on the author link template link in Book Details? |
|
![]() |
![]() |
![]() |
#10 |
Member
![]() Posts: 11
Karma: 10
Join Date: Jul 2012
Device: Impression
|
Dear kiwidude
Thx for info, having link not a bad thing too, but the problem (in my opinion) that you will need to enter it manually, for the thousands of the authors i have this simply impossible.... and templates will not always get you the right page. |
![]() |
![]() |
![]() |
#11 |
Calibre Plugins Developer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 4,729
Karma: 2197770
Join Date: Oct 2010
Location: Australia
Device: Kindle Oasis
|
It depends on your authors, calibre does try to guess the right link as a default. And you will have the exact same problem with any approach to gathering author metadata - there is no single repository that contains it all and you will always have to do some sort of duplicate name resolution etc.
Like I said, it isn't a perfect solution but it was low cost to implement for suiting a number of users. |
![]() |
![]() |
![]() |
#12 |
Grand Sorcerer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 12,444
Karma: 8012886
Join Date: Jan 2010
Location: Notts, England
Device: Kobo Libra 2
|
http://en.wikipedia.org/w/index.php?search={author:swap_around_comma()}
|
![]() |
![]() |
![]() |
#13 | |
Calibre Plugins Developer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 4,729
Karma: 2197770
Join Date: Oct 2010
Location: Australia
Device: Kindle Oasis
|
Quote:
Whether it is possible to swap in a template, or whether chaley could just add some extra logic in for comma delimited names/a preference I leave to his wisdom to respond to. This sort of thing is unfortunately a recurring pain in the butt issue with any new feature of calibre that involves author names. I've stirred the debate pot about it a number of times but without a conclusion that Kovid/chaley are yet happy with. There is no centralised preference saying "my names are in LN, FN" format that every other piece of code can then look at - the argument being that for non-english names it is not so easy to determine what is a LN and FN. I have a selfish opinion on that, but then thankfully for all the international readers using calibre I don't manage the development ![]() Edit: I see chaley posted a solution for this case while I wrote this ![]() |
|
![]() |
![]() |
![]() |
#14 |
Grand Sorcerer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 12,444
Karma: 8012886
Join Date: Jan 2010
Location: Notts, England
Device: Kobo Libra 2
|
For completeness, here is a template in template program mode that works with both FN LN and LN, FN for most names. This template will fail for author names like Joe Blogs, PhD, which is one reason it isn't the default.
Code:
{authors:'contains($, ',', swap_around_comma($), $)'} |
![]() |
![]() |
![]() |
#15 |
Connoisseur
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 61
Karma: 1234
Join Date: Jun 2012
Device: none
|
(and for the complete version) ...
|
![]() |
![]() |
![]() |
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
Get to Know-an Author with Noahan Author Interview series! | NoahMGillman | Self-Promotions by Authors and Publishers | 22 | 12-19-2010 09:45 PM |
PRS-300 Pictures | Pookie | Sony Reader | 12 | 03-26-2010 01:24 PM |
Pictures | zyzzyva57 | Deals and Resources (No Self-Promotion or Affiliate Links) | 2 | 03-25-2009 01:22 PM |
Pictures | ProDigit | OpenInkpot | 0 | 10-19-2008 11:22 PM |
Pictures | JGB | Sony Reader | 2 | 09-20-2008 08:08 PM |