由买买提看人间百态

boards

本页内容为未名空间相应帖子的节选和存档,一周内的贴子最多显示50字,超过一周显示500字 访问原贴
Java版 - 哪位在自己的website里用过google search bar?给回答一下基础问题吧
相关主题
请教一个htmlunit的问题tomcat 访问硬盘文件的问题, 3x
Re: file permissions when using java creating filesSimple Question About Eclipse
Re: 推荐推荐synchronized method does lock the object that passed into the method as a parameter?
Help-applet access remote databaseliveconnect (javascript to java) security question
问个基本问题no access to spring document?
what's the deal with my google (转载)hadoop quickstart 疑问
Anybody familiar with Sun(Netscape) Directory Server? (转载)When running a .jar file, error message: cannot connect to window server
An interview question.Java interfaceaccess control within RESTful service
相关话题的讨论汇总
话题: search话题: google话题: website话题: bar话题: 哪位
进入Java版参与讨论
1 (共1页)
t****t
发帖数: 2269
1
我有的是一个java, jsp的application,想在里面加一个google search,这样可以搜索
网页之内的内容。
想问一下这种情况是不是很难实现,要不要买google的产品?
我们学校主页上有google search,我看说是可以先向他们注册,然后可以直接用。但
是我们要用的话,是不是要求我们的网页是公开访问的才行。如果是必须登录才能看到
的网页,这样的search是不是就没用了?
多谢。我是没入门级,高手请给指点一下。
g*****g
发帖数: 34805
2
你们学校用的 google search 应该用的就是
keywords site:yourdomain.edu
用一个javascript把输入的keywords和后面那部分连起来扔给google就可以了。
应该不用注册。

【在 t****t 的大作中提到】
: 我有的是一个java, jsp的application,想在里面加一个google search,这样可以搜索
: 网页之内的内容。
: 想问一下这种情况是不是很难实现,要不要买google的产品?
: 我们学校主页上有google search,我看说是可以先向他们注册,然后可以直接用。但
: 是我们要用的话,是不是要求我们的网页是公开访问的才行。如果是必须登录才能看到
: 的网页,这样的search是不是就没用了?
: 多谢。我是没入门级,高手请给指点一下。

t****t
发帖数: 2269
3
but we want the google search only within our site, and only the people with
the right permission can see the result content. Can this be accomplished
by the way you described?

【在 g*****g 的大作中提到】
: 你们学校用的 google search 应该用的就是
: keywords site:yourdomain.edu
: 用一个javascript把输入的keywords和后面那部分连起来扔给google就可以了。
: 应该不用注册。

g*****g
发帖数: 34805
4
as we all know, search of google result is public,
yes, it's only within your site, but you can't make it
private.

with

【在 t****t 的大作中提到】
: but we want the google search only within our site, and only the people with
: the right permission can see the result content. Can this be accomplished
: by the way you described?

1 (共1页)
进入Java版参与讨论
相关主题
access control within RESTful service问个基本问题
Re: Do anyone know a good websit containing the source code of Javawhat's the deal with my google (转载)
更好的使用googleAnybody familiar with Sun(Netscape) Directory Server? (转载)
How to use multicast ?An interview question.Java interface
请教一个htmlunit的问题tomcat 访问硬盘文件的问题, 3x
Re: file permissions when using java creating filesSimple Question About Eclipse
Re: 推荐推荐synchronized method does lock the object that passed into the method as a parameter?
Help-applet access remote databaseliveconnect (javascript to java) security question
相关话题的讨论汇总
话题: search话题: google话题: website话题: bar话题: 哪位