Difference between revisions of "XMP help for Adobe applications"

From Creative Commons
Jump to: navigation, search
 
m (Fixed links)
 
(43 intermediate revisions by 10 users not shown)
Line 1: Line 1:
            <span style="margin: 40px; float: right; width: 240px;"><a href="http://www.adobe.com/products/xmp"><img src="/images/metadata//xmp_tagline.png" border="0" height="64" width="160"></a></span>
+
[[Category:Technology]]
 +
[[Category:Developer]]
 +
[[Category:XMP]]
 +
[[Category:metadata]]
 +
You are here because you want to use an Adobe application like Photoshop to mark files as re-usable under a Creative Commons license.
  
= Creative Commons Metadata and XMP =
+
Many Adobe applications support embedding [[XMP]] metadata in files, including PSD documents, Digital Negative files (DNG), JPEG files and PDF documents.  The Creative Commons [http://www.creativecommons.org/license/ licensing process] offers an [[XMP]] template which may be used to mark documents with Creative Commons license information.
  
<p><a href="http://www.adobe.com/products/xmp">XMP</a> (Extensible Metadata Platform) facilitates embedding metadata in files using a subset of RDF.  Most notably XMP supports embedding metadata in PDF and many image formats, though it is designed to support nearly any file type.</p>
+
<b>A Creative Commons XMP FileInfo panel, accessible from many Adobe applications, [[#Creative_Commons_XMP_Custom_FileInfo_Panel|is also available]].</b>
  
<p>The Creative Commons <a href="/license/">licensing process</a> offers a XMP template which may be used to mark files within XMP-supporting <a href="xmp-help">Adobe applications (step-by-step how-to document)</a>.</p>
+
Note that a licensed PDF document should include a visible copyright notice as described in [[HOWTO Tag HTML pages|how to tag works]] in addition to embedded metadata.
  
<p>LaTeX users may use the <a href="/weblog/entry/4270">pdflatex macro</a>.</p>
+
= How to tag a single file =
  
<a name="visible"></a>
+
== Step 1: Choose a license ==
<h3>Note on Visible Copyright Notice in PDFs</h3>
 
  
<p>Even when embedded with XMP metadata a licensed PDF document should include a visible copyright notice as described in <a href="web">how to tag works</a>.</p>
+
Click on "choose license" on most pages at creativecommons.org to visit the [http://www.creativecommons.org/license/ license selection application].
  
<h3>XMP Rights Management Schema</h3>
+
== Step 2: Create an XMP template ==
  
<p>XMP <a href="http://partners.adobe.com/asn/tech/xmp/download.jsp">defines</a> a rights management schema (see section 4.2.5). Creative Commons sets the following properties (example values):</p>
+
In order to mark you work you need an XMP template. You can create this using a text editor. Use the following text, replacing '''LICENSE_URL''', '''YOUR_NAME''' and '''LICENSE_NAME''' with the appropriate values
  
<dl>
+
For example, if a user chose [http://staging.creativecommons.org/license/results-one?q_1=2&q_1=1&field_commercial=yes&field_derivatives=yes&field_jurisdiction=&field_format=&field_worktitle=&field_attribute_to_name=&field_attribute_to_url=&field_sourceurl=&field_morepermissionsurl=&lang=en_US&language=en_US&n_questions=3 Attribution 3.0] they would replace '''LICENSE_URL''' with <code>http://creativecommons.org/licenses/by/3.0/</code>, '''LICENSE_NAME''' with <code>Attribution 3.0</code> and '''YOUR_NAME''' with the user's name.
<dt><strong>xapRights:Copyright</strong></dt>
 
<dd><em>This work is licensed to the public under the Creative Commons Attribution-ShareAlike license http://creativecommons.org/licenses/by-sa/2.0/</em> (Replace 'Attribution-ShareAlike' and license URL with relevant pretty name and URL for chosen license.)</dd>
 
<dt><strong>xapRights:Marked</strong></dt>
 
<dd><em>False</em> if Public Domain, <em>True</em> otherwise.</dd>
 
  
<dt><strong>xapRights:WebStatement</strong></dt>
+
<code><pre>
<dd><em>http://creativecommons.org/licenses/by-sa/2.0/</em> (Replace with relevant license URL.)</dd>
+
<?xpacket begin='' id=''?><x:xmpmeta xmlns:x='adobe:ns:meta/'>
</dl>
+
    <rdf:RDF xmlns:rdf='http://www.w3.org/1999/02/22-rdf-syntax-ns#'>
  
<p>We also set cc:license for compatibility with other CC RDF applications and to maintain a direct reference to the license URL when xapRights:WebStatement references an intermediate page (see Advanced Usage below).</p>
+
    <rdf:Description rdf:about=''
 +
      xmlns:xapRights='http://ns.adobe.com/xap/1.0/rights/'>
 +
      <xapRights:Marked>True</xapRights:Marked> </rdf:Description>
  
<dl>
+
    <rdf:Description rdf:about=''
<dt><strong>cc:license</strong></dt>
+
      xmlns:dc='http://purl.org/dc/elements/1.1/'>
<dd><em>http://creativecommons.org/licenses/by-sa/2.0/</em> (Replace with relevant license URL.)</dd>
+
      <dc:rights>
 +
      <rdf:Alt>
 +
        <rdf:li xml:lang='x-default' >Copyright 2009, YOUR_NAME. Licensed to the public under Creative Commons LICENSE_NAME.</rdf:li>
 +
      </rdf:Alt>
 +
      </dc:rights>
 +
    </rdf:Description>
  
</dl>
+
    <rdf:Description rdf:about=''
 +
      xmlns:cc='http://creativecommons.org/ns#'>
 +
      <cc:license rdf:resource='LICENSE_URL'/>
 +
    </rdf:Description>
  
<a name="advanced"></a>
+
    </rdf:RDF>
<h3>Advanced Usage</h3>
+
</x:xmpmeta><?xpacket end='r'?>
 +
</pre></code>
  
<p>If a page with metadata describing the work with embedded XMP and its license status is available, the value of xapRights:Copyright and xapRights:WebStatement may be extended and modified as follows:</p>
+
== Step 2a (Mac OS X): Save the file to the right folder ==
  
<dl>
+
Under OS X save the file to
<dt><strong>xapRights:Copyright</strong></dt>
 
<dd><em>This work is licensed to the public under the Creative Commons Attribution-ShareAlike license http://creativecommons.org/licenses/by-sa/2.0/ verify at http://example.com/pdf-metadata.html</em> (Replace URL following 'verify at' with URL containing metadata about the XMP-embedded file.)</dd>
 
  
<dt><strong>xapRights:WebStatement</strong></dt>
+
<blockquote><tt>/Users/{YOUR USERNAME}/Library/Application Support/Adobe/XMP/Metadata Templates</tt></blockquote>
  
<dd><em>http://example.com/pdf-metadata.html</em> (Replace with URL containing metadata about the XMP-embedded file.)</dd>
+
where {YOUR USERNAME} is replaced with your OS X short username. You may have to manually create the 'Metadata Templates' directory before saving.
</dl>
 
  
<p><small><br>The XMP logo is either a registered trademark or tradmark of the Adobe Systems Incorporated in the United States and/or other countries.</small></p>
+
The filename needs to end with '''.XMP'''.
 +
 
 +
== Step 2a (Windows): Save the file to the right folder ==
 +
 
 +
In Windows XP, the file should go in this folder:
 +
<blockquote>
 +
<tt>
 +
C:\Documents and Settings\<em>{YOUR USERNAME}</em>\Application Data\Adobe\XMP\Metadata Templates
 +
</tt>
 +
</blockquote>
 +
 
 +
In Windows Vista and Windows 7, the file should go in this folder:
 +
<blockquote>
 +
<tt>
 +
C:\Users\<em>{YOUR USERNAME}</em>\Application Data\Adobe\XMP\Metadata Templates
 +
</tt>
 +
</blockquote>
 +
 
 +
where {YOUR USERNAME} is replaced with your Windows username.  The easiest way do this is to save the file to the desktop, and then to:
 +
 
 +
# Click on the Start Menu
 +
# Click "Run..."
 +
# Type Desktop\..\Application Data
 +
# Click "OK"
 +
# Open the "Adobe" folder inside there
 +
# Open the "XMP" folder inside there, ''or create it'' if there is no XMP folder
 +
# Open the "Metadata Templates" folder inside, ''or create it'' if there is no folder by that name
 +
# Drag the XMP file you saved to your desktop to the folder that just opened
 +
# Close the folder
 +
 
 +
You may have to create the "XMP" folder under "Adobe", and you may also have to create the "Metadata Templates" folder under "XMP".
 +
 
 +
The filename needs to end with '''.XMP'''.
 +
 
 +
== Step 3: Mark Document ==
 +
 
 +
Within your Adobe application open the metadata panel while editing a file you want to mark (File | File Info in Photoshop for example).  Using the fly-out menu in the lower left corner of the panel, choose the template you saved.
 +
 
 +
[[File:CC-templates.jpg]]
 +
 
 +
In Acrobat 9, go to File | Document Properties and click on the Description tab. From there click an Additional Metadata... and select Advanced in the panel on the left. Click on the fly-out menu in the top left corner and select the template you saved.
 +
 
 +
[[File:CC-acrobat-templates.png]]
 +
 
 +
== Step 4: Save and Publish ==
 +
 
 +
Save your file!  If publishing on the web the page that links to your XMP-marked document should contain a license notice and metadata, which can be copied from the same licensing process.
 +
 
 +
= Creative Commons XMP Custom FileInfo Panel =
 +
 
 +
Copyright information is displayed in the standard Description panel (see screenshot above).  This may be supplemented by the Creative Commons XMP FileInfo panel.  This optional panel displays the copyright information available via the Description panel as well as a pointer to this page for help and a License URL, which may differ from the Copyright Info URL (see [[XMP#advanced|advanced usage]]).
 +
 
 +
This custom XMP FileInfo panel is available for free at http://johnbishopimages.com/tools/
 +
 
 +
[[File:XMP-FileInfo-Panel-2.jpg]]
 +
 
 +
<small>The XMP logo is either a registered trademark or trademark of the Adobe Systems Incorporated in the United States and/or other countries.</small>
 +
 
 +
--[[User:John_Bishop_Images|john bishop images]] 21:52, 06 January 2015 (PST)
 +
[http://johnbishopimages.com/tools/ Get the latest version from http://johnbishopimages.com/tools/]

Latest revision as of 05:19, 15 January 2015

You are here because you want to use an Adobe application like Photoshop to mark files as re-usable under a Creative Commons license.

Many Adobe applications support embedding XMP metadata in files, including PSD documents, Digital Negative files (DNG), JPEG files and PDF documents. The Creative Commons licensing process offers an XMP template which may be used to mark documents with Creative Commons license information.

A Creative Commons XMP FileInfo panel, accessible from many Adobe applications, is also available.

Note that a licensed PDF document should include a visible copyright notice as described in how to tag works in addition to embedded metadata.

How to tag a single file

Step 1: Choose a license

Click on "choose license" on most pages at creativecommons.org to visit the license selection application.

Step 2: Create an XMP template

In order to mark you work you need an XMP template. You can create this using a text editor. Use the following text, replacing LICENSE_URL, YOUR_NAME and LICENSE_NAME with the appropriate values.

For example, if a user chose Attribution 3.0 they would replace LICENSE_URL with http://creativecommons.org/licenses/by/3.0/, LICENSE_NAME with Attribution 3.0 and YOUR_NAME with the user's name.


<?xpacket begin='' id=''?><x:xmpmeta xmlns:x='adobe:ns:meta/'>
    <rdf:RDF xmlns:rdf='http://www.w3.org/1999/02/22-rdf-syntax-ns#'>

     <rdf:Description rdf:about=''
      xmlns:xapRights='http://ns.adobe.com/xap/1.0/rights/'>
      <xapRights:Marked>True</xapRights:Marked> </rdf:Description>

     <rdf:Description rdf:about=''
      xmlns:dc='http://purl.org/dc/elements/1.1/'>
      <dc:rights>
       <rdf:Alt>
        <rdf:li xml:lang='x-default' >Copyright 2009, YOUR_NAME. Licensed to the public under Creative Commons LICENSE_NAME.</rdf:li>
       </rdf:Alt>
      </dc:rights>
     </rdf:Description>

     <rdf:Description rdf:about=''
      xmlns:cc='http://creativecommons.org/ns#'>
      <cc:license rdf:resource='LICENSE_URL'/>
     </rdf:Description>

    </rdf:RDF>
</x:xmpmeta><?xpacket end='r'?>

Step 2a (Mac OS X): Save the file to the right folder

Under OS X save the file to

/Users/{YOUR USERNAME}/Library/Application Support/Adobe/XMP/Metadata Templates

where {YOUR USERNAME} is replaced with your OS X short username. You may have to manually create the 'Metadata Templates' directory before saving.

The filename needs to end with .XMP.

Step 2a (Windows): Save the file to the right folder

In Windows XP, the file should go in this folder:

C:\Documents and Settings\{YOUR USERNAME}\Application Data\Adobe\XMP\Metadata Templates

In Windows Vista and Windows 7, the file should go in this folder:

C:\Users\{YOUR USERNAME}\Application Data\Adobe\XMP\Metadata Templates

where {YOUR USERNAME} is replaced with your Windows username. The easiest way do this is to save the file to the desktop, and then to:

  1. Click on the Start Menu
  2. Click "Run..."
  3. Type Desktop\..\Application Data
  4. Click "OK"
  5. Open the "Adobe" folder inside there
  6. Open the "XMP" folder inside there, or create it if there is no XMP folder
  7. Open the "Metadata Templates" folder inside, or create it if there is no folder by that name
  8. Drag the XMP file you saved to your desktop to the folder that just opened
  9. Close the folder

You may have to create the "XMP" folder under "Adobe", and you may also have to create the "Metadata Templates" folder under "XMP".

The filename needs to end with .XMP.

Step 3: Mark Document

Within your Adobe application open the metadata panel while editing a file you want to mark (File | File Info in Photoshop for example). Using the fly-out menu in the lower left corner of the panel, choose the template you saved.

CC-templates.jpg

In Acrobat 9, go to File | Document Properties and click on the Description tab. From there click an Additional Metadata... and select Advanced in the panel on the left. Click on the fly-out menu in the top left corner and select the template you saved.

CC-acrobat-templates.png

Step 4: Save and Publish

Save your file! If publishing on the web the page that links to your XMP-marked document should contain a license notice and metadata, which can be copied from the same licensing process.

Creative Commons XMP Custom FileInfo Panel

Copyright information is displayed in the standard Description panel (see screenshot above). This may be supplemented by the Creative Commons XMP FileInfo panel. This optional panel displays the copyright information available via the Description panel as well as a pointer to this page for help and a License URL, which may differ from the Copyright Info URL (see advanced usage).

This custom XMP FileInfo panel is available for free at http://johnbishopimages.com/tools/

XMP-FileInfo-Panel-2.jpg

The XMP logo is either a registered trademark or trademark of the Adobe Systems Incorporated in the United States and/or other countries.

--john bishop images 21:52, 06 January 2015 (PST) Get the latest version from http://johnbishopimages.com/tools/