Find this block:

  var options = {
    stacked : true,
    horizontal : false,
    title : "Hollywood News"
  };

And change it to this:

  var options = {
    stacked : true,
    horizontal : false,
    title : "Hollywood News",
    numResults : 10
  };

jg

On Wed, Jan 23, 2013 at 11:05 AM, Neil Cheesman <
[email protected]> wrote:

> Can anyone advise?
>
> I currently have a single feed with the numResults : 10
>
> I would like to use the option on the Google example (at the following url
> http://code.google.com/apis/ajax/playground/#dynamic_feed_control_-_vertical)
>
>
> which would enable three separate 'sub-feeds'.... but how can I increase
> the number of lines in the output to say 6 or 10 for each one - the default
> seems to be set at 4 and it doesn't work if I add "*numResults : 10"*
>
> google.load('feeds', '1');
>
> function OnLoad() {
>   var feeds = [
>     {
>       title: 'People',
>       url: 'http://rss.people.com/web/people/rss/topheadlines/index.xml'
>     },
>     {
>       title: 'E-Online',
>       url: '
> http://www.eonline.com/syndication/feeds/rssfeeds/topstories.xml'
>     },
>     {
>       title: 'TMZ',
>       url: 'http://www.tmz.com/rss.xml'
>     }
>   ];
>
>   var options = {
>     stacked : true,
>     horizontal : false,
>     title : "Hollywood News"
>   };
>
>   new GFdynamicFeedControl(feeds, 'content', options);
>   document.getElementById('content').style.width = "500px";
> }
>
> google.setOnLoadCallback(OnLoad);
>
> --
> --
> 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
> https://groups.google.com/d/msg/google-ajax-search-api/-/AeeWr85z6gQJ
> For more options, visit this group at
> http://groups.google.com/group/google-ajax-search-api?hl=en?hl=en
>
>
>
>



-- 
Jeremy R. Geerdes
Generally Cool Guy
Des Moines, IA

If you're in the Des Moines, IA, area, check out Debra Heights Wesleyan
Church!
http://www.debraheightswesleyan.org

-- 
-- 
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



Reply via email to