2007-05-29
Liferay中的第三方组件:Google SOAP Search API
Liferay是个很成功的开源项目,其中用到了大量的第三方组件。
组件列表来自
http://wiki.liferay.com/index.php/Liferay_Dependencies
Google SOAP Search API http://code.google.com/apis/soapsearch/index.html是liferay中google portlet所用组件。该组件不是开源组件且只能个人使用。
该组件代码在com.liferay.portlet.google包下使用,提供google的search、spell和cache功能.
要使用这些功能,需要有google license。并且在portal.properties中 Google License Keys 段配置。
现在google已经不再提供soap api的license,如果你以前申请过,那么还能继续使用
由于每个google license只能使用1000次,所以在liferay下可以配置多个License Keys,如果有一个出错了,那么liferay会使用下一个,但是这次查询会返回一个错误页面。这段代码值得商榷,是不是应该一直尝试直到成功或者把所有key都用完呢?
组件列表来自
http://wiki.liferay.com/index.php/Liferay_Dependencies
Google SOAP Search API http://code.google.com/apis/soapsearch/index.html是liferay中google portlet所用组件。该组件不是开源组件且只能个人使用。
该组件代码在com.liferay.portlet.google包下使用,提供google的search、spell和cache功能.
要使用这些功能,需要有google license。并且在portal.properties中 Google License Keys 段配置。
现在google已经不再提供soap api的license,如果你以前申请过,那么还能继续使用
引用
As of December 5, 2006, we are no longer issuing new API keys for the SOAP Search API. Developers with existing SOAP Search API keys will not be affected.
由于每个google license只能使用1000次,所以在liferay下可以配置多个License Keys,如果有一个出错了,那么liferay会使用下一个,但是这次查询会返回一个错误页面。这段代码值得商榷,是不是应该一直尝试直到成功或者把所有key都用完呢?
评论
lyo
2007-06-24
liferay好像到了 4.2以后,不支持默认本地化了,我的机器是中文操作系统,打开 http://localhost:8080 后,是英文的welcome界面,我在 system.properties 中设置了
但是无济于事,打开默认欢迎界面仍然是英文,谁知道原因吗?
代码 user.country=CN user.language=zh
但是无济于事,打开默认欢迎界面仍然是英文,谁知道原因吗?
- 浏览: 70967 次

- 详细资料
搜索本博客
我的相册
generate friendlyurl
共 25 张
共 25 张
最新评论
-
Liferay 4.3 新功能介绍-- ...
这个我试了,很好用,可是是不是只能通过root.xml的配置共用一个数据库阿?怎 ...
-- by quickSand -
Liferay 4.3 与CAS集成配 ...
谁配成功了
-- by sun128837 -
Liferay 4.3 中 friendly ...
不错,受益匪浅。不过当用户的screenName是汉字时,FriendlyURL ...
-- by dins2003 -
Liferay中的第三方组件: ...
suyulin6688 写道不错。 不过有个问题, 假设我在“login.js ...
-- by hanfeng -
Howto: 如何使用Liferay ...
能不能写的简单明了一些啊? 我按照你写的一步步做下去,根本就不成功啊.
-- by liyx326






评论排行榜