[poppler] Support for XMP metadata in poppler?

Albert Astals Cid aacid at kde.org
Fri Apr 21 13:39:09 UTC 2017


El divendres, 21 d’abril de 2017, a les 1:05:34 CEST, jose.aliste at gmail.com va 
escriure:
> Hey List,
> 
> sorry if this has been discussed, but afaik, poppler does not read the XMP
> metadata when trying to find the title, or creation dates, etc. It's that
> corret. If so, is there is any reason why we don't have such suppport
> (other than nobody submitted a patch?) ... I tried to search in the list
> and the web but only found an old email saying that someone has submitted a
> patch to the list while ago (2007 or so)... So I am wondering about this.
> 
> Is the solution to read the metadata with another library? or shoud we add
> some logic in poppler to do this?

As far as I can see, we expose the "Metadata" catalog field, but just the XML 
blob.

You are suggesting to parse it directly, right?

The only "problem" with that is that if we do it on the core it means adding 
an extra dependency. 

Or you don't mean the "Metadata" catalog field?

Cheers,
  Albert

> 
> 
> Greetings
> 
> José




More information about the poppler mailing list