开发者

How to build an iframe page that searches and displays multiple sites?

I'm trying to build a page similar to www.bing-vs-google开发者_如何学Python.com, but instead of bing and google, I want to populate it with several of my company's internally-used sites. This would function as a "universal search" for our employees to search across a variety of sites (all of which pass search queries via URL).

Has anyone seen or done this before? Any advice is appreciated.


Simply include two iframes:

<iframe src="http://www.bing.com/search?q=foo"></iframe>
<iframe src="http://www.google.com/search?client=firefox-a&q=foo"></iframe>

Where you replace foo with the search string and the domains with your internal search engines. You shouldn't expect neither google nor bing indexing your intranet pages so you need your own indexing engine.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜