Register Guidelines E-Books Today's Posts Search

Go Back   MobileRead Forums > E-Book Software > Calibre > Library Management

Notices

Reply
 
Thread Tools Search this Thread
Old 05-08-2014, 02:48 AM   #1
devils_add
Member
devils_add began at the beginning.
 
Posts: 13
Karma: 10
Join Date: Sep 2013
Device: none
Question pdf metadata export

Hi,
I just noticed, but when Calibre exports pdf files it disregards pdf conventions. For example in in author it will write "John Doe & Jane Doe" instead of John Doe; Jane Doe;
Also, it will duplicate entries from those that already exist in the pdf. This confuses me, because if Calibre can read those entries to import data, why does it need to create it's own copy of metadata entries in the file, adding extra weight to it.
In addition, why does it need to add custom field metadata to the file if custom filed is left blank.
devils_add is offline   Reply With Quote
Old 05-08-2014, 02:53 AM   #2
kovidgoyal
creator of calibre
kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.
 
kovidgoyal's Avatar
 
Posts: 43,860
Karma: 22666666
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
calibre does not duplicate entries. It creates entries in the /Info dictionary and in the XMP metadata block, using the standard Dublin Core metadata namespace, because both are needed for different PDF reading apps.

As for author conventions, calibre uses it's own author conventions. There is no universal multi author convention for author metadata in PDF info keys. In XMP metadata multiple authors are represented using multiple an rdf sequence, which is the correct way to represent multiple entries in XMP.

I suggest you spend some time educating yourself about PDF metadata.
kovidgoyal is offline   Reply With Quote
Advert
Old 05-08-2014, 01:22 PM   #3
devils_add
Member
devils_add began at the beginning.
 
Posts: 13
Karma: 10
Join Date: Sep 2013
Device: none
Sorry, I was talking about "Dublin Core Properties", where separate authors are separated by ';' and not by '&', and the reason I asked was that Calibre was writing into those properties using '&' separator.
devils_add is offline   Reply With Quote
Old 05-08-2014, 10:01 PM   #4
kovidgoyal
creator of calibre
kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.
 
kovidgoyal's Avatar
 
Posts: 43,860
Karma: 22666666
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
calibre does not write multiple authors separated by & it writes them using an rdf:Sequence. That is with multiple <dc:author> elements.
kovidgoyal is offline   Reply With Quote
Old 05-09-2014, 02:46 AM   #5
BetterRed
null operator (he/him)
BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.
 
Posts: 20,575
Karma: 26954694
Join Date: Mar 2012
Location: Sydney Australia
Device: none
I suspect your you're both right. When it comes to metadata PDF's are like images, they have multiple metadata blocks, often containing similar data but not necessarily the same data (eg a jpeg can have at least three Comment 'properties' - all of them different)

I just converted an epub to PDF. First attachment is from exiftool (GUI), second is from Tracker XChange and the third is from Nitro Pro

Note the inconsistencies - I tend to set more credence by what exiftool 'says'

BR
Attached Thumbnails
Click image for larger version

Name:	exiftool.JPG
Views:	367
Size:	117.9 KB
ID:	122772   Click image for larger version

Name:	XChange.JPG
Views:	365
Size:	174.9 KB
ID:	122773   Click image for larger version

Name:	NitroPro.JPG
Views:	351
Size:	73.6 KB
ID:	122774  
BetterRed is offline   Reply With Quote
Advert
Reply

Tags
export, pdf metadata


Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Cant export epub with metadata embedded sequoia1 Devices 6 08-12-2013 12:59 AM
Metadata as mp3 tag: importa and export to/from filename brainvision Calibre 2 08-10-2012 11:46 PM
Export just metadata? TheD0ct0r Calibre 3 12-11-2010 09:52 AM
how to export metadata and rename files? argonaut Calibre 11 06-24-2010 08:30 AM
Export Metadata to epub/pdf/txt - feature request? asktheeightball Calibre 0 11-27-2009 04:35 PM


All times are GMT -4. The time now is 06:51 AM.


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