feed.entries.length;
i++) {
var entry = result.feed.entries[i];
var attributes = [???title???, ???link???,
???publishedDate???, ???contentSnippet???];
for (var j = 0; j < attributes.length; j++) {
9.5 Receiving Multiple Feeds 191
Fig. 9.5 JSON RSS Feed
9.5 Receiving Multiple Feeds
The Google Ajax Feed API may be used to display multiple feeds. Next,
we shall display multiple feeds using the FeedControl class. We shall
display the JDeveloper RSS feed and the Application Express News RSS
var div = document.createElement(???div???);
div.appendChild(document.createTextNode(entry[attri
butes[j]]));
container.appendChild(div);
}
}}
}); }
google.setOnLoadCallback(initialize);