One possible workaround is to display the full content of each feed
entry, instead of the snippets generated by the Feed API. To replace
the snippets with full content, add this code at the beginning of your
LoadDynamicFeedControl function.
var gfLoad = google.feeds.Feed.prototype.load;
google.feeds.Feed.prototype.load =
function(callback) {
gfLoad.call(this,
function(feedResult) {
var entries = feedResult.feed.entries;
for (var i=0, entry; entry = entries[i]; i++) {
entry.contentSnippet = entry.content;
}
callback(feedResult);
}
);
};
If your feed contains long entries, the full content may overflow the
DFC entry display area. You may want to increase the height of the
entry area, and add a vertical scroll bar, and if your feed contains
images you may want to conceal them. (This example sets the entry
area height to 200 pixels; adjust as you wish.)
<style type="text/css">
div.gfg-entry {
height: 200px;
margin: 0;
padding-top: 3px;
}
div.gf-result {
overflow-y: scroll;
}
div.gf-result img {
display: none;
}
</style>
-- omr
--
You received this message because you are subscribed to the Google Groups
"Google AJAX APIs" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to
[email protected].
For more options, visit this group at
http://groups.google.com/group/google-ajax-search-api?hl=en.