|
|
| (4 intermediate revisions by the same user not shown) |
| Line 1: |
Line 1: |
| == Purpose ==
| | #REDIRECT [[Liblicense]] |
| To provide a generic interface to the CC license data, license choice data and license choice logic.
| |
| | |
| == Audience ==
| |
| Application developers who wish to choose and/or verify CC licenses.
| |
| | |
| == Implementation ==
| |
| This library will be implemented in C to provide maximum portability.
| |
| | |
| === Interface ===
| |
| * License Attributes
| |
| ** Standard
| |
| *** CC_NC
| |
| *** CC_SA
| |
| *** CC_ND
| |
| *** CC_BY
| |
| ** Sampling
| |
| *** SAMPLING_NC
| |
| | |
| * Data accessors.
| |
| ** get_jurisdiction(uri)
| |
| ** get_jurisdictions(short)
| |
| ** get_locale(uri)
| |
| ** get_locales(short)
| |
| ** get_name(uri)
| |
| ** get_version(uri)
| |
| ** get_versions(short, jurisdiction)
| |
| ** get_short(uri)
| |
| ** has_flag(attribute,uri)
| |
| ** category_flags(category)
| |
| ** category(uri)
| |
| ** get_notification(uri[,url])
| |
| | |
| * Data verification.
| |
| ** verify_uri(uri)
| |
| | |
| * License chooser (return uris)
| |
| ** get_license(category,jurisdiction,locale,flags)
| |
| ** get_license_options(category,jurisdiction,locale)
| |
| ** get_all_licenses()
| |
| ** get_general_licenses(category)
| |
| ** get_licenses(category)
| |
| ** get_categories()
| |
| | |
| === Data Structure ===
| |
| * Data Types (informal)
| |
| ** uri
| |
| ** name
| |
| ** notification
| |
| ** deed
| |
| ** sampling
| |
| | |
| ==== Diskwise ====
| |
| * licenses
| |
| ** creative_commons_sampling
| |
| ** creative_commons
| |
| *** licenses
| |
| *** flags
| |
| *** name
| |
| *** general
| |
| | |
| === Bindings ===
| |
| * Python
| |
| | |
| == Uses ==
| |
| [[libccLicense system implementation guidelines]] | |
| * Gnome
| |
| * KDE
| |
| * OpenMoko
| |
| * Sugar (OLPC)
| |