Comment 10 for bug 1440304

Revision history for this message
iostrym (armandooooo) wrote : Re : [Bug 1440304] Re: calibre bug 1440304

Thanks,
In OK PDF, there is only xmp 'modify date' and not 'metadata date'
So if xmp 'modify date' is always used and not 'metadata date', then for both file (OK and KO PDF) xmp should be used because for both file xmp 'modify date' equal info block modify date... (Have a look at text files delivered with PDF file that contains metadata from exif tool)

Regards,

--- Message initial ---

De : "Kovid Goyal" <email address hidden>
Envoyé : 8 avril 2015 05:25
A : <email address hidden>
Objet : [Bug 1440304] Re: calibre bug 1440304

It is simple:

XMP metadata is always used inpreference to info metadata, unless the
metadatadate is LESS THAN the modify date in the Info block. And when
reading Info metadata tags are assumed to be separated by commas not
semicolons.

Like I said before use a decent program to edit your PDF's XML metadata.
One that changes the emtadata date, and you will be fine.

--
You received this bug notification because you are subscribed to the bug
report.
https://bugs.launchpad.net/bugs/1440304

Title:
  [Enhancement] configure metadata import when importing pdf file in
  calibre

Status in calibre: e-book management:
  Won't Fix

Bug description:
  In 2.23 on win7 64 bits, when importing a pdf in calibre, some common metadata in pdf file can be read by calibre to be imported in calibre metadata.
  for example : title, author and tag are imported. Also subject metadata is put in comment.

  By testing I saw that :

  - first line of subject is put in calibre tag (pdf subject can set in many lines using some pdf editor)
  - full subject (including others lines) are put in calibre comment
  - tag must be separated by comma.

  But maybe this import feature is described somewhere ?

  Something great would be for example
  - to configure the "separator" used between tags because some pdf editor don't support comma and want ";"
  - to be able to disable de first line import in subject for tags
  - to be able to customize which calibre metadata is written using which pdf metadata :
     ie : published date is first line of subject
            isbn is second line of subject
            others lines of subject are comment

  I would be happy to help if I was showed where this is done in code...

To manage notifications about this bug go to:
https://bugs.launchpad.net/calibre/+bug/1440304/+subscriptions