Hi,
I'm trying to adapt some jquery code but having trouble making sense of a lot of it.. I thought it would be pretty easy to insert a variable stored in localstorage into the script..
I thought it would be simple to just add
localStorage.getItem("RSSfeeds"); into the script but no joy. The RSSfeeds key is basically a string of more code like
newsfeed.addFeed("Ormiston School News", "http://www.ormistonsandwell.org.uk/RSS/News/"); How can I add them into the code below?
- var newsfeed=new gfeedfetcher("rssfeeds", "rssfeedsclass", "_new")
- newsfeed.addFeed("Ormiston School News", "http://www.ormistonsandwell.org.uk/RSS/News/");
- localStorage.getItem("RSSfeeds");
- newsfeed.displayoptions("label datetime snippet");
- newsfeed.setentrycontainer("p");
- newsfeed.filterfeed(20, "date");
- newsfeed.init();