Put numResults:2 in your options object, rather than your feeds object.

Jeremy R. Geerdes
Effective website design & development
Des Moines, IA

For more information or a project quote:
http://jgeerdes.home.mchsi.com
http://jgeerdes.blogspot.com
http://jgeerdes.wordpress.com
[email protected]

Unless otherwise noted, any price quotes contained within this  
communication are given in US dollars.

If you're in the Des Moines, IA, area, check out Debra Heights  
Wesleyan Church!

And check out my blog, Adventures in Web Development, at 
http://jgeerdes.blogspot.com 
  !


On Feb 26, 2009, at 2:27 PM, darkstarmedia.net wrote:

>
> hello,
>
> I tried to only have 2 blog results show in my blog feed. i tried
> using...
>
> numResults: 2
>
> But it doesn't actually do anything
>
> this is my website
> http://www.darkstarmedia.net/
>
> you can see 3 results displayed...
> 1. Pixel Paint 101
> 2. SEO progress, week 1
> 3. Pagination Code
>
> Please help so you only see 2, this is my code...
>
> <script src="http://www.google.com/jsapi?key=notsupplied-wizard";
>    type="text/javascript"></script>
>
>  <!-- Dynamic Feed Control and Stylesheet -->
>  <script src="http://www.google.com/uds/solutions/dynamicfeed/
> gfdynamicfeedcontrol.js"
>    type="text/javascript"></script>
> <style type="text/css">
>    @import url("../includes/google_style.css");
>  </style>
>
>  <script type="text/javascript">
>    function LoadDynamicFeedControl() {
>      var feeds = [
>
>       {title: 'DARKSTAR BLOG',
>        url: 'http://darkstar-media.blogspot.com/feeds/posts/default',
>        numResults: 2
>
>       }];
>      var options = {
>        stacked : false,
>        horizontal : false,
>        title : ""
>      }
>
>      new GFdynamicFeedControl(feeds, 'feed-control', options);
>    }
>    // Load the feeds API and set the onload callback.
>    google.load('feeds', '1');
>    google.setOnLoadCallback(LoadDynamicFeedControl);
>  </script>
>
> >


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

Reply via email to