[英]Is it possible to have to call the Google AJAX Feed API twice on the same page?
I was thinking of using a slider panel to display two different feed-sections. 我当时正在考虑使用滑块面板来显示两个不同的提要部分。 For example pulling in Tech in one div, and Sports in another..
例如,在一个div中引入Tech,在另一个div中引入Sports。
Thanks! 谢谢!
Yes. 是。 The documentation even has an example:
该文档甚至有一个示例:
http://code.google.com/intl/en/apis/ajaxfeeds/documentation/#FEEDCONTROL http://code.google.com/intl/zh-CN/apis/ajaxfeeds/documentation/#FEEDCONTROL
This example fetches two feeds in one call. 此示例在一次调用中获取了两个供稿。 But nothing will stop you from fetching two feeds after another.
但是没有什么能阻止您接连获取两个提要。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.