I'm not able to load the images using Google Feed API, I'm using the mediaGroup to load images.
This is the javascript code I've written for fetching the feed
<script type="text/javascript">
google.load("feeds", "1");
function initialize()
{
var feed = new google.feeds.Feed("http://techzei.com/feed");
feed.setNumEntries(14);
feed.load(function (result) {
if (!result.error)
{
result.feed.entries.forEach(function(entry)
{
$('#feed').append('<div class="card"><a href="' + entry.link + '">' + entry.title + '</a><p>' + entry.contentSnippet + '</p><br><p>'+entry.publishedDate+'"<img src="'+ entry.mediaGroups+'"/></div>');
});
}
});
}
google.setOnLoadCallback(initialize);
The html
<article id="feed"></article>
All the images I get right now are "undefined". Should I be doing something else? The Google Feed API dev didn't throw much light on this