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

From Creative Commons
Jump to: navigation, search
 
(10 intermediate revisions by 5 users not shown)
Line 1: Line 1:
[[Category:Technology]]
+
{{Challenge
[[Category:Developer]]
+
|related_to=License Wrappers
[[Category:metadata]]
+
|challenge_type=Developer
[[Category:Developer Challenges Completed]]
+
|tags=metadata
[[Category:Developer Challenges]]
+
|is_complete=no
[[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 informationBonus points if your implementation can dynamically discover and wrap new licenses using the Creative Commons metadata vocabulary.
+
We provide [http://code.creativecommons.org/viewgit/license.rdf.git/ RDF metadata] [http://www.planetsofts.com software] for each our our licenses and other legal tools. Many developers will find it easiest to access this metadata via a programming language-specifc API. Our new implementation of <code>cc.license</code> is an example of a full API driven by the RDF metadata ([http://code.creativecommons.org/viewgit/cc.license.git/ source]).   
  
== Implementations ==
+
Other language implementations 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.
 
 
* 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 :)
 
 
 
<!-- 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 ==
 
  
=== Code ===
+
== Additional Information ==
  
 
* 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 ===
+
== Implementations ==
 
 
''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 :)
+
* APIs for [http://workspaces.gotdotnet.com/cclib C#] (Steve Griffin), Javascript [[CcRdf_for_Javascript|Javascript]] (Nathan Yergler) and [[CcRdf_for_Python|Python]] (Nathan Yergler) have been created in response to this challenge.

Latest revision as of 19:00, 6 April 2012

Related To: ,|x|Related To::x}}
Tags: {{#arraymap:metadata|,|x|Has Tag::x}} | (none) }}
Challenge Type: Has Challenge Type::Developer | (none) }}
Is Complete: Is Complete::no | Is Complete::no }}


We provide RDF metadata software for each our our licenses and other legal tools. Many developers will find it easiest to access this metadata via a programming language-specifc API. Our new implementation of cc.license is an example of a full API driven by the RDF metadata (source).

Other language implementations 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.

Additional Information

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

Implementations

  • APIs for C# (Steve Griffin), Javascript Javascript (Nathan Yergler) and Python (Nathan Yergler) have been created in response to this challenge.