追踪新闻动态:用AJAX Search API在网站(博客)添加Google News小模块
谷歌前几天发布了一个基于Google News的 AJAX Search API,可以在网站或博客侧边栏添加Google News小模块,实时翻页显示Google News的头条新闻。动态新闻显示效果如下:
Google News嵌入方法很简单,只需插入如下iframe
<iframe src=”http://www.google.com/uds/modules/elements/newsshow/iframe.html?format=300×250″
frameborder=”0″ width=”300″ height=”250″
marginwidth=”0″ marginheight=”0″>
</iframe>
目前提供 728×90 和 300×250 两种显示尺寸,更多细节自定义方面的代码可以看这里和这里。更多内容参见Google官方博客,Google资讯博客,Google AJAX API博客等介绍。
延伸阅读:
Leave a Reply


