Hi John, I have included the google script (<script type="text/javascript" src="http://www.google.com/jsapi"></script>), and the feed does display 9 out of 10 times - its just very hard to predict when the error will be displayed without watching the ticker all the time.. sometimes the error will popup for 5 minutes and then go away again.
I have been looking at a workaround by using the Search and replace functionality in gfeedfetcher.js to search for when the error displays and replace it with a more user friendly message. This works fine when using a static ticker and adding in the instance.addregexp rule (e.g. http://www.dynamicdrive.com/dynamici...sdisplayer.htm)
However when attempting to get the search and replace functionality to work when using a moving scroller - gajaxticker.js (http://www.dynamicdrive.com/dynamici...xrssticker.htm) it does not seem to work.
The below is my code, where I am attempting to replace the word 'Analysis' in the title field with the word 'Loading...'
Code:
<script type="text/javascript">
var newsfeed = new gfeedrssticker( "mni1", "class1", 10000, "_self" )
newsfeed.addFeed( "MNI", "http://feed43.com/mnieursmall.xml" ) //Specify "label" plus URL to RSS feed
newsfeed.displayoptions( "snippet" ) //show the specified additional fields
newsfeed.setentrycontainer( "li" ) //Display each entry as a paragraph
newsfeed.filterfeed( 5, "date" ) //Show 8 entries, sort by date
newsfeed.entries_per_page( 1 )
newsfeed.addregexp(/(Analysis)\b/ig, 'Loading...', 'titlefield')
newsfeed.init() //Always call this last
</script>
Does gajaxticker.js need to be modified in some way so that it picks up the instance.addregexp rule?
Thanks
Bookmarks