Question

I have some simple JavaScript in three divs:

<div class = "bbc">
    <script type="text/javascript"
        src="http://output81.rssinclude.com/output
        type=js&amp;id=857232&amp;hash=8ea1a6373cb556ad71ecb072bed32932">
    </script>
</div>
<div class = "uefa">
    <script type="text/javascript" 
        src="http://output33.rssinclude.com/output
        type=js&amp;id=859685&amp;hash=2142c0f49e8b94bc63f569ab271fabb0">
    </script>
</div>
<div class = "sky">
    <script type="text/javascript"
        src="http://output39.rssinclude.com/output
        type=js&amp;id=859678&amp;hash=8b9f8b0ffa4c7cdf100d093ba0f0f630">
    </script>
</div>

It displays fine in Safari, but not in other browsers (tried Chrome & Firefox.

They are simply generated by rssinclude.com so I'm not sure what's stopping them from working.

What is the likely cause of the problem?

Many thanks,

Was it helpful?

Solution

Just try open the links and you'll see, that none of the url are valid.

The "&amp;" is an html code, which replaces an "&" char. After output there have to follow an "?" char for parameters. Try these url's:

<div class = "bbc">
    <script type="text/javascript"
        src="http://output81.rssinclude.com/output?type=js&id=857232&hash=8ea1a6373cb556ad71ecb072bed32932">
    </script>
</div>
<div class = "uefa">
    <script type="text/javascript" 
        src="http://output33.rssinclude.com/output?type=js&id=859685&hash=2142c0f49e8b94bc63f569ab271fabb0">
    </script>
</div>
<div class = "sky">
    <script type="text/javascript"
        src="http://output39.rssinclude.com/output?type=js&id=859678&hash=8b9f8b0ffa4c7cdf100d093ba0f0f630">
    </script>
</div>
Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top