Note that there are some explanatory texts on larger screens.

plurals
  1. PO
    primarykey
    data
    text
    <p>I get a XML rendering error when I put the address of the content you are trying to include into the browser, both in Firefox and Chrome. In IE9 the page is just blank.</p> <p>Chrome may have the best hint:</p> <blockquote> <p>This page contains the following errors:</p> <p>error on line 5 at column 28: Namespace prefix g on plusone is not defined </p> <p>error on line 18 at column 54: Namespace prefix fb on like is not defined </p> <p>Below is a rendering of the page up to the first error.</p> <p>Tweet</p> </blockquote> <p>So have a look at the share_bar.html file first.</p> <p><strong>EDIT</strong> The content you are trying to insert contains multiple SCRIPT tags. It seems that browsers take an issue with the script injection you are trying to perform by setting the innerHTML property of your element.</p> <p>The solution that worked for me once I tested it in Shindig/Partuza combo testing environment (which is close to iGoogle and other OpenSocial containers) was to use jQuery to do the inserting.</p> <p>Thus I first loaded jquery lib at the top of the module content section like this:</p> <pre><code>&lt;Content type="html"&gt; &lt;![CDATA[ &lt;script src="//ajax.googleapis.com/ajax/libs/jquery/1.5.2/jquery.min.js" type="text/javascript"&gt; &lt;/script&gt; &lt;div id="content_div"&gt;&lt;/div&gt; ... </code></pre> <p>And then instead of manipulating the innerHTML property, I called the useful ".html" method (http://jqapi.com/#p=html):</p> <pre><code>function adjust(obj){ $('#content_div').html(obj.text); } </code></pre> <p>Hope this helps.</p>
    singulars
    1. This table or related slice is empty.
    plurals
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload