Blog

Metadata in PDF: 3. Deployment

Tony Hammond

Tony Hammond ā€“ 2007 August 02

In Metadata

So, assuming we know the form of the metadata we wish to add to our PDFs (or else to comply with if there is already a set of guidelines, or some industry initiative in effect) how can we realize this? And, on the flip side, how can we make it easier for consumers to extract metadata we have embedded in our PDFs.

Below are some considerations on deploying metadata in PDFs and consumer access.

PRISM 2.0

Tony Hammond

Tony Hammond ā€“ 2007 August 02

In Metadata

Only just caught up with this but the PRISM 2.0 draft is now available (since July 12) for public comment. See this posted by Dianne Kennedy:

_ā€œJust a note to let you know that PRISM 2.0 has just been posted at www.prismstandard.org . This is the first major revision to PRISM. We have incorporated new elements to support online content and have expanded and revised our controlled vocabularies. In addition we have added a profile to support PRISM in an XMP environment.

Metadata in PDF: 1. Strategies

Tony Hammond

Tony Hammond ā€“ 2007 August 01

In Metadata

Emboldened by my own researches, by the recent handle plugin announcement from CNRI (on which, more in a follow-on post), and by Alexander Griekspoorā€™s comment to my earlier post, I thought Iā€™d write a more extensive piece about embedding metadata in PDF with a view to the following:

  • Discover what other publishers are currently doing
  • Stimulate discussions between content providers and/or consumers
  • Lay groundwork for a Crossref best practice guidelines

Why should Crossref be interested? Well, at minimum to embed the DOI along with the digital asset would seem to be inherently ā€œa good thingā€. (And, in fact, this is precisely the approach that CNRI have taken for their plugin demos. Iā€™ll look later at what they actually did and consider whether that is a model that Crossref publishers might usefully follow.)

Metadata in PDF: 2. Use Cases

Tony Hammond

Tony Hammond ā€“ 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 Acrobat Reader Plugin

Tony Hammond

Tony Hammond ā€“ 2007 July 31

In Metadata

Just announced on the handle-info list is a new plugin from CNRI for Acrobat Reader - see here. The announcement says:

_ā€œIt is intended to demonstrate the utility of embedding a identifying

handle in a PDF document.

 

ā€¦

 

A set of demonstration documents, each with an embedded identifying

handle, is packaged with the plug-in to show potential uses. To make

productive use of this technology, a given industry or community of

users would have to agree on one or more specific applications and

XMP: First Hacks

Tony Hammond

Tony Hammond ā€“ 2007 July 27

In Metadata

<span >(<b>Update - 2007.07.28:</b> I meant to reference in this entry Pierre Lindenbaumā€™s post back in May <a href="http://plindenbaum.blogspot.com/2007/05/is-there-any-xmp-in-scientific-pdf-no.html">Is there any XMP in scientific pdf ? (No)</a>, which btw also references Roderic Pageā€™s post on <a href="http://iphylo.blogspot.com/2007/05/xmp.html">XMP</a> but forgot to add in the links in my haste to scoot off. Well, truth is we still canā€™t answer Pierre in the affirmative but at least we can take the first steps towards rectifying this.)

<span >Iā€™ve been revisiting Adobeā€™s <a href="http://www.adobe.com/products/xmp/">XMP</a> just recently. (I blogged <a href="/blog/xmp-capabilities-extended//">here</a> about the new <a href="http://www.adobe.com/devnet/xmp/">XMP Toolkit 4.1</a> back in March.)

<span >I wanted to share some of my early experiences. First off, after a couple of previous attempts which got pushed aside due to other projects, I managed to compile the libraries and the sample apps that ship with the C++ SDK under Xcode on the Mac. I also needed to compile <a href="https://libexpat.github.io/">Expat</a> first which doesnā€™t ship with the distribution.

<span >OK, so far, so good. What this basically leaves one with is a couple of XMP dump utilities (<i>DumpMainXMP</i> and <i>DumpScannedXMP</i>) and two others (<i>XMPCoreCoverage</i> and <i>XMPFilesCoverage</i>) which is a good start anyways for exploring. And turns out that our PDFs already have some workflow metadata in them. This is encouraging because the SDK allows apps to read and update existing XMP packets from files, though not to write new packets into files (as far as I understand).

<span >I thought I would take this opportunity anyway to:

  1. <span >See what XMP metadata terms we might consider adding
  • <span >Try and add these to existing XMP packets<span >Ugly details are presented below, but by updating the XMP packet metadata in one of our PDFs (<i>Nature 445, 37 (2007), C.J. Hogan</i>) we can teach Acrobat Reader to read - see the ā€œbeforeā€ (<a href="https://web.archive.org/web/20130815224916/http://nurture.nature.com/">PDF here</a>) and ā€œafterā€ (<a href="https://web.archive.org/web/20130815224916/http://nurture.nature.com/">PDF here</a>) screenshots in the figure.

    <span ><img src="/wp/blog/images/acrobats.png" alt="acrobats.png" width="583" height="466" />

    <span >Of course, this is really about much more than getting Adobe apps to read/write metadata. Itā€™s about using XMP as a standard platform for embedding metadata in digital assets for <i>third-party apps</i> to read/write. If we can put ID3 tags into our podcasts then why not XMP packets into other media?</p>

IBM Article on PRISM

Tony Hammond

Tony Hammond ā€“ 2007 July 10

In Metadata

Nice entry article on PRISM here by Uche Ogbuji, Fourthought Inc. on IBMā€™s DeveloperWorks.

RSCā€™s Project Prospect v1.1

We updated our Project Prospect articles today to release v1.1, with a pile of look & feel improvements to the HTML views and links. The most interesting technical addition is the launch of our enhanced RSS feeds, where we have updated our existing feeds for enhanced articles. These now include ontology terms and primary compounds both visually (as text terms and 2D images) and within the RDF - using the OBO in OWL representation and the info:inchi specification mentioned here by Tony only a few weeks ago.

The enhanced entries will soon become more common as we concentrate our enhancements on our Advance Articles, but the current example below from our Photochemical and Photobiological Sciences feed is lovely. RDF code after the jump - just as beautiful to the parentsā€¦

ProspectRSS.jpg

XMP Capabilities Extended

Tony Hammond

Tony Hammond ā€“ 2007 March 22

In Metadata

This post on Adobeā€™s Creative Solutions PR blog may be worth a gander:

_ā€œThis new update, the Adobe XMP 4.1, provides new libraries for developers to read, write and update XMP in popular image, document and video file formats including: JPEG, PSD, TIFF, AVI, WAV, MPEG, MP3, MOV, INDD, PS, EPS and PNG. In addition, the rewritten XMP 4.1 libraries have been optimized into two major components, the XMP Core and the XMP Files.

Use of PRISM in RSS

Tony Hammond

Tony Hammond ā€“ 2007 January 23

In Metadata

Was rooting around for some information and stumbled across this page which may be of interest:

http://googlereader.blogspot.com/2006/08/namespaced-extensions-in-feeds.html

Namespaced Extensions in Feeds

Thursday, August 03, 2006

posted by Mihai Parparita

ā€œI wrote a small MapReduce program to go over our BigTable and get the top 50 namespaces based on the number of feeds that use them.ā€

Seems quite an impressive percentage for PRISM.