Copyright(C) 2005 Cafen.net All right reserved. Contact HP (010-9761-4025) / email(outmind@nate.com)  
Cafen.net OpenAPI
Friendly Used by
IE < 6.0, IE 5.5
FireFox
Google Chrome
Safari
Flock
Opera
Samples
- rainEditor
- rainMap
- rainGraph
- openAPI Search
References
- rainEditor
- rainMap
- rainGraph
- openAPI Search
The Last Tails
Visitors Statistics
Site | Page
openAPI Use Statistics
Editor | Map | Others
Open API Search Reference
Script URL Code

<script TYPE="text/JavaScript" LANGUAGE="JavaScript1.2" 
	SRC="http://service.cafen.net/?hl=&api=search"></script>
rainSearch
Constructor
Constructor Description
rainSearch()  
Methods
Method Return Value Description
render(obj,...) void 레인검색 랜드링 obj : div id or object
renderElement(obj,...) void render 의 별칭
renderElementsByClassName(className) void class name 에 의한 랜드링
renderElementsById(id) void id 에 의한 랜드링
renderElementsByName(name) void name 에 의한 랜드링
Interface of Div
Method Return Value Description
setAPI(options) void 검색 api 설정 (select box object or string) GOOGLE, LIVE, NAVER, DAUM
setPart(options) void 검색 분야 설정 (select box object or string) web, image, news ..
setNum(options) void 검색 갯수 설정 (select box object or number) 1-20
setKeyword(options) void 검색 키워드 설정 (input box object or string)
search(cline) void 검색 시작 , cline : 보일 자료 시작 번호
rain.Rsearch
Constructor
Constructor Description
rain.Rsearch(options)
options = {
	api : 검색 api select box object or object id,
	query : 검색 키워드 input box object or object id, 
	part : 검색 분야 select box object or object id, 
	num : 검색 갯수 select box object or object id, 
	button : 검색 시작 button object or object id, 
	display : 검색 결과를 보여 줄 영역 div object or object id,
	page : 하단 페이징 숫자:number (default : 7),
	width : 가로폭 : number (default : 700),
	linecolor : 라인 색상 :string (default : #a0a0a0)
}
Methods
Method Return Value Description
goSearch() void 검색시작
setNum(obj) void 검색 결과 갯수 지정 , obj 는 숫자나 숫자를 담고있는 select box object
setPart(obj) void 검색분야, obj 는 문자나 문자를 담고있는 select box object
setAPI(obj) void 검색할 API , obj 는 문자나 문자를 담고있는 select box object
setKeyword(obj) void 검색할 키워드 , obj 는 문자나 문자를 담고있는 select box object
search([cline]) void 검새시작 , cline 가져올 페이지 포인터 기본 0
setMsg(msg) void 메세지 보이기
Global Var - rainGlobalConf
Key Value Description
apiKeys.NAVER String 네이버 Open API 키 (미상용시 공백)
apiKeys.DAUM String 다음 Open API 키 (미상용시 공백)
apiKeys.LIVE String LIVE Open API 키 (미상용시 공백)
apiKeys.GOOGLE String GOOGLE Open API 키 (미사용시 공백, 사용시 임의의 문자)
rainTails by Page
Copyright(C)2005 Cafen.net. All right reserved. TEL: 010-9761-4025 / E-mail: outmind@cafen.net