I am getting the same error, on code that has always worked. When I publish to our intranet, or to my hosted site, it works fine. I only get this error now when I run the code on my laptop. It worked fine up until today! I don't know what I did to break it. Michael Easterbrook
On Saturday, September 20, 2008 12:56:55 AM UTC-4, pai...@hotmail.com wrote: > Hi All, Getting a syntax error from the Feeds API with > gfdynamicfeedcontrol.js. The interesting part is that this is > unaltered code from the wizard except for the key. This syntax error > is from this snipet of code: > > <script src="http://www.google.com/uds/solutions/dynamicfeed/ > gfdynamicfeedcontrol.js<http://www.google.com/uds/solutions/dynamicfeed/gfdynamicfeedcontrol.js>" > > > type="text/javascript"></script> > > This then causes 'GFdynamicFeedControl' is undefined. > > Here is the full code view without the key - > > <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http:// > www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> > <html xmlns="http://www.w3.org/1999/xhtml"> > <head> > <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> > <title>Untitled Document</title> > </head> > > <body> > > <!-- ++Begin Dynamic Feed Wizard Generated Code++ --> > <!-- > // Created with a Google AJAX Search and Feed Wizard > // http://code.google.com/apis/ajaxsearch/wizards.html > --> > > <!-- > // The Following div element will end up holding the actual feed > control. > // You can place this anywhere on your page. > --> > <div id="feed-control"> > <span style="color:#676767;font-size:11px;margin:10px;padding: > 4px;">Loading...</span> > </div> > > <!-- Google Ajax Api > --> > <script type="text/javascript" src="http://www.google.com/jsapi? > key=removed <http://www.google.com/jsapi?key=removed>"></script> > <script type="text/javascript"> > > <!-- Dynamic Feed Control and Stylesheet --> > <script src="http://www.google.com/uds/solutions/dynamicfeed/ > gfdynamicfeedcontrol.js<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"> > function LoadDynamicFeedControl() { > var feeds = [ > {title: 'American Society for Training & Development', > url: 'http://www.astd.org/NR/rdonlyres/F2900DA0- > EECD-4CFC-9376-76B95693727F/0/ASTDRSSFeed.xml<http://www.astd.org/NR/rdonlyres/F2900DA0-EECD-4CFC-9376-76B95693727F/0/ASTDRSSFeed.xml>' > > > }, > {title: 'Apple Education', > url: 'http://edcommunity.apple.com/ali/search.php? > output=RSS&order=recent<http://edcommunity.apple.com/ali/search.php?output=RSS&order=recent>' > > > }, > {title: 'CNN Education', > url: 'http://www.mises.org/Feeds/articles.ashx?AuthorId=4' > }, > {title: 'Yahoo Education', > url: 'http://rss.news.yahoo.com/rss/education' > }]; > var options = { > stacked : true, > horizontal : false, > title : "Education in today’s world." > } > > new GFdynamicFeedControl(feeds, 'feed-control', options); > } > // Load the feeds API and set the onload callback. > google.load('feeds', '1'); > google.setOnLoadCallback(LoadDynamicFeedControl); > </script> > <!-- ++End Dynamic Feed Control Wizard Generated Code++ --> > > </body> > </html> > > Any help would be appreciated. > -- You received this message because you are subscribed to the Google Groups "Google AJAX APIs" group. To post to this group, send email to google-ajax-search-api@googlegroups.com To unsubscribe from this group, send email to google-ajax-search-api+unsubscr...@googlegroups.com To view this message on the web, visit https://groups.google.com/d/msg/google-ajax-search-api/-/n556Ur3iZ_oJ For more options, visit this group at http://groups.google.com/group/google-ajax-search-api?hl=en?hl=en