mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-01-12 07:11:42 +09:00
의미없는 naver_search addon제거
git-svn-id: http://xe-core.googlecode.com/svn/trunk@2012 201d5d3c-b55e-5fd7-737f-ddc643e51545
This commit is contained in:
parent
e3a483040e
commit
08811524fe
2 changed files with 0 additions and 50 deletions
|
|
@ -1,28 +0,0 @@
|
|||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<addon version="0.1">
|
||||
<title xml:lang="ko">네이버 검색 연동 애드온</title>
|
||||
<title xml:lang="zh-CN">韩国naver搜索 Add-On</title>
|
||||
<title xml:lang="en">Addon for interoperability with the Naver Search</title>
|
||||
<title xml:lang="jp">NAVER検索エンジン</title>
|
||||
<author email_address="zero@zeroboard.com" link="http://www.zeroboard.com" date="2007. 2. 28">
|
||||
<name xml:lang="ko">제로</name>
|
||||
<name xml:lang="zh-CN">제로</name>
|
||||
<name xml:lang="en">zero</name>
|
||||
<name xml:lang="jp">Zero</name>
|
||||
<description xml:lang="ko">
|
||||
글을 작성시 네이버의 검색서버에 해당 글의 상황을 보냅니다.
|
||||
내용을 보내는 것이 아니라 글의 url만 보내고 글에서 선택한 공개옵션에 따라서 크롤링을 하게 됩니다.
|
||||
네이버 검색서버 연동을 하시면 사이트의 검색 기능을 네이버의 검색서버를 이용하실 수 있게 됩니다.
|
||||
</description>
|
||||
<description xml:lang="zh-CN">
|
||||
中文用户不支持此功能
|
||||
</description>
|
||||
<description xml:lang="en">
|
||||
When users post their entry, this will send its url and crawl according to option selected whether to be public when posting.
|
||||
Interoperating with the Naver Search server enables you to use it for your site search.
|
||||
</description>
|
||||
<description xml:lang="jp">
|
||||
書き込む際にネイバー検索エンジンのサーバに書き込みの情報を送信します。内容を送信するのではなく、書き込みのURLのみが送信され、書き込みで選択されている公開オプションによってクローリングされます。ネイバー検索エンジンと連動させるとサイトの検索機能としてネイバーの検索サーバが利用できます。
|
||||
</description>
|
||||
</author>
|
||||
</addon>
|
||||
|
|
@ -1,22 +0,0 @@
|
|||
<?php
|
||||
if(!defined("__ZBXE__")) exit();
|
||||
|
||||
/**
|
||||
* @file naver_search_addon.addon.php
|
||||
* @author zero (zero@nzeo.com)
|
||||
* @brief 네이버 검색 연동 애드온
|
||||
*
|
||||
* 네이버 검색 연동 애드온은 모듈이 실행된 후에 동작을 한다.
|
||||
* board 모듈의 procInsertDocument, procDeleteDocument action일 때만 특정 서버로 발송을 한다.
|
||||
**/
|
||||
|
||||
// called_position이 before일때만 실행
|
||||
if($called_position != 'after_module_proc') return;
|
||||
|
||||
if($this->module != 'board' && ($this->act != 'procInsertDocument' || $this->act != 'procDeleteDocument')) return;
|
||||
|
||||
// 검색 서버로 발송할 url을 구함
|
||||
$url = sprintf('%s?document_srl=%s',Context::getRequestUri(), Context::get('document_srl'));
|
||||
|
||||
// URL을 네이버 검색 서버로 발송
|
||||
?>
|
||||
Loading…
Add table
Add a link
Reference in a new issue