- <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">
- <html>
- <head>
- <meta http-equiv="Content-Type" content="text/html; charset=UTF-8"/>
- <title>刘鑫的主页:->小懒猪</title>
- </head>
- <body>
- <!-- ++Begin Dynamic Feed Wizard Generated Code++ -->
- <!--
- // 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 src="http://www.google.com/jsapi?key=ABQIAAAA_0SuWBgH25xjyJkU3GhZcBTjBXNpUFgAw6sv9zC6sp5c-jqDIBRFtQlJluSjJZJXYA7z1SvDGrXPMQ"
- 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">
- function LoadDynamicFeedControl() {
- var feeds = [
- {title: '优酷推荐',
- url: 'http://www.youku.com/index/rss_cool_v/'
- },
- {title: '优酷浏览最多',
- url: 'http://www.youku.com/index/rss_hot_day_videos/duration/1'
- },
- {title: 'python',
- url: 'http://news.google.com/news?amp;ie=ISO-8859-1&hl=zh-CN&q=python&ie=UTF-8&nolr=1&output=rss'
- },
- {title: 'flex',
- url: 'http://news.google.com/news?amp;ie=ISO-8859-1&hl=zh-CN&q=flex&ie=UTF-8&nolr=1&output=rss'
- },
- {title: 'sqlite',
- url: 'http://news.google.com/news?amp;ie=ISO-8859-1&hl=zh-CN&q=sqlite&ie=UTF-8&nolr=1&output=rss'
- },
- {title: 'PHP',
- url: 'http://news.google.com/news?amp;ie=ISO-8859-1&hl=zh-CN&q=PHP&ie=UTF-8&nolr=1&output=rss'
- },
- {title: 'Javascript',
- url: 'http://news.google.com/news?amp;ie=ISO-8859-1&hl=zh-CN&q=Javascript&ie=UTF-8&nolr=1&output=rss'
- },
- {title: 'C++',
- url: 'http://news.google.com/news?amp;ie=ISO-8859-1&hl=zh-CN&q=C%2B%2B&ie=UTF-8&nolr=1&output=rss'
- },
- {title: '爱情',
- url: 'http://news.google.com/news?amp;ie=ISO-8859-1&hl=zh-CN&q=爱情&ie=UTF-8&nolr=1&output=rss'
- },
- {title: '金融',
- url: 'http://news.google.com/news?amp;ie=ISO-8859-1&hl=zh-CN&q=金融&ie=UTF-8&nolr=1&output=rss'
- },
- {title: '经济',
- url: 'http://news.google.com/news?amp;ie=ISO-8859-1&hl=zh-CN&q=经济&ie=UTF-8&nolr=1&output=rss'
- }
- ];
- var options = {
- numResults : 20,
- stacked : true,
- horizontal : false,
- title : "我关注的领域",
- linkTarget : google.feeds.LINK_TARGET_BLANK
- }
- 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>
google ajax feed API 应用——新闻聚合
最新推荐文章于 2024-07-07 15:42:19 发布