omr
unread,Sep 3, 2010, 10:11:11 PM9/3/10Sign in to reply to author
Sign in to forward
You do not have permission to delete messages in this group
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to Google AJAX APIs
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