Difference between revisions of "APIs for Creative Commons license metadata"

From Creative Commons
Jump to: navigation, search
Line 2: Line 2:
 
[[Category:Developer]]
 
[[Category:Developer]]
 
[[Category:metadata]]
 
[[Category:metadata]]
[[Category:Developer Challenges Completed]]
 
[[Category:Developer Challenges]]
 
[[Category:mockup]]
 
{{incomplete}}
 
  
 
We provide RDF metadata for each our our licenses and the public domain dedication. Many developers will find it easiest to access this metadata via a programming language-specifc API. [http://cclicense.sourceforge.net/ cclicense.php] is an example of such an API for PHP web developers. Ada, C++, E, Java, Lisp, ML, Perl, Ruby, Smalltalk, Tcl (and many more!) are all up for grabs. Your wrapper should also include a small driver program to demonstrate how it can be used to pull license information.  Bonus points if your implementation can dynamically discover and wrap new licenses using the Creative Commons metadata vocabulary.
 
We provide RDF metadata for each our our licenses and the public domain dedication. Many developers will find it easiest to access this metadata via a programming language-specifc API. [http://cclicense.sourceforge.net/ cclicense.php] is an example of such an API for PHP web developers. Ada, C++, E, Java, Lisp, ML, Perl, Ruby, Smalltalk, Tcl (and many more!) are all up for grabs. Your wrapper should also include a small driver program to demonstrate how it can be used to pull license information.  Bonus points if your implementation can dynamically discover and wrap new licenses using the Creative Commons metadata vocabulary.
Line 13: Line 9:
 
* APIs for [http://workspaces.gotdotnet.com/cclib C#] (Steve Griffin) and [http://yergler.net/projects/ccrdf/ Python] (Nathan Yergler) have been created in response to this challenge.
 
* APIs for [http://workspaces.gotdotnet.com/cclib C#] (Steve Griffin) and [http://yergler.net/projects/ccrdf/ Python] (Nathan Yergler) have been created in response to this challenge.
 
* Please add your implementation here :)
 
* Please add your implementation here :)
 
<!-- Google CSE Search Box Begins -->
 
  <form id="searchbox_015317055212738668323:o-ewxegfmty" action="">
 
    <input type="hidden" name="cx" value="015317055212738668323:o-ewxegfmty" />
 
    <input type="hidden" name="cof" value="FORID:9" />
 
    <input name="q" type="text" size="40" />
 
    <input type="submit" name="sa" value="Search" />
 
    <img src="http://www.google.com/coop/images/google_custom_search_smnar.gif" alt="Google Custom Search" />
 
  </form>
 
<!-- Google CSE Search Box Ends -->
 
 
  
 
== Examples ==
 
== Examples ==
Line 30: Line 15:
  
 
* Please see the [[SVG]] and [[Inkscape]] pages to see C++ code that could be used to complete this challenge and/or make your own library for cc metadata and licensing.
 
* Please see the [[SVG]] and [[Inkscape]] pages to see C++ code that could be used to complete this challenge and/or make your own library for cc metadata and licensing.
 
=== Mockups ===
 
 
''Please add your example, screenshot, mockup, etc here :)''
 
 
       
 
 
'''The following are not low level APIs, but show what could be possible with APIs that applications and desktop systems could add with the proper APIs.'''
 
 
[[image:Inkscape-0.44SVN-open-dialog-plus.png]]
 
 
'''Open Dialog:''' This is an example Open (find) dialog that could use one's local hard drive or a service (on-line, etc).
 
 
[[image:Inkscape-0.44SVN-save-dialog-plus-metadata-exp.png]]
 
 
'''Save Dialog + Metadata:''' This shows metadata save dialogs. How could one use these fields to help find content?
 
 
[[image:Inkscape-0.44SVN-save-dialog-plus-license-exp.png]]
 
 
'''Save Dialog + Licensing:'''  This shows licensing dialogs for saving content. How could this be used to help find content on a desktop, web, etc?
 
 
== TODO ==
 
 
* Please add your TODO here :)
 

Revision as of 17:03, 4 March 2008


We provide RDF metadata for each our our licenses and the public domain dedication. Many developers will find it easiest to access this metadata via a programming language-specifc API. cclicense.php is an example of such an API for PHP web developers. Ada, C++, E, Java, Lisp, ML, Perl, Ruby, Smalltalk, Tcl (and many more!) are all up for grabs. Your wrapper should also include a small driver program to demonstrate how it can be used to pull license information. Bonus points if your implementation can dynamically discover and wrap new licenses using the Creative Commons metadata vocabulary.

Implementations

  • APIs for C# (Steve Griffin) and Python (Nathan Yergler) have been created in response to this challenge.
  • Please add your implementation here :)

Examples

Code

  • Please see the SVG and Inkscape pages to see C++ code that could be used to complete this challenge and/or make your own library for cc metadata and licensing.