Difference between revisions of "Liblicense"

From Creative Commons
Jump to: navigation, search
(Developers: Using git: Short git submodule explanation)
(More Information)
Line 62: Line 62:
* [[License RDF|RDF Reference]]
* [[License RDF|RDF Reference]]
* [[Liblicense/Metadata_Table|File Metadata Information]]
* [[Liblicense/Metadata_Table|File Metadata Information]]
* [http://labs.creativecommons.org/~nathan/liblicense Library Documentation] (generated from source)
* [http://code.creativecommons.org/doc/liblicense/ Library Documentation] (generated from source)
* [[Buildbot]] helps test out liblicense on various platforms.
* [[Buildbot]] helps test out liblicense on various platforms.

Revision as of 15:56, 4 May 2009

What is liblicense?

In short: Low-level license metadata integration for applications.

liblicense provides a straight-forward way for developers to build license-aware applications. liblicense utilizes a pluggable module system for reading and writing metadata from specific file types, allowing extensibility for specific content types.


  • Extract and write license information for files
  • Supports enumeration of available licenses
  • Wraps internationalized license information for Creative Commons licenses
  • Bindings for dynamic languages (currently Python and Ruby)
  • Extensible support for file types using module system
  • No specific GUI library dependency allows applications to build the graphical chooser most appropriate for their platform.

Future Improvements


System architecture.png

Liblicense Architecture - SVG



See Operating System Mockups for ideas on how liblicense could be integrated into various platforms.


Developers: Using git

If you want to check out the source code and develop on it, use this command:

git clone git://code.creativecommons.org/liblicense.git
git submodule init
git submodule update

That should give you a working copy you can commit to. In case you wonder: the latter two commandsfill the directories

  • icons/jurisdictions
  • license.rdf
  • licenses

with content from external repositories similar to svn:externals for Subversion.

More Information

See Also

Have an idea about this page? Want to help build the CC ecosystem? Check out the challenges related to Liblicense, or add one of your own below.
Open Challenges
{{#ask: Is Complete::no

Related To::Liblicense|format=table}}

Completed Challenges
{{#ask: Is Complete::yes

Related To::Liblicense|format=table}}

{{#forminput:Challenge|35 Challenge[related_to]=Liblicense }}