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

Reply via email to