Difference between revisions of "Scholars Copyright Integration"

From Creative Commons
Jump to: navigation, search
 
Line 1: Line 1:
 
{{template:incomplete}}
 
{{template:incomplete}}
  
This document describes integrating the Scholar's Copyright Addendum Generator into your website.  For information on the Scholar's Copyright project, see [http://www.sciencecommons.org/projects/publishing/index.html the project page at Science Commons].
+
This document describes integrating the Scholars Copyright [http://scholars.sciencecommons.org Addendum Generator] into your website.  For general information on the Scholars Copyright project, see [http://www.sciencecommons.org/projects/publishing/index.html the project page at Science Commons].
  
 
== Basic Integration ==
 
== Basic Integration ==
 +
 +
The generator can be integrated with your site using a link or an <code>&lt;iframe&gt;</code> tag.  For example:
 +
 +
<code>
 +
  <iframe src="http://scholars.sciencecommons.org/iframe?partner_id=example" />
 +
</code>
 +
 +
The value supplied for <code>partner_id</code> should be a short, descriptive name for your site.  For example, Big Example University might supply <code>partner_id=example_u</code>.
  
 
== Styling the Generator ==
 
== Styling the Generator ==
 +
 +
In addition to the <code>partner_id</code>, you may also supply an optional stylesheet URL.  For example:
 +
 +
<code>
 +
  <iframe src="http://scholars.sciencecommons.org/iframe?partner_id=example&stylesheet=http://example.com/scicom.css" />
 +
</code>
 +
 +
Valid style classes/ids include:
 +
 +
...
 +
 +
 +
Note that if no stylesheet is specified, a default will be used; to eliminate the stylesheet completely, provide the parameter with no value.
  
 
[[Category:Technology]]
 
[[Category:Technology]]

Revision as of 13:51, 22 March 2007


This document describes integrating the Scholars Copyright Addendum Generator into your website. For general information on the Scholars Copyright project, see the project page at Science Commons.

Basic Integration

The generator can be integrated with your site using a link or an <iframe> tag. For example:

  <iframe src="http://scholars.sciencecommons.org/iframe?partner_id=example" />

The value supplied for partner_id should be a short, descriptive name for your site. For example, Big Example University might supply partner_id=example_u.

Styling the Generator

In addition to the partner_id, you may also supply an optional stylesheet URL. For example:

  <iframe src="http://scholars.sciencecommons.org/iframe?partner_id=example&stylesheet=http://example.com/scicom.css" />

Valid style classes/ids include:

...


Note that if no stylesheet is specified, a default will be used; to eliminate the stylesheet completely, provide the parameter with no value.