![]() |
#1 |
Wizard
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 3,821
Karma: 19162882
Join Date: Nov 2012
Location: Te Riu-a-Māui
Device: Kobo Glo
|
Correcting metadata for kepub books
I have noticed a few inconsistencies in the metadata for kepub books bought from Kobo. For sideloaded books it is no problem to correct the metadata in Calibre before sending the book to the reader, but I don't think I can do that for kepubs.
One example is the format of the author's name. I bought the first two books in Steven Erikson's Malazan Book of the Fallen series. Although both books ae by the same publisher, on my Glo the first book shows the author as "Erikson, Steven" but the second book shows as "Steven Erikson". This causes an issue when browsing or searching by author: although the books are both correctly sorted by the author's last name, they are treated as being by different authors, so all books by "Erikson, Steven" are listed ahead of any books by "Steven Erikson". It also affects the predictive search function because selecting the completion "Steven Erikson" will not show books by "Erikson, Steven" in the search results. So do you think it would be safe to change the author metadata for kepubs by directly editing the Kobo device's database? |
![]() |
![]() |
![]() |
#2 |
No Comment
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 3,240
Karma: 23878043
Join Date: Jan 2012
Location: Australia
Device: Kobo: Not just an eReader, it's an adventure!
|
Just had a quick check. The .opf file in a .kepub is not encypted.
Rename the .kepub to .zip. Unzip it. Edit the .opf file using any simple text file editor. Rezip the file. Rename the file back to .kepub. I have not actually done this, but it will probably work, unless there is some gotcha... |
![]() |
![]() |
Advert | |
|
![]() |
#3 |
Grand Sorcerer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 24,905
Karma: 47303824
Join Date: Jul 2011
Location: Sydney, Australia
Device: Kobo:Touch,Glo, AuraH2O, GloHD,AuraONE, ClaraHD, Libra H2O; tolinoepos
|
It has never caused me any problems. The main change I do is the series info, but I have changed most of the metadata in the database for kepubs.
For my curiosity, do you have the books loaded in calibre? Either the epub version or an empty book with the metadata filled in appropriately so that they match. |
![]() |
![]() |
![]() |
#4 | ||
Wizard
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 3,821
Karma: 19162882
Join Date: Nov 2012
Location: Te Riu-a-Māui
Device: Kobo Glo
|
Quote:
Quote:
I ran the following command from sqlite3 to change the author name, it seems to have worked as hoped, but I'll watch for problems for a while before I try any more changes. Code:
UPDATE content SET Attribution='Steven Erikson' WHERE Attribution='Erikson, Steven'; |
||
![]() |
![]() |
![]() |
#5 | ||
Grand Sorcerer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 24,905
Karma: 47303824
Join Date: Jul 2011
Location: Sydney, Australia
Device: Kobo:Touch,Glo, AuraH2O, GloHD,AuraONE, ClaraHD, Libra H2O; tolinoepos
|
Quote:
Quote:
|
||
![]() |
![]() |
Advert | |
|
![]() |
#6 | |
No Comment
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 3,240
Karma: 23878043
Join Date: Jan 2012
Location: Australia
Device: Kobo: Not just an eReader, it's an adventure!
|
Quote:
You may have to delete the .kepub, disconnect the device so the delete is processed, and then 'sideload' the kepub. This is not a procedure I do (I rarely read kepubs), so I don't know how it works as well as I do the epub side. |
|
![]() |
![]() |
![]() |
#7 | |
Wizard
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 3,821
Karma: 19162882
Join Date: Nov 2012
Location: Te Riu-a-Māui
Device: Kobo Glo
|
Quote:
I know Kobo are updating the series information on their books bit by bit, but it does seem a bit haphazard. Some series have only one book (not always the first) with series information, others have different series names for books in the same series, and many have the series information duplicated in the title or subtitle. It would be a real mess if we didn't have Calibre to sort it all out :-) That might work, but I don't want to sideload any kepubs if I can possibly avoid it, it seems like that would open the way for a lot more things going wrong. I'll stick to the method of updating the database, and just try to avoid changing anthing that affects the interaction between device and server. |
|
![]() |
![]() |
![]() |
#8 | |||
Grand Sorcerer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 24,905
Karma: 47303824
Join Date: Jul 2011
Location: Sydney, Australia
Device: Kobo:Touch,Glo, AuraH2O, GloHD,AuraONE, ClaraHD, Libra H2O; tolinoepos
|
Quote:
Quote:
Quote:
|
|||
![]() |
![]() |
![]() |
#9 | |
Wizard
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 3,821
Karma: 19162882
Join Date: Nov 2012
Location: Te Riu-a-Māui
Device: Kobo Glo
|
Quote:
I got this one as a recommendation after I bought the first book in the series. The author's name on the recommendation was "Daniel Abraham". But after buying and downloading the kepub the name on the actual book shows "Abraham, Daniel", same as the epub. |
|
![]() |
![]() |
![]() |
#10 | ||
Grand Sorcerer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 24,905
Karma: 47303824
Join Date: Jul 2011
Location: Sydney, Australia
Device: Kobo:Touch,Glo, AuraH2O, GloHD,AuraONE, ClaraHD, Libra H2O; tolinoepos
|
Quote:
Quote:
|
||
![]() |
![]() |
![]() |
Thread Tools | Search this Thread |
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
Glo Virtual kepub Books? | LMF | Kobo Reader | 14 | 01-23-2013 06:12 AM |
Correcting 'll' errors (al , final y, etc) | flameproof | ePub | 5 | 05-10-2012 08:44 AM |
Correcting Ebooks | newlaza | Reading and Management | 2 | 05-19-2011 05:57 AM |
SAve Location after correcting the metadata | Jona | Calibre | 4 | 01-06-2011 07:31 PM |
best program for correcting typos / spelling in epub & mobi books ? | cybmole | Calibre | 15 | 11-16-2010 06:22 AM |