Warning: Please include a link to the DD script in question in your post, in this case, . See this thread for the proper posting format when asking a question.
Try modifying the below code of code inside the .js file:
Code:
rssticker_ajax.prototype.initialize=function(){
if (this.ajaxobj.readyState == 4){ //if request of file completed
if (this.ajaxobj.status==200){ //if request was successful
var xmldata=this.ajaxobj.responseXML
if(xmldata.getElementsByTagName("item").length==0){ //if no <item> elements found in returned content
document.getElementById(this.tickerid).innerHTML="<b>Error</b> fetching remote RSS feed!<br />"+this.ajaxobj.responseText
return
}
with the additions in red:
Code:
rssticker_ajax.prototype.initialize=function(){
if (this.ajaxobj.readyState == 4){ //if request of file completed
if (this.ajaxobj.status==200){ //if request was successful
var xmldata=this.ajaxobj.responseXML
if(xmldata.getElementsByTagName("item").length==0){ //if no <item> elements found in returned content
document.getElementById(this.tickerid).innerHTML="<b>Error</b> fetching remote RSS feed!<br />"+this.ajaxobj.responseText
var thisinst = this
setTimeout(function(){
thisinst.initialize()
}, 60000)
return
}
I haven't tested the above changes myself, but it should work. While testing, you may want to change 60000 (60 seconds delay) to a smaller number, like 6000 (6 seconds).
Bookmarks