APIs for Creative Commons license metadata

From Creative Commons
Revision as of 22:02, 11 March 2007 by Whisler55523 (talk | contribs)
Jump to: navigation, search


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 :)
 <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>


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.

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.

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).

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?

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 :)