Remove all property= and rel= attributes.

Presumably SharePoint Online has a whitelist for HTML elements and
attributes. It is possible you could add if you have administrative access.
But I don't know anything about SharePoint. If you don't wish to strip the
snippet down further, you might ask in some SharePoint support forum for
ideas.

Mike


On Sat, Mar 1, 2014 at 4:54 AM, Harris Schneiderman <
[email protected]> wrote:

>  Hello Mike,
>
>
>
> I made the changes that you suggested.  Here is the code sample that I am
> currently using:
>
>
>
> <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  href="
> http://purl.org/dc/dcmitype/Text"; property="dc:title" rel="dc:type">H
> Tech Solutions Blog</span> by <a 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 href="
> http://www.htechsolutions.biz/contact-us"; rel="cc:morePermissions">
> http://www.htechsolutions.biz/contact-us</a>.
>
>
>
> Unfortunately, I am still unable to upload this HTML to my blog.  The
> behavior is the same as before.
>
>
>
> Are there any other changes to the code that you can suggest?  There is
> something in the HTML which is incompatible with SharePoint Online.  I just
> can't figure out which part.
>
>
>
>
>
> Thank you,
>
>
>
> 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 26, 2014 2:07 AM
>
> *To:* Harris Schneiderman
> *Cc:* [email protected]
> *Subject:* Re: [cc-devel] Unable to add Creative Commons HTML code to my
> blog
>
>
>
> 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# <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# <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
>
>
>
>
>
_______________________________________________
cc-devel mailing list
[email protected]
http://lists.ibiblio.org/mailman/listinfo/cc-devel

Reply via email to