4 minute read.

Metadata in PDF: 2. Use Cases


thammond – 2007 August 01

In Metadata

Well, this is likely to be a fairly brief post as I’m not aware of many use cases of metadata in PDFs from scholarly publishers. Certainly, I can say for Nature that we haven’t done much in this direction yet although are now beginning to look into this.

I’ll discuss a couple cases found in the wild but invite comment as to others’ practices. Let me start though with the CNRI handle plugin demo for Acrobat which I blogged here.

Handle Plugin

First off, the handle plugin PDF samples do include an embedded (test) DOI in both the document information dictionary

5 0 obj
/CreationDate (D:20070614140125-04'00')
/Author (Simon)
/Creator (PScript5.dll Version 5.2.2)
/Producer (Acrobat Distiller 8.1.0 \(Windows\))
/ModDate (D:20070614140240-04'00')
/HDL (10.5555/pdftest-crossref)
/Title (Microsoft Word - crossref-rev.doc)

and in the (document) metadata stream

<rdf:Description rdf:about="" xmlns:pdfx="">

Bar any fuller disclosure of metadata terms at large (and one of the demo cases makes use of DOI to retrieve metadata form Crossref) this is excellent. I would, however, quibble with the use of “HDL” as a foreign key for the information dictionary. I realize this is just a test but the term “HDL” (or “DOI”, for that’s what it really is) is somewhat specific and a more general term such as “Identifier” would probably have more mileage, e.g.

5 0 obj
/Identifier (doi:10.5555/pdftest-crossref)

In the second example from the metadata dictionary I don’t think the term “HDL” from the PDF extension schema “pdfx” is very helpful. (Is that namespace actually defined anywhere?) From a descriptive metadata viewpoint a more usual schema such as DC would have wider coverage. So again the second example would be better rendered as

<rdf:Description rdf:about="" xmlns:dc="">

or, alternately,

<rdf:Description rdf:about="" xmlns:dc="">


Well, we have Alexander Griekspoor’s comment earlier that Elsevier are including the DOI in their PDFs. I don’t know how consistently this is being done but I’ve checked a couple sample articles and it would seem that they have embedded the DOI (here from Cancer Cell, doi:0.1016/j.ccr.2007.06.004) in the title element which shows up in the information dictionary as

361 0 obj
/Producer (Adobe LiveCycle PDFG 7.2)
/Creator (Elsevier)
/Author ()
/Keywords ()
/Title (doi:10.1016/j.ccr.2007.06.004)
/ModDate (D:20070630031637+05'30')
/Subject ()
/CreationDate (D:00000101000000Z)

and in the (document) metadata dictionary as

365 0 obj
/Type /Metadata
/Subtype /XML
/Length 1526
<?xpacket begin='' id='W5M0MpCehiHzreSzNTczkc9d' bytes='1526'?>
<rdf:RDF xmlns:rdf=''
<rdf:Description about=''
<pdf:Producer>Adobe LiveCycle PDFG 7.2</pdf:Producer>
<rdf:Description about=''
<rdf:li xml:lang='x-default'>doi:10.1016/j.ccr.2007.06.004</rdf:li>
<rdf:li xml:lang='x-default'/>
<rdf:Description about=''
<?xpacket end='r'?>

Kudos anyway to Elsevier for emebedding this piece of information in their PDFs (if indeed it is a general practice). This has the merit of being picked up by Adobe apps and displayed in e.g. Reader. Also third party apps can pull this and use this to retrieve the metadata record from Crossref.

The only downside is that technically this seems to be a kludge to satisfy Adobe apps and is not the correct field for filing this information. I would have thought that some other information dictionary field (e.g. “Subject”) would be a better kludge, and then reserve the “Title” and “Author” fields for their proper purposes. The RDF/XML title fields would appear to be inherited from the “Title” field in the information dictionary. It’s a bit of a shame really because the DOI is embedded - it’s just in the wrong place(s). (OK, so that’s still way better, maybe, than not providing this information at all.)

Hopefully, with more examples to mull over and experiences to learn from we can arrive at a much better and more systematic way of including the DOI, and other key metadata fields, within a PDF so that this information can be gleaned easily and unambiguously by third party apps.

See also:

RSS Feed


Page owner: thammond   |   Last updated 2007-August-01