If that's what you want, you had just as well go with the standard Feed
Control, which is built into the Feeds API JS. I don't know that there is any
documentation for it out there anymore, the syntax should look something like
this:
var control = new google.feeds.FeedControl();
control.setLinkTarget('_top'); // open links in the same window. This line is
OPTIONAL.
control.addFeed("URL_OF_FEED1");
control.addFeed("URL_OF_FEED2");
...
control.draw(document.getElementById("ID_OF_CONTAINER_EL"));
Jeremy R. Geerdes
Generally Cool Guy
Des Moines, IA
For more information or a project quote:
[email protected]
If you're in the Des Moines, IA, area, check out Debra Heights Wesleyan Church!
On Dec 8, 2011, at 9:15 PM, Martine Osias wrote:
> Is there a way to change the content of the feed reader created by the
> GFdynamicFeedControl API? In the vertical stacked mode the API shows
> the title, date, and snippet at the top then shows a list of entries
> for each feed. I want to show the date and snipped with the entries
> themselves. Is there a way to do that? If I do that, the top part
> that rotates the snippet for the entries becomes unnecessary. Is
> there a way to not show that?
>
> These are the code sections from my page.
>
> Function to load the API
>
> <script type="text/javascript">
> function LoadDynamicFeedControl() {
> new GFdynamicFeedControl(feeds, 'feed-control', options);
> }
> </script>
>
> HTML element to load the reader
>
> <div id='feed-control'>
> <span style='color:#676767;font-size:11px;margin:
> 10px;padding:4px;'>Loading...</span>
> </div>
>
> Javascript for loading entries
>
> var url = "http://url.com/xml/";
> feeds = [ { url: url } ];
> options = {
> stacked : true,
> horizontal : false,
> title : "",
> numResults : 8,
> linkTarget : "viewer",
> collapseable : true,
> sortByDate : true,
> };
> LoadDynamicFeedControl();
> google.load('feeds', '1');
> google.setOnLoadCallback(LoadDynamicFeedControl);
>
> --
> 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]
> To view this message on the web, visit
> http://groups.google.com/group/google-ajax-search-api?hl=en_US
> For more options, visit this group at
> http://groups.google.com/group/google-ajax-search-api?hl=en?hl=en
--
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]
To view this message on the web, visit
http://groups.google.com/group/google-ajax-search-api?hl=en_US
For more options, visit this group at
http://groups.google.com/group/google-ajax-search-api?hl=en?hl=en