Register Guidelines E-Books Today's Posts Search

Go Back   MobileRead Forums > E-Book Software > Calibre > Devices

Notices

Reply
 
Thread Tools Search this Thread
Old 08-28-2012, 12:48 PM   #1
Npnth
Junior Member
Npnth began at the beginning.
 
Posts: 3
Karma: 10
Join Date: Aug 2012
Device: Kobo Touch
Metadata tag dc:title overwritten on transfer to Kobo Touch

Hi,

In the past few days (first noticed with 0.8.65, still noticed with 0.8.66), I've noticed that all the files I transfer to my Kobo Touch aren't showing up with the correct titles - they appear as "Unknown," even though the epub is correctly named in the file structure, in my calibre library, and even in the epub file stored on my computer.

For reference, here is the output of a diff between the contents of the epub in my calibre library and the contents of the epub as it appears on my device.

Code:
diff -rupN calibre/content.opf kobo/content.opf
--- calibre/content.opf 2012-08-28 11:19:20.000000000 -0400
+++ kobo/content.opf    2012-08-28 11:19:20.000000000 -0400
@@ -1,18 +1,21 @@
-<?xml version='1.0' encoding='utf-8'?>
+<?xml version="1.0"  encoding="UTF-8"?>
 <package xmlns="http://www.idpf.org/2007/opf" version="2.0" unique-identifier="uuid_id">
   <metadata xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:opf="http://www.idpf.org/2007/opf" xmlns:dcterms="http://purl.org/dc/terms/" xmlns:calibre="http://calibre.kovidgoyal.net/2009/metadata" xmlns:dc="http://purl.org/dc/elements/1.1/">
-    <meta name="calibre:title_sort" content="Brothers Karamazov, The"/>
-    <meta name="calibre:rating" content="4.00"/>
-    <dc:language>en</dc:language>
-    <dc:creator opf:file-as="Dostoyevsky, Fyodor" opf:role="aut">Fyodor Dostoyevsky</dc:creator>
+    <dc:creator opf:role="aut" opf:file-as="Dostoyevsky, Fyodor">Fyodor Dostoyevsky</dc:creator>
+<meta name="calibre:title_sort" content="Brothers Karamazov, The"/>
+    <meta name="calibre:rating" content="4"/>
     <meta name="calibre:timestamp" content="2012-06-19T16:26:54+00:00"/>
-    <dc:title>The Brothers Karamazov</dc:title>
+    <dc:title>Unknown</dc:title>
     <meta name="cover" content="cover"/>
     <dc:date>2012-06-20T16:26:54+00:00</dc:date>
     <dc:contributor opf:role="bkp">calibre (0.8.65) [http://calibre-ebook.com]</dc:contributor>
     <dc:identifier opf:scheme="ISBN">0553212168</dc:identifier>
     <dc:identifier id="uuid_id" opf:scheme="uuid">72b1b157-163f-48c0-a71b-ba91897bf3af</dc:identifier>
-  </metadata>
+  <meta name="calibre:user_categories" content="{}"/>
+<meta name="calibre:author_link_map" content="{&quot;Fyodor Dostoyevsky&quot;: &quot;&quot;}"/>
+<dc:language>en</dc:language>
+<meta name="calibre:user_metadata:#series" content="{&quot;is_category&quot;: false, &quot;#extra#&quot;: null, &quot;kind&quot;: &quot;field&quot;, &quot;is_custom&quot;: true, &quot;is_csp&quot;: false, &quot;colnum&quot;: 1, &quot;column&quot;: &quot;value&quot;, &quot;rec_index&quot;: 22, &quot;search_terms&quot;: [&quot;#series&quot;], &quot;link_column&quot;: &quot;value&quot;, &quot;is_multiple2&quot;: {}, &quot;is_multiple&quot;: null, &quot;datatype&quot;: &quot;float&quot;, &quot;#value#&quot;: null, &quot;category_sort&quot;: &quot;value&quot;, &quot;table&quot;: &quot;custom_column_1&quot;, &quot;is_editable&quot;: true, &quot;label&quot;: &quot;series&quot;, &quot;display&quot;: {}, &quot;name&quot;: &quot;Series#&quot;}"/>
+        </metadata>
   <manifest>
     <item href="cover.jpeg" id="cover" media-type="image/jpeg"/>
     <item href="OEBPS/text/content002.xhtml" id="content002.xhtml" media-type="application/xhtml+xml"/>
Binary files calibre/cover.jpeg and kobo/cover.jpeg differ
As you can see, the content.opf seems to be modified in transit. I'm not sure if this happens with any other versions.
Npnth is offline   Reply With Quote
Old 08-28-2012, 04:28 PM   #2
Npnth
Junior Member
Npnth began at the beginning.
 
Posts: 3
Karma: 10
Join Date: Aug 2012
Device: Kobo Touch
Sorry for the chatter, this was the result of a plugboard I was using. I had been using

Code:
{series:re(([^\s])[^\s]+(\s|$),\1)}{series_index:0>2s| - | - }
instead of
Code:
{series:re(([^\s])[^\s]+(\s|$),\1)}{series_index:0>2s| - | - }{title}
Npnth is offline   Reply With Quote
Advert
Old 08-28-2012, 09:37 PM   #3
DoctorOhh
US Navy, Retired
DoctorOhh ought to be getting tired of karma fortunes by now.DoctorOhh ought to be getting tired of karma fortunes by now.DoctorOhh ought to be getting tired of karma fortunes by now.DoctorOhh ought to be getting tired of karma fortunes by now.DoctorOhh ought to be getting tired of karma fortunes by now.DoctorOhh ought to be getting tired of karma fortunes by now.DoctorOhh ought to be getting tired of karma fortunes by now.DoctorOhh ought to be getting tired of karma fortunes by now.DoctorOhh ought to be getting tired of karma fortunes by now.DoctorOhh ought to be getting tired of karma fortunes by now.DoctorOhh ought to be getting tired of karma fortunes by now.
 
DoctorOhh's Avatar
 
Posts: 9,896
Karma: 13806776
Join Date: Feb 2009
Location: North Carolina
Device: Icarus Illumina XL HD, Kindle PaperWhite SE 11th Gen
Quote:
Originally Posted by Npnth View Post
Sorry for the chatter, this was the result of a plugboard I was using. I had been using

Code:
{series:re(([^\s])[^\s]+(\s|$),\1)}{series_index:0>2s| - | - }
instead of
Code:
{series:re(([^\s])[^\s]+(\s|$),\1)}{series_index:0>2s| - | - }{title}
What you are seeing seems to be to be expected behavior for your metadata plugboard.

If you just put series in the title then books without a series would be labeled as unknown because there is nothing to place in the title. Why did you remove {title} from the plugboard?
DoctorOhh is offline   Reply With Quote
Old 08-31-2012, 12:38 PM   #4
Npnth
Junior Member
Npnth began at the beginning.
 
Posts: 3
Karma: 10
Join Date: Aug 2012
Device: Kobo Touch
I don't recall ever touching that plugboard since I set it up, though evidently I remember wrong, because at one point must have been set up correctly, and then it was set up incorrectly. This was entirely user error.
Npnth is offline   Reply With Quote
Reply


Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Kobo Touch metadata tryp Kobo Reader 6 07-19-2012 08:55 PM
Touch transfer books from computer to KOBO touch via WIFI? fred_yu_job Kobo Reader 13 02-09-2012 02:03 PM
Kobo Touch - Document Transfer Info? SweetNAMese Kobo Reader 2 01-23-2012 03:29 PM
PRS-650 Sony book collection transfer to Kobo Touch? Witty Username Sony Reader 1 11-26-2011 01:43 PM
Book metadata will not transfer to Kobo Touch theodore8711 Calibre 5 08-08-2011 06:40 PM


All times are GMT -4. The time now is 07:33 PM.


MobileRead.com is a privately owned, operated and funded community.