Go to file
Tim Starling 86df1cd6c6 Fix broken PDF XMP extraction
XMP extraction does not work for me with libpoppler 0.86, because when
the output of the two commands is concatenated, there is no "Metadata:"
prefix introducing the XMP. It ends up splitting every line of the XML
on colon characters in attribute names, spamming lots of little
properties into the final result.

I can confirm that it's also broken in production.

So, just treat the output of pdfinfo -meta as plain XML.

Change-Id: Ia3df17daed0f27e95294b5d97872ec064c79965c
2021-06-11 15:57:04 +10:00
.phan Revert explict casts and use implict casts as before 2020-01-12 09:06:35 +00:00
i18n Localisation updates from https://translatewiki.net. 2021-05-25 08:53:32 +02:00
includes Fix broken PDF XMP extraction 2021-06-11 15:57:04 +10:00
.eslintrc.json build: Updating eslint-config-wikimedia to 0.19.0 2021-03-14 07:03:44 +00:00
.gitignore build: Install eslint 2019-05-07 10:18:10 -07:00
.gitreview Whoops, track not trace 2016-10-24 17:03:15 -07:00
.phpcs.xml build: Updating dependencies 2021-05-12 14:12:43 +00:00
CODE_OF_CONDUCT.md build: Updating mediawiki/phan-taint-check-plugin to 1.3.0 2018-08-19 15:12:16 +00:00
composer.json build: Updating dependencies 2021-05-12 14:12:43 +00:00
COPYING Add COPYING 2014-01-22 00:50:35 +00:00
extension.json Namespace extension 2021-02-11 04:14:37 +00:00
Gruntfile.js build: Updating dependencies 2021-01-30 07:21:55 +00:00
package-lock.json build: Updating browserslist to 4.16.6 2021-05-26 01:30:24 +00:00
package.json build: Updating dependencies 2021-05-12 14:12:43 +00:00