[cc-devel] Creative Commons Image using web service api
john at creativecommons.org
Wed Mar 17 12:39:56 EDT 2010
There are currently no API methods that deal with the license badges
solely, but I think I have a straightforward suggestion for you.
Here are the URLS to all of the images...
By iterating over the list of license codes you can generate the URL for
each license. CC0 and Public Domain will be edge cases however, and will
need to be hard codes in your repository.
Note that you can replace "88x31" with "80x15" in any of the above URLs
for a slimmer, smaller icon.
As for a page discussing each license in detail:
On 03/17/2010 08:52 AM, Wendy J Bossons wrote:
> I recently integrated the CC license api into our repository. In order for the project to be completed, I want to add an image to the subject page that represents Creative Commons -- a nice non-specific license image which will have a url pointing at the creative commons site page where the license type is described. My other option is to programmatically derive the image for each license type. Regarding the latter, is there a pattern/algorithm to follow to build the image url?
> Wendy Bossons
> Web Developer
> MIT Libraries
> Technology Research& Development
> Building E25-131
> 77 Massachusetts Ave.
> Cambridge, MA 02141-4307
> Phone 617-253-0770
> Fax 617-253-4462
> wbossons at mit.edu
> cc-devel mailing list
> cc-devel at lists.ibiblio.org
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the cc-devel