Difference between revisions of "Adobe Metadata Panel"

From Creative Commons
Jump to: navigation, search
(Cleaned up instructions, I guess)
Line 1: Line 1:
 
[[Category:Technology]][[Category:Developer]][[Category:Example]]
 
[[Category:Technology]][[Category:Developer]][[Category:Example]]
Copy and save this to a directory named "Custom File Info Panels" peer to "Metadata Templates" You can also right-click and save [http://creativecommons.org/technology/CreativeCommonsPanel.txt this file to your disk in a similar fashion].
 
  
<div class="code">
+
You can add a panel to Adobe Photoshop CS3 and other Adobe-written XMP-compliant applications. This panel lets you choose a license from the convenience of the File Info box.  Here's how:
<pre>
 
<?xml version="1.0">
 
  
<!DOCTYPE panel SYSTEM "http://ns.adobe.com/custompanels/1.0">
+
== Step 1: Download our panel ==
  
<panel title="$$$/CustomPanels/CreativeCommons/PanelName=Creative Commons" version="1" type="custom_panel">
+
Right-click (or control-click, on a Mac) this [http://mirrors.creativecommons.org/adobe-panel/CreativeCommonsPanel-2007.txt link to our panel file] and choose to '''save''' the file, not just "open" it. Under Windows save it to the Desktop.  Under OS X save the file to
  
group(placement: place_column, spacing: gSpace, vertical: align_top, horizontal: align_fill)
+
<blockquote><tt>/Users/{YOUR USERNAME}/Library/Application Support/Adobe/XMP/Custom File Info Panels</tt></blockquote>
{
 
  
group(placement: place_row, spacing: gSpace, horizontal: align_fill)
+
== Step 1a: On Windows, move the file to the right place ==
{
 
icon(builtin_icon:builtin_icon_alert, width: 20, height: 20);
 
static_text(name: '$$$/CustomPanels/CreativeCommons/VisitHelp1=Visit the URL below to learn more about Creative Commons license information.', horizontal: align_fill, label: false);
 
}
 
group(placement: place_row, spacing: gSpace, horizontal: align_fill)
 
{
 
  
edit_text(name: '$$$/CustomPanels/CreativeCommons/Help=http://creativecommons.org/technology/xmp-help', horizontal: align_center, label: false );
+
Mac users can skip to Step 2.
}
 
  
 +
In Windows, the file should go in this folder:
 +
<blockquote>
 +
<tt>
 +
C:\Documents and Settings\<em>{YOUR USERNAME}</em>\Application Data\Adobe\XMP\Custom File Info Panels
 +
</tt>
 +
</blockquote>
  
separator(horizontal: align_fill); group(placement: place_row, spacing: gSpace, horizontal: align_fill)
+
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:
{
 
static_text(name: '$$$/CustomPanels/CreativeCommons/License/CopyrightInfoURL=&Copyright Info URL:', horizontal: align_right, vertical: align_top, font: font_big_right);
 
edit_text(horizontal: align_fill, xmp_namespace: xap_ns_xap_rights, xmp_path: 'WebStatement');
 
mru_popup(xmp_namespace: xap_ns_xap_rights, xmp_path: 'WebStatement', no_check: true, visible: false, vertical: align_top);
 
}
 
  
group(placement: place_row, spacing: gSpace, horizontal: align_fill)
+
# Click on the Start Menu
{
+
# Click "Run..."
static_text(name: '$$$/CustomPanels/CreativeCommons/CopyrightNotice=Copyright Notice:', horizontal: align_left, font: font_big_right, vertical: align_top);
+
# Type Desktop\..\Application Data
edit_text(horizontal: align_fill, height: 54, xmp_namespace: xap_ns_xap_rights, xmp_path: 'Copyright', container_type: alt_struct, v_scroller: true);
+
# Click "OK"
mru_popup(xmp_namespace: xap_ns_xap_rights, xmp_path: 'Copyright', container_type: alt_struct, no_check: true, vertical: align_top);
+
# Open the "Adobe" folder inside there
}
+
# Open the "XMP" folder inside there, ''or create it'' if there is no XMP folder
 +
# Open the "Custom File Info Panels" 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
  
group(placement: place_row, spacing: gSpace, horizontal: align_fill)
+
You may have to create the "XMP" folder under "Adobe", and you may also have to create the "Custom File Info Panels" folder under "XMP".
{
 
static_text(name: '$$$/CustomPanels/CreativeCommons/CopyrightState=&Copyright Status:', horizontal: align_left, font: font_big_right);
 
tristate_popup(items: '$$$/CustomPanels/CreativeCommons/CopyrightPopupItems=Unknown{};Copyrighted{True};Public Domain{False}', xmp_namespace: xap_ns_xap_rights, xmp_path: 'Marked');
 
}
 
  
group(placement: place_row, spacing: gSpace, horizontal: align_fill)
+
== Step 2: Restart Photoshop and notice the beautiful new panel ==
{
 
static_text(name: '$$$/CustomPanels/CreativeCommons/LicenseURL=&License URL:', horizontal: align_right, vertical: align_top, font: font_big_right);
 
edit_text(horizontal: align_fill, xmp_ns_prefix: 'cc', xmp_namespace: 'http://web.resource.org/cc/', xmp_path: 'license');
 
mru_popup(xmp_ns_prefix: 'cc', xmp_namespace: 'http://web.resource.org/cc/', xmp_path: 'license', no_check: true, visible: false, vertical: align_top);
 
}
 
  
separator(horizontal: align_fill);
+
Once you quit and restart Photoshop, you can look at the Creative Commons metadata attached to a file by clicking "File Info" inside the "File" menu at the top left.
 
 
}
 
</panel>
 
</pre>
 
</div>
 

Revision as of 22:35, 10 August 2007


You can add a panel to Adobe Photoshop CS3 and other Adobe-written XMP-compliant applications. This panel lets you choose a license from the convenience of the File Info box. Here's how:

Step 1: Download our panel

Right-click (or control-click, on a Mac) this link to our panel file and choose to save the file, not just "open" it. Under Windows save it to the Desktop. Under OS X save the file to

/Users/{YOUR USERNAME}/Library/Application Support/Adobe/XMP/Custom File Info Panels

Step 1a: On Windows, move the file to the right place

Mac users can skip to Step 2.

In Windows, the file should go in this folder:

C:\Documents and Settings\{YOUR USERNAME}\Application Data\Adobe\XMP\Custom File Info Panels

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 "Custom File Info Panels" 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 "Custom File Info Panels" folder under "XMP".

Step 2: Restart Photoshop and notice the beautiful new panel

Once you quit and restart Photoshop, you can look at the Creative Commons metadata attached to a file by clicking "File Info" inside the "File" menu at the top left.