|
|
#1 |
|
Guru
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 973
Karma: 4073169
Join Date: Apr 2010
Location: Europe
Device: Pocketbook Basic 613
|
How not to capitalize titles from meta data?
On a case by case basis would be best (it's useful in English), but I'lll turn it off completely if I have to (and that is an option). Many thanks in advance.
__________________
|
|
|
|
|
|
#2 |
|
Wizard
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 3,593
Karma: 549131
Join Date: Nov 2008
Device: Sony PRS-950, iphone/ipad (stanza/iBooks/QuickReader)
|
Not as far as I know. If you let the metadata update the title field you are at the mercy of the metadata supplier as far as case is concerned.
Do you even need the downloaded metadata to update the title field? If not you can simply disable that update. |
|
|
|
|
Enthusiast
|
|
|
|
#3 | ||
|
US Navy, Retired
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 7,318
Karma: 11288999
Join Date: Feb 2009
Location: North Carolina
Device: Nexus 7, Sony PRS-950, Sony PRS-505, PRS-300
|
Quote:
__________________
-- Good Reading, Walt -- 20GB of free CLOUD STORAGE: Use this link to sign up for a free 15GB Copy.com cloud storage account and we both get an extra 5GB of free space. |
||
|
|
|
|
|
#4 |
|
Wizard
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 2,293
Karma: 12769550
Join Date: Apr 2010
Device: sony PRS-600, PRS-350, PRS-T1, Tablet
|
I used to get lower case metadata often and never do now, so calibre might capitalize the titles in newer versions. I like it this way but some mightn't.
The change case option (right click menu) works from both the metadata and the gui and is easier than retyping manually. Helen |
|
|
|
|
|
#5 |
|
Guru
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 973
Karma: 4073169
Join Date: Apr 2010
Location: Europe
Device: Pocketbook Basic 613
|
But it doesn't really work with German, e.g., where only nouns are capitalized. Sure, I can use lower-case for the whole title, but I'll still need to change back the remaining words. I'd rather the meta data were correct (if it is), and Calibre left it alone.
Can anybody confirm that this is, in fact, not Calibre's doing but that the meta data comes in that way, i.e. improperly capitalized in the first place?
__________________
|
|
|
|
|
|
#6 | |
|
Fanatic
![]() ![]() ![]() ![]() ![]() Posts: 516
Karma: 470
Join Date: Sep 2007
Location: The Netherlands
Device: Kindle 3, Bebook
|
Quote:
Smile, I'm Dutch and the first thing I see when I read German is ALL those capitals. We only capitalize the first word in a sentence. But in a book title we can capitalize. The only exceptions are words like 'de' and 'een' (the and a) But I have to do that by hand, Calibre isn't doing it for me unless I select Change Case -> Title Case. When I download meta data from an external source I'm dependant on that source. |
|
|
|
|
|
|
#7 | |
|
Member
![]() Posts: 13
Karma: 10
Join Date: Aug 2011
Device: Kindle 3
|
Quote:
I'm sure of that, as I'm in process of writing my own plugin for metadata download from polish source. The title downloaded from source is capitalized (meaning - only first word of title starts with capital letter). I do not change the case of title. And after metadata update the case is changed to title case. e.g.: Gra o tron (title from source) Gra O Tron (after metadata update) And this is generally an error. |
|
|
|
|
|
|
#8 | |
|
Fanatic
![]() ![]() ![]() ![]() ![]() Posts: 516
Karma: 470
Join Date: Sep 2007
Location: The Netherlands
Device: Kindle 3, Bebook
|
Quote:
I used the title: Het Leven, Het Heelal en De Rest The source it uses lower case for en and it stays like that. The lower case for en is correct. The upper case for De is incorrect. It shows up in Calibre exactly as it was in the source as can be seen from the plugin that grabs the meta data Last edited by Ortep; 08-29-2011 at 05:20 PM. |
|
|
|
|
|
|
#9 | |
|
Member
![]() Posts: 13
Karma: 10
Join Date: Aug 2011
Device: Kindle 3
|
Quote:
"Gra o tron" In goodreads.com you have: http://www.goodreads.com/book/show/6184496-gra-o-tron So only first word is capitalized. Rest is lowercase. It is ok for polish language. After import metadata to calibre you have: Gra O Tron which looks as oddly in Polish "A song Of ice And fire" in English. |
|
|
|
|
|
|
#10 |
|
Junior Member
![]() Posts: 6
Karma: 10
Join Date: Jun 2009
Device: Jetbook, Pocketbook IQ 701 also Sony TH-55
|
To remove auto capitalization comment out two lines in file base.py
Code:
--- 373,374 in version 0.16
if mi.title:
mi.title = fixcase(mi.title)
---
|
|
|
|
|
|
#11 |
|
Creator of calibre
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 22,511
Karma: 2944574
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
|
Title case is "intelligently" corrected. This works well for english titles, not so well for others. If you are writing a plugin for another language, you can disable this by simply not calling the clean_downloaded_metadata method or implemnting your own logic for it.
__________________
Get calibre Notice to all: I can not provide assistance with DRM removal, for legal reasons, so please do not contact me about it. |
|
|
|
|
|
#12 |
|
Member
![]() Posts: 13
Karma: 10
Join Date: Aug 2011
Device: Kindle 3
|
|
|
|
|
|
|
#13 |
|
Member
![]() Posts: 14
Karma: 10
Join Date: Nov 2011
Device: none
|
@kovidgoyal:
I do not have any idea concerning programming. ![]() You say "Title case is "intelligently" corrected." Does this mean Calibre DOES set title case? If so, I still do not understand why there is no option in the Calibre GUI to leave the title as it comes from the metadata provider. |
|
|
|
|
|
#14 | |
|
Staff to 4 Cats
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 10,725
Karma: 2485850
Join Date: Aug 2009
Location: The (original) Silicon Valley, USA
Device: Galaxy Tab 2,Black Astak PEz, K4NT(now Wifes)
|
Quote:
Your example: Goodreads would affect all languages if the author disabled the feature. I turned OFF Title and Author lon ago as I was tired of the source correcting my correct entry (I had the dead tree copy in my hands).
__________________
Using: Ubuntu(32 bit):Oneric,Precise and XPpro SP3, W7HP(64)- - Libre Office w/Writer2EPUB
|
|
|
|
|
|
|
#15 |
|
Junior Member
![]() Posts: 5
Karma: 10
Join Date: Aug 2011
Device: ipad, android
|
@kovidgoyal:
I realy love your work and your plugin for amazone metadata too. Thank you very much for all your work! But the "intelligent correction" makes me crazy. I have changed the source to german amazone, which provides correctly capitalized title datas for german books. But with your plugin almost all capitalizations get incorrect and I had to correct them manualy for hours and hours. It would be realy very helpfull, if autocorrection could be set off bei a simple button or so in your amazone plugin gui as I am not a programmer and can not write my own plugin. Thank you in advance. |
|
|
|
![]() |
| Thread Tools | Search this Thread |
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| series and meta data | Toxaris | Calibre | 2 | 02-07-2011 02:08 AM |
| ePub meta data | brudigia | ePub | 4 | 07-26-2010 12:58 PM |
| set meta data with ebook-meta and ebook-convert | krischik | Calibre | 6 | 01-19-2010 11:40 AM |
| Meta data problems | melhall | Sony Reader | 1 | 03-31-2008 10:58 PM |
| PRS-500 Meta Data in Vista not available | Gamgee72 | Sony Reader Dev Corner | 2 | 09-12-2007 05:12 PM |