rss - Rendering mRSS feed in Chrome using jsapi -


using google feed api parse , render mrss feed. having issue in chrome doesn't show content...
jsfiddle

any idea why that?...

function initialize() {     var feed = new google.feeds.feed("http://www.wdcdn.net/rss/presentation/library/client/robotrepair/id/a51a000c78e6997a1b7d422247cad813");     feed.setnumentries(99);     feed.load(function(result) {         if (!result.error) {             var container = document.getelementbyid("feed");             (var = 0; < result.feed.entries.length; i++) {                 var entry = result.feed.entries[i];                 var img = document.createelement("img");                 if (entry.mediagroups) {                     var imgsrc = entry.mediagroups[0].contents[0].thumbnails[0].url;                     img.setattribute("src", imgsrc);                     container.appendchild(img);                 }             }         }     }); } 


Comments

Popular posts from this blog

css - SVG using textPath a symbol not rendering in Firefox -

Java 8 + Maven Javadoc plugin: Error fetching URL -

order - Notification for user in user account opencart -