From Creative Commons
Revision as of 23:05, 5 April 2008 by Paulproteus (talk | contribs) (Write up)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

Enrico Masala originally wrote an easy-to-use Java program to embed Creative Commons metadata into PDF files using XMP. This program is Free Software and does not require Adobe Acrobat Professional; furthermore, it can be modified fairly easily to run "headlessly" and insert the license XMP into PDF files automatically.

Usage instructions


When you run the application by launching its JAR, you are greeted with this window. choose "File->Open" will let you select a PDF, and the drop-down Clicking on "Advanced" will show you the XMP embedded in the PDF, and choosing a license from the "Update License" widgets will, obviously, let you choose a license.

The program also has a command line interface that can be accessed by running the "mainTextual" function in the PdfLicenseManager class.

Getting and modifying the source code

You can check it out of our Subversion:

The main development happens in the "trunk" directory.

Building a binary JAR

Just run "make" in the trunk/ directory.

Version history

  • 2.3: (Unreleased yet)
    • Updated by Asheesh Laroia to refer to new Creative Commons namespace
  • 2.2: Feb 7, 2006
    • Bug fix in updateLicense. It tried to append new nodes to the last “rdf:Description” instead of "rdf:RDF". Thanks to Mr. dOGMaTiC and Andres Gonzalez.
  • 2.1 Dec 4, 2006
    • Modified some info messages.
  • 2.0 Jul 12, 2006
    • Added a graphical user interface. Command line interface is still present.
  • 1.0 Jul 5, 2006
    • First release. Command line interface.

Historical notes