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

From Creative Commons
Jump to: navigation, search
(Examples)
Line 15: Line 15:
  
 
== Examples ==
 
== 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 :)''
 
''Please add your example, screenshot, mockup, etc here :)''
Line 31: Line 37:
  
 
'''Save Dialog + Licensing:'''  This shows licensing dialogs for saving content. How could this be used to help find content on a desktop, web, etc?
 
'''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 ==
 
== TODO ==
  
 
* Please add your TODO here :)
 
* Please add your TODO here :)

Revision as of 00:30, 2 May 2006


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.

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