liblicense
Nathan R. Yergler,
Creative Commons
Asheesh Laroia,
Creative Commons
liblicense
share, reuse, and remix — legally
3
<a href="http://creativecommons.org/licenses/by/3.0"
rel="license">CC BY 3.0</a>
Programs should be able to answer simple questions about licensed works.
(WCOP/WOAF in ID3)
(LICENSE/CONTACT)
(Vorbis Comment)
?
liblicense
liblicense
: Overview
ll_init();
printf("%s\n", ll_read("/home/nathan/gnomophone.mp3", LL_LICENSE));
ll_stop();
license_url = liblicense.read('/home/nathan/gnomophone.mp3')
ll_init();
ll_write(
"/home/nathan/gnomophone.mp3",
"http://creativecommons.org/licenses/by/3.0/", LL_LICENSE);
ll_stop();
liblicense.write('/home/nathan/gnomophone.mp3',
'http://creativecommons.org/licenses/by/3.0/')
ll_init();
printf("%s\n", ll_read(
"/home/nathan/art.pdf", LL_MORE_PERMISSIONS));
ll_stop();
more_perms = liblicense.read('/home/nathan/art.pdf',
liblicense.LL_MORE_PERMISSIONS)
* This depends on the development version and will be packaged early next week.
def license_chosen(chooser):
print chooser.get_license()
widget = LicenseWidget(license)
widget.connect("destroy", license_chosen)
widget.show()
* This is woefully under-documented; we're working on that.