WebSite X5Help Center

 
Ralph T.
Ralph T.
User

Help getting code into site,  en

Автор: Ralph T.
Просмотрено 2550, Подписчики 1, Размещенный 0  

Trying to get this to work on a webpare made with website x5

<script type="text/javascript" src="https://www.google.com/jsapi"></script>
<script src="http://www.google.com/uds/solutions/dynamicfeed/gfdynamicfeedcontrol.js"
type="text/javascript"></script><style type="text/css">
@import url("http://www.google.com/uds/solutions/dynamicfeed/gfdynamicfeedcontrol.css");#feedControl {
margin-top : 10px;
margin-left: auto;
margin-right: auto;
width : 440px;
font-size: 12px;
color: #9CADD0;
}
</style>
<script type="text/javascript">
function load() {
var feed ="http://feeds.bbci.co.uk/news/world/rss.xml";
new GFdynamicFeedControl(feed, "feedControl");}
google.load("feeds", "1");
google.setOnLoadCallback(load);
</script>

Then use this on the page to call it.

<div id="body"> <divid="feedControl">Loading...</div> </div>

I have tried to get this in using websire x5 but can not. I can add it to the code manually and make it work but can not seem to find whenr or how to plug it into website x5

Размещено
5 Ответы
Incomedia
Stefano G.
Incomedia

Hi Ralph.

Where exactly did you try to paste this code into?

You can make use of the HTML object available in the software in order to get this code to be printed exactly where you need it to inside a page. If your issue has something to do with the code functionality instead, I'm afraid that the Staff can't offer the proper support for it here.

Please let me know

Stefano

Читать больше
Размещено От Stefano G.
Ralph T.
Ralph T.
User
Автор

I have tried all options in the xpert tab of page properties. If I just make a simple webpage in notepad it works.

Читать больше
Размещено От Ralph T.
Incomedia
Stefano G.
Incomedia

Hi Ralph.

Would it be possible for you to upload a test page online and share its link with me here?

Just let me know where exactly you placed the code, so I can verify if it not getting inserted correctly, or if an actual error is inside the code itself.

Keep me updated

Stefano

Читать больше
Размещено От Stefano G.
Incomedia
Stefano G.
Incomedia

Hi Ralph.

I've visited your website, and found the following errors, which might eventually guide you in the right direction:

I believe the code you wrote might be correct, even though there is no way to test this. Some parts of it though, need to be placed in a different place from the rest of it, and this is why you're getting the issue mentioned above.

As to where and how to fix these position, unfortunately the support cannot help you with that, but I believe you might find help for this from either the rest of the community, or with an online search.

Try and test with the different positions where code can be placed, and let me know if you manage to get this to work

Keep me posted

Stefano

Читать больше
Размещено От Stefano G.