Help would be much welcome! But I think it's currently a bit hard to help. There is a repo for the API on GitHub:
https://github.com/creativecommons/cc.api But unlike the main creativecommons.org site, that repo doesn't encompass all of the API, it's expected to be deployed on a server together with dependencies (like the license.rdf repo). For creativecommons.org I spent a ton of time making it so that a single repo was all you needed, using submodules for some of the dependencies: https://github.com/creativecommons/creativecommons.org (see python_env) There is no such thing for the API right now, so to update it it's not a simple change in git. I agree with you though, it should be a lot easier to help. We are getting closer to hiring a new sysadmin, and cleaning up systems & getting everything in order will be an early priority. Dan On Thu, Feb 27, 2014 at 12:46 PM, Tarmo Toikkanen <[email protected]>wrote: > With the currently limited technical resources at CC HQ, would it make > sense to push these services into github and ask cc-devel to help fix them? > > -- > Tarmo Toikkanen > [email protected] > http://tarmo.fi > > On Thursday 27. 02 2014 at 22.41, Dan Mills wrote: > > Got it. > > I took a quick look... and I don't know how the api service is configured. > I think it's just a matter of updating the RDF, but I'm not sure how > quickly I could figure it out to update it. It looks like it's in a Python > egg file. > > I've got it tracked, though, we'll get it fixed. > > Dan > > > On Thu, Feb 27, 2014 at 12:13 PM, Jonas Öberg <[email protected]> wrote: > > Hi Lisa, > > The URL you're looking for is for instance > http://api.creativecommons.org/rest/staging/details?license-uri=http://creativecommons.org/licenses/by/3.0/ > Please note the trailing / > > However, I can't get the API to give any information on the 4.0 suite of > licenses. On the other hand, > http://api.creativecommons.org/rest/1.5/simple/chooser also returns only > the 3.0 licenses, so I would assume that the API simply has not been > updated. > > Sincerely, > Jonas > > > > On 27 February 2014 15:06, Lisa Brooks <[email protected]> wrote: > > Hi all - I am having problems with the CC API. I thought the issue was the > 4.0 license, but am realizing that's not the case. If you try to get > license details through the API -- I've done this with the staging version, > dev verison, and the 1.5 version -- you get back "Invalid license URI" even > when you do this with a simple BY/3.0 license. > > Staging - > > http://api.creativecommons.org/rest/staging/details?license-uri=http://creativecommons.org/licenses/by/3.0 > > Development - > > http://api.creativecommons.org/rest/dev/details?license-uri=http://creativecommons.org/licenses/by/3.0 > > 1.5 > > http://api.creativecommons.org/rest/1.5/details?license-uri=http://creativecommons.org/licenses/by/3.0 > > If you swap out the 3.0 for 4.0 - same problem. Has something changed with > API calls? According to the API info page, this all should work. > http://api.creativecommons.org/docs/readme_15.html > > Thanks for any/all help! > ~Lisa > > Lisa Brooks > Director of Knowledge Management Systems > [image: The Foundation Center] <http://foundationcenter.org/> > The Foundation Center > 79 Fifth Avenue ♦ New York, NY 10003 > T:-(773) 649-1790 ♦ F:-(773)-634-8407 > [email protected] ♦ foundation center<http://foundationcenter.org/> > > [image: Twitter] <http://twitter.com/#!/fdncenter>[image: > Facebook]<http://www.facebook.com/foundationcenter>[image: > YouTube] <http://www.youtube.com/user/TheFoundationCenter> > > *IssueLab: A Service of the Foundation Center <http://issuelab.org/>* > Explore our collection of third sector research and resources > http://www.issuelab.org > > > On Tue, Feb 25, 2014 at 9:07 AM, <[email protected]>wrote: > > Send cc-devel mailing list submissions to > [email protected] > > To subscribe or unsubscribe via the World Wide Web, visit > http://lists.ibiblio.org/mailman/listinfo/cc-devel > or, via email, send a message with subject or body 'help' to > [email protected] > > You can reach the person managing the list at > [email protected] > > When replying, please edit your Subject line so it is more specific > than "Re: Contents of cc-devel digest..." > > > Today's Topics: > > 1. Re: Unable to add Creative Commons HTML code to my blog > (Harris Schneiderman) > 2. Re: Unable to add Creative Commons HTML code to my blog > (Mike Linksvayer) > > > ---------------------------------------------------------------------- > > Message: 1 > Date: Tue, 25 Feb 2014 13:05:26 +0000 > From: Harris Schneiderman <[email protected]> > Subject: Re: [cc-devel] Unable to add Creative Commons HTML code to my > blog > To: Mike Linksvayer <[email protected]> > Cc: "[email protected]" <[email protected]> > Message-ID: > < > c7b787262fa643bbabc0ecaf128ff...@by2pr04mb191.namprd04.prod.outlook.com> > > Content-Type: text/plain; charset="us-ascii" > > Hello Mike, > > Thank you for your suggestion. I believe you are correct that some of the > attribution fields are causing the problem. > > Here is the code snippet I am trying to add: > > <a rel="license" href="http://creativecommons.org/licenses/by/4.0/"><img > alt="Creative Commons License" style="border-width:0" > src="http://i.creativecommons.org/l/by/4.0/88x31.png" /></a><br /><span > xmlns:dct="http://purl.org/dc/terms/" href=" > http://purl.org/dc/dcmitype/Text" > property="dct:title" rel="dct:type">H Tech Solutions Blog</span> by <a > xmlns:cc="http://creativecommons.org/ns#" > href="http://www.htechsolutions.biz/blog" property="cc:attributionName" > rel="cc:attributionURL">Harris Schneiderman</a> is licensed under a <a > rel="license" href="http://creativecommons.org/licenses/by/4.0/">Creative > Commons Attribution 4.0 International License</a>.<br />Permissions beyond > the > scope of this license may be available at <a > xmlns:cc="http://creativecommons.org/ns#" > href="http://www.htechsolutions.biz/contact-us" > rel="cc:morePermissions">http://www.htechsolutions.biz/contact-us</a>. > > > Which sections of code should I remove as a test? > > > > Harris Schneiderman > U.S. Phone: +1 469-844-5569 > Email: [email protected]<mailto:[email protected]> > > > > > From: [email protected] [mailto:[email protected]] On Behalf Of Mike > Linksvayer > Sent: February 24, 2014 3:47 AM > To: Harris Schneiderman > Cc: [email protected] > Subject: Re: [cc-devel] Unable to add Creative Commons HTML code to my blog > > Try not filling out any of the attribution fields. You'll get something > like > > <a rel="license" href=" > http://creativecommons.org/licenses/by/4.0/deed.en_US"><img alt="Creative > Commons License" style="border-width:0" src=" > http://i.creativecommons.org/l/by/4.0/88x31.png" /></a><br />This work is > licensed under a <a rel="license" href=" > http://creativecommons.org/licenses/by/4.0/deed.en_US">Creative Commons > Attribution 4.0 International License</a>. > > none of which any software ought complain about. > > Side note: the chooser output ought be upgraded to output RDFa 1.1 Lite > for the attribution stuff, which might decrease such problems. > > Mike > > On Sat, Feb 22, 2014 at 1:31 PM, Harris Schneiderman < > [email protected]<mailto:[email protected]>> wrote: > Hello, > > I recently visited the website http://creativecommons.org and selected a > license for my blog content. I used the website to generate the HTML code. > I have made ZERO modifications to the HTML that is generated. > > I would like to add this HTML code to my blog which is built using > SharePoint Online. For some reason, the HTML code from your website does > not appear to be compatible. I am unable to save any blog entries which > contain this code. I have tested other snippets of HTML code which work > fine with SharePoint Online. So there is something about the HTML code > from http://creativecommons.org which is not compatible. > > Can someone please help me troubleshoot this issue? > > > > Thank you, > > Harris Schneiderman > > > > _______________________________________________ > cc-devel mailing list > [email protected]<mailto:[email protected]> > http://lists.ibiblio.org/mailman/listinfo/cc-devel > > -------------- next part -------------- > An HTML attachment was scrubbed... > URL: > http://lists.ibiblio.org/pipermail/cc-devel/attachments/20140225/b43692c1/attachment-0001.html > > ------------------------------ > > Message: 2 > Date: Tue, 25 Feb 2014 07:07:27 -0800 > From: Mike Linksvayer <[email protected]> > Subject: Re: [cc-devel] Unable to add Creative Commons HTML code to my > blog > To: Harris Schneiderman <[email protected]> > Cc: "[email protected]" <[email protected]> > Message-ID: > < > cagsmzps0-i_swn1dbxx76vqsiy8znocmtzbbex1gkvqnstw...@mail.gmail.com> > Content-Type: text/plain; charset="iso-8859-1" > > The 3 xmlns attributes. And drop t from dct: (dc: is in the RDFa initial > context by default, as is cc:). I highlighted what to remove. > > Mike > > > On Tue, Feb 25, 2014 at 5:05 AM, Harris Schneiderman < > [email protected]> wrote: > > > Hello Mike, > > > > > > > > Thank you for your suggestion. I believe you are correct that some of > the > > attribution fields are causing the problem. > > > > > > > > Here is the code snippet I am trying to add: > > > > > > > > <a rel="license" href="http://creativecommons.org/licenses/by/4.0/"><img > > > > alt="Creative Commons License" style="border-width:0" > > > > src="http://i.creativecommons.org/l/by/4.0/88x31.png" /></a><br /><span > > > > xmlns:dct="http://purl.org/dc/terms/" href=" > > http://purl.org/dc/dcmitype/Text" > > > > property="dct:title" rel="dct:type">H Tech Solutions Blog</span> by <a > > > > xmlns:cc="http://creativecommons.org/ns#" > > > > href="http://www.htechsolutions.biz/blog" property="cc:attributionName" > > > > rel="cc:attributionURL">Harris Schneiderman</a> is licensed under a <a > > > > rel="license" href="http://creativecommons.org/licenses/by/4.0/ > ">Creative > > > > > > Commons Attribution 4.0 International License</a>.<br />Permissions > > beyond the > > > > scope of this license may be available at <a > > > > xmlns:cc="http://creativecommons.org/ns#" > > > > href="http://www.htechsolutions.biz/contact-us" > > > > rel="cc:morePermissions">http://www.htechsolutions.biz/contact-us</a>. > > > > > > > > > > > > Which sections of code should I remove as a test? > > > > > > > > > > > > > > > > Harris Schneiderman > > > > U.S. Phone: +1 469-844-5569 > > > > Email: [email protected] > > > > > > > > > > > > > > > > > > > > *From:* [email protected] [mailto:[email protected]] *On Behalf Of > *Mike > > Linksvayer > > *Sent:* February 24, 2014 3:47 AM > > *To:* Harris Schneiderman > > *Cc:* [email protected] > > *Subject:* Re: [cc-devel] Unable to add Creative Commons HTML code to my > > blog > > > > > > > > Try not filling out any of the attribution fields. You'll get something > > like > > > > > > > > <a rel="license" href=" > > http://creativecommons.org/licenses/by/4.0/deed.en_US"><img > alt="Creative > > Commons License" style="border-width:0" src=" > > http://i.creativecommons.org/l/by/4.0/88x31.png" /></a><br />This work > is > > licensed under a <a rel="license" href=" > > http://creativecommons.org/licenses/by/4.0/deed.en_US">Creative Commons > > Attribution 4.0 International License</a>. > > > > > > > > none of which any software ought complain about. > > > > > > > > Side note: the chooser output ought be upgraded to output RDFa 1.1 Lite > > for the attribution stuff, which might decrease such problems. > > > > > > > > Mike > > > > > > > > On Sat, Feb 22, 2014 at 1:31 PM, Harris Schneiderman < > > [email protected]> wrote: > > > > Hello, > > > > > > > > I recently visited the website http://creativecommons.org and selected a > > license for my blog content. I used the website to generate the HTML > > code. I have made ZERO modifications to the HTML that is generated. > > > > > > > > I would like to add this HTML code to my blog which is built using > > SharePoint Online. For some reason, the HTML code from your website does > > not appear to be compatible. I am unable to save any blog entries which > > contain this code. I have tested other snippets of HTML code which work > > fine with SharePoint Online. So there is something about the HTML code > > from http://creativecommons.org which is not compatible. > > > > > > > > Can someone please help me troubleshoot this issue? > > > > > > > > > > > > > > > > Thank you, > > > > > > > > Harris Schneiderman > > > > > > > > > > > > > > _______________________________________________ > > cc-devel mailing list > > [email protected] > > http://lists.ibiblio.org/mailman/listinfo/cc-devel > > > > > > > -------------- next part -------------- > An HTML attachment was scrubbed... > URL: > http://lists.ibiblio.org/pipermail/cc-devel/attachments/20140225/0ce88dd3/attachment.html > > ------------------------------ > > _______________________________________________ > cc-devel mailing list > [email protected] > http://lists.ibiblio.org/mailman/listinfo/cc-devel > > > End of cc-devel Digest, Vol 93, Issue 7 > *************************************** > > > > _______________________________________________ > cc-devel mailing list > [email protected] > http://lists.ibiblio.org/mailman/listinfo/cc-devel > > > > _______________________________________________ > cc-devel mailing list > [email protected] > http://lists.ibiblio.org/mailman/listinfo/cc-devel > > > _______________________________________________ > cc-devel mailing list > [email protected] > http://lists.ibiblio.org/mailman/listinfo/cc-devel > > >
_______________________________________________ cc-devel mailing list [email protected] http://lists.ibiblio.org/mailman/listinfo/cc-devel
