Lisa Brooks
2014-02-27 20:06:43 UTC
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
lmb at foundationcenter.org ? 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
An HTML attachment was scrubbed...
URL: http://lists.ibiblio.org/pipermail/cc-devel/attachments/20140227/a7e05983/attachment-0001.html
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
lmb at foundationcenter.org ? 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
Send cc-devel mailing list submissions to
cc-devel at lists.ibiblio.org
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
cc-devel-request at lists.ibiblio.org
You can reach the person managing the list at
cc-devel-owner at lists.ibiblio.org
When replying, please edit your Subject line so it is more specific
than "Re: Contents of cc-devel digest..."
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 <harris at htechsolutions.biz>
Subject: Re: [cc-devel] Unable to add Creative Commons HTML code to my
blog
To: Mike Linksvayer <ml at gondwanaland.com>
Cc: "cc-devel at lists.ibiblio.org" <cc-devel at lists.ibiblio.org>
<
c7b787262fa643bbabc0ecaf128ffbdc at 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.
<a rel="license" href="http://creativecommons.org/licenses/by/4.0/"><img
alt="Creative Commons License" style="border-width:0"
src="Loading Image..." /></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: harris at htechsolutions.biz<mailto:harris at htechsolutions.biz>
From: mlinksva at gmail.com [mailto:mlinksva at gmail.com] On Behalf Of Mike
Linksvayer
Sent: February 24, 2014 3:47 AM
To: Harris Schneiderman
Cc: cc-devel at lists.ibiblio.org
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 <
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
cc-devel at lists.ibiblio.org<mailto:cc-devel at lists.ibiblio.org>
http://lists.ibiblio.org/mailman/listinfo/cc-devel
-------------- next part --------------
An HTML attachment was scrubbed...
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 <ml at gondwanaland.com>
Subject: Re: [cc-devel] Unable to add Creative Commons HTML code to my
blog
To: Harris Schneiderman <harris at htechsolutions.biz>
Cc: "cc-devel at lists.ibiblio.org" <cc-devel at lists.ibiblio.org>
<
CAGSmzpS0-i_sWN1DBxX76VqsiY8ZNoCMtZBbeX1GkvqnSTw5Pg at 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 <
An HTML attachment was scrubbed...
http://lists.ibiblio.org/pipermail/cc-devel/attachments/20140225/0ce88dd3/attachment.html
------------------------------
_______________________________________________
cc-devel mailing list
cc-devel at lists.ibiblio.org
http://lists.ibiblio.org/mailman/listinfo/cc-devel
End of cc-devel Digest, Vol 93, Issue 7
***************************************
-------------- next part --------------cc-devel at lists.ibiblio.org
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
cc-devel-request at lists.ibiblio.org
You can reach the person managing the list at
cc-devel-owner at lists.ibiblio.org
When replying, please edit your Subject line so it is more specific
than "Re: Contents of cc-devel digest..."
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 <harris at htechsolutions.biz>
Subject: Re: [cc-devel] Unable to add Creative Commons HTML code to my
blog
To: Mike Linksvayer <ml at gondwanaland.com>
Cc: "cc-devel at lists.ibiblio.org" <cc-devel at lists.ibiblio.org>
<
c7b787262fa643bbabc0ecaf128ffbdc at 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.
<a rel="license" href="http://creativecommons.org/licenses/by/4.0/"><img
alt="Creative Commons License" style="border-width:0"
src="Loading Image..." /></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: harris at htechsolutions.biz<mailto:harris at htechsolutions.biz>
From: mlinksva at gmail.com [mailto:mlinksva at gmail.com] On Behalf Of Mike
Linksvayer
Sent: February 24, 2014 3:47 AM
To: Harris Schneiderman
Cc: cc-devel at lists.ibiblio.org
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 <
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
cc-devel at lists.ibiblio.org<mailto:cc-devel at lists.ibiblio.org>
http://lists.ibiblio.org/mailman/listinfo/cc-devel
-------------- next part --------------
An HTML attachment was scrubbed...
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 <ml at gondwanaland.com>
Subject: Re: [cc-devel] Unable to add Creative Commons HTML code to my
blog
To: Harris Schneiderman <harris at htechsolutions.biz>
Cc: "cc-devel at lists.ibiblio.org" <cc-devel at lists.ibiblio.org>
<
CAGSmzpS0-i_sWN1DBxX76VqsiY8ZNoCMtZBbeX1GkvqnSTw5Pg at 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 <
Hello Mike,
Thank you for your suggestion. I believe you are correct that some of
theThank you for your suggestion. I believe you are correct that some of
attribution fields are causing the problem.
<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<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/
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: harris at htechsolutions.biz
*From:* mlinksva at gmail.com [mailto:mlinksva at gmail.com] *On Behalf Of
*Mikebeyond 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: harris at htechsolutions.biz
*From:* mlinksva at gmail.com [mailto:mlinksva at gmail.com] *On Behalf Of
Linksvayer
*Sent:* February 24, 2014 3:47 AM
*To:* Harris Schneiderman
*Cc:* cc-devel at lists.ibiblio.org
*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*Sent:* February 24, 2014 3:47 AM
*To:* Harris Schneiderman
*Cc:* cc-devel at lists.ibiblio.org
*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
Commons License" style="border-width:0" src="
http://i.creativecommons.org/l/by/4.0/88x31.png" /></a><br />This work
ishttp://i.creativecommons.org/l/by/4.0/88x31.png" /></a><br />This work
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 <
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
cc-devel at lists.ibiblio.org
http://lists.ibiblio.org/mailman/listinfo/cc-devel
-------------- next part --------------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 <
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
cc-devel at lists.ibiblio.org
http://lists.ibiblio.org/mailman/listinfo/cc-devel
An HTML attachment was scrubbed...
http://lists.ibiblio.org/pipermail/cc-devel/attachments/20140225/0ce88dd3/attachment.html
------------------------------
_______________________________________________
cc-devel mailing list
cc-devel at lists.ibiblio.org
http://lists.ibiblio.org/mailman/listinfo/cc-devel
End of cc-devel Digest, Vol 93, Issue 7
***************************************
An HTML attachment was scrubbed...
URL: http://lists.ibiblio.org/pipermail/cc-devel/attachments/20140227/a7e05983/attachment-0001.html