Difference between revisions of "CcValidator"

From Creative Commons
Jump to: navigation, search
(Halfway to current)
Line 5: Line 5:
 
ccValidator is an on-line service which parses Creative Commons licenses, validates the RDF and displays their contents in human readable form.  It is useful for ensuring that your license accurately reflects the rights you wish to reserve (or not).  The service is available from the Creative Commons at http://validator.creativecommons.org.
 
ccValidator is an on-line service which parses Creative Commons licenses, validates the RDF and displays their contents in human readable form.  It is useful for ensuring that your license accurately reflects the rights you wish to reserve (or not).  The service is available from the Creative Commons at http://validator.creativecommons.org.
  
This service was created in response to a list of [[Developer Challenges|developer challenges]] published by the Creative Commons.  Suggestions and bug reports are always welcome.  You can e-mail them to software@creativecommons.org.   
+
This service was first created in response to a list of [[Developer Challenges|developer challenges]] published by the Creative Commons and totally revamped during Google Summer of Code 2008.  Suggestions and bug reports are always welcome.  You can e-mail them to software@creativecommons.org.   
  
 
== Architecture ==
 
== Architecture ==
  
The validator consists of a CGI driver and a handful of Python support modules. You can download the tarball here. The parsing is performed by ccRdf, a set of Python classes that wrap Creative Commons licenses.  These classes provide facilities to parse, examine and emit license and work-related RDF.
+
The validator consists of a Pylons web app called "validator" and a Python support module called "libvalidator." libvalidator handles RDF in many formats; RDF in a comment, RDFa, or inline RDF/XML. HTML is processed by html5lib, and the RDF is passed on to RDFlib. The CC RDF information is accessed via the cc.license Python module that wraps the Creative Commons RDF data.
  
 
== Source Code ==
 
== Source Code ==
  
The current implementation is available is [http://darcs.net Darcs] at [http://darcs.yergler.net yergler.net].  We are currently working on updating this implementation with some new features; the source for the new implementation will reside in the Creative Commons Subversion repository.
+
The current implementation is available in git; FIXME! It was in [http://darcs.net Darcs] at [http://darcs.yergler.net yergler.net].  We are currently working on updating this implementation with some new features; the source for the new implementation will reside in the Creative Commons Subversion repository.
  
 
== Additional Resources ==
 
== Additional Resources ==

Revision as of 02:15, 6 January 2009


ccValidator is an on-line service which parses Creative Commons licenses, validates the RDF and displays their contents in human readable form. It is useful for ensuring that your license accurately reflects the rights you wish to reserve (or not). The service is available from the Creative Commons at http://validator.creativecommons.org.

This service was first created in response to a list of developer challenges published by the Creative Commons and totally revamped during Google Summer of Code 2008. Suggestions and bug reports are always welcome. You can e-mail them to software@creativecommons.org.

Architecture

The validator consists of a Pylons web app called "validator" and a Python support module called "libvalidator." libvalidator handles RDF in many formats; RDF in a comment, RDFa, or inline RDF/XML. HTML is processed by html5lib, and the RDF is passed on to RDFlib. The CC RDF information is accessed via the cc.license Python module that wraps the Creative Commons RDF data.

Source Code

The current implementation is available in git; FIXME! It was in Darcs at yergler.net. We are currently working on updating this implementation with some new features; the source for the new implementation will reside in the Creative Commons Subversion repository.

Additional Resources

  • CcRdf performs the heavy lifting for the service
  • RdfExtract is used to pull out interesting bits
  • Historical development notes are in Nathan Yergler's blog; the ccValidate-specific archive is located here.