For the life of me I can't figure what I've done wrong: = <!-- copyright (c) 2009 Google inc.
You are free to copy and use this sample. License can be found here: http://code.google.com/apis/ajaxsearch/faq/#license --> <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http:// www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> <head> <meta http-equiv="content-type" content="text/html; charset=utf-8"/ > <title>Dynamic Feed Control</title> <script src="http://www.google.com/jsapi" 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("http://www.google.com/uds/solutions/dynamicfeed/ gfdynamicfeedcontrol.css"); </style> <script type="text/javascript"> /* * How to use the Dynamic Feed Control, which has pretty UI already made for you! * Don't forget to check out the options: * http://www.google.com/uds/solutions/dynamicfeed/reference.html */ google.load('feeds', '1'); function LoadDynamicFeedControl() { \ <div class="box1"> // Initialize first control 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, 'control0', options); </div><div class="box2"> // Initialize second control feeds = [ { title: 'TrekToday', url: 'http://www.trektoday.com/content/feed/' }, { title: 'Memory Alpha', url: 'http://memory-alpha.org/en/index.php? title=Special:RecentChanges&feed=rss' }, ]; options = { stacked : true, horizontal : false, title : "Star Trek News" }; new GFdynamicFeedControl(feeds, 'control1', options); } google.setOnLoadCallback(LoadDynamicFeedControl); </script> </head> <body style="font-family: Arial, sans-serif;border: 0 none;"> <div id="content"> <span style="color:#676767;font-size:11px;margin:10px;padding: 4px;">Loading...</span> </div> </body> </html> </div> --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
