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"
    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"></script>
    <script type="text/javascript">

  <!-- 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">
    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'
        },
        {title: 'Apple Education',
         url: '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 API" 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