LibccLicense: Difference between revisions
Appearance
| Line 9: | Line 9: | ||
=== Interface === | === Interface === | ||
* License Attributes | |||
** Standard | |||
*** CC_NC | |||
*** CC_SA | |||
*** CC_ND | |||
*** CC_BY | |||
** Sampling | |||
*** SAMPLING_NC | |||
* Data accessors. | * Data accessors. | ||
** get_jurisdiction(uri) | |||
** get_jurisdictions(short) | |||
** get_locale(uri) | ** get_locale(uri) | ||
** | ** get_locales(short) | ||
** get_name(uri) | ** get_name(uri) | ||
** get_version(uri) | ** get_version(uri) | ||
** | ** get_versions(short, jurisdiction) | ||
** get_short(uri) | |||
** has_flag(attribute,uri) | |||
** category_flags(category) | |||
** category(uri) | ** category(uri) | ||
** get_notification(uri[,url]) | ** get_notification(uri[,url]) | ||
| Line 23: | Line 36: | ||
* License chooser (return uris) | * License chooser (return uris) | ||
** get_license(category,flags) | ** get_license(category,jurisdiction,locale,flags) | ||
** get_license_options(category,locale) | ** get_license_options(category,jurisdiction,locale) | ||
** get_all_licenses() | |||
** get_general_licenses(category) | |||
** get_licenses(category) | |||
** get_categories() | |||
=== Data Structure === | === Data Structure === | ||
Revision as of 19:56, 19 June 2007
Purpose
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
- Standard
- 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)