Hi Can someone tell me how to do a foreach and increase the "rss1" number inside this javascript?
<script type="text/javascript"> function load() { var feed ="http://www.dr.dk/nyheder/service/feeds/allenyheder"; new GFdynamicFeedControl(feed, "rss1"); var feedtwo ="http://feeds.feedburner.com/d0od?format=xml"; new GFdynamicFeedControl(feedtwo, "rss2"); var feedtwo ="http://www.engadget.com/rss.xml"; new GFdynamicFeedControl(feedtwo, "rss3"); var feedtwo ="http://feeds.newzmedia.dk/c/32893/f/582669/index.rss"; new GFdynamicFeedControl(feedtwo, "rss4"); } google.load("feeds", "1"); google.setOnLoadCallback(load); </script>
I also need the var feed which is the RSS url set in this widget http://pastie.org/7088004 Any help is appreciated