Worked like a charm. Thanks!

On Wednesday, August 8, 2012 12:49:14 PM UTC-7, jgeerdes [AJAX APIs "Guru"] 
wrote:
>
>  function OnLoad() {
>     // Create a feed control
>     var feedControl = new google.feeds.FeedControl();
>     feedControl.setNumEntries(25);
>     
>     // Add feeds.
>     feedControl.addFeed("
> http://rothstaffing.wordpress.com/category/news/rss";);  
>     feedControl.setLinkTarget("_blank");
> // Draw it.
>     feedControl.draw(document.getElementById("articles"));
>
>     var feedControl2 = new google.feeds.FeedControl();
>     feedControl2.setNumEntries(25);
>     feedControl2.addFeed("...");
>     feedControl2.draw(document.getElementById('otherArticles'));
>
>     ...
>   }
>
> Jeremy R. Geerdes
> Generally Cool Guy
> Des Moines, IA
>
> For more information or a project quote:
> [email protected] <javascript:>
>
> If you're in the Des Moines, IA, area, check out Debra Heights Wesleyan 
> Church!
>  
> On Aug 8, 2012, at 2:46 PM, Jennifer Han wrote:
>
> I'm trying to load 3 separate feeds and have them display in separate divs 
> on the same page. Any way to do this?
>
> I'm currently using this for a single feed:
>
>   <script src="
> http://www.google.com/jsapi?key=AIzaSyA5m1Nc8ws2BbmPRwKu5gFradvD_hgq6G0"; 
> type="text/javascript"></script>
>   <script type="text/javascript">
>   /* How to use the Feed Control to grab, parse and display feeds. */
>   
>   google.load("feeds", "1", {'nocss' : 1});
>   
>   function OnLoad() {
>     // Create a feed control
>     var feedControl = new google.feeds.FeedControl();
>     feedControl.setNumEntries(25);
>     
>     // Add feeds.
>     feedControl.addFeed("
> http://rothstaffing.wordpress.com/category/news/rss";);  
>     feedControl.setLinkTarget("_blank");
> // Draw it.
>     feedControl.draw(document.getElementById("articles"));
>   }
>   
>   google.setOnLoadCallback(OnLoad);
>   </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] <javascript:>
> To unsubscribe from this group, send email to
> [email protected] <javascript:>
> To view this message on the web, visit
> https://groups.google.com/d/msg/google-ajax-search-api/-/5VHFgjsZ4HQJ
> 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
https://groups.google.com/d/msg/google-ajax-search-api/-/NCKL-sOv_VsJ
For more options, visit this group at
http://groups.google.com/group/google-ajax-search-api?hl=en?hl=en

Reply via email to