Differences between revisions 1 and 6 (spanning 5 versions)
Revision 1 as of 2008-12-16 07:12:37
Size: 2336
Editor: ZoomQuiet
Comment:
Revision 6 as of 2009-12-25 07:10:24
Size: 2079
Editor: localhost
Comment: converted to 1.6 markup
Deletions are marked like this. Additions are marked like this.
Line 4: Line 4:
[[TableOfContents]] <<TableOfContents>>
Line 6: Line 6:
[[Include(ZPyUGnav)]] <<Include(ZPyUGnav)>>
Line 21: Line 21:
attachment:irclogger-080901.7z [[attachment:irclogger-080901.7z]]
Line 23: Line 23:
== 当前配置 ==
[[http://trac.rdev.kingsoft.net/kspeg/changeset/3355|当前配置]]
Line 26: Line 24:
== 改进传票 ==
[[http://trac.rdev.kingsoft.net/kspeg/ticket/1138|改进传票]]
Line 33: Line 29:

===
下载/安装Python ===
[[http://www.python.org|下载/安装Python]]

=== 下载/安装MoinMoin ===
[[http://moinmoin.wikiwikiweb.de|下载/安装MoinMoin]]

===
下载/安装kibot ===
 1.
[[http://svn.rdev.kingsoft.net/matter/tasks/wiki.KUP/irclogger|下载Kibot]]

 1. 安装kibot,
执行
  
{{{
=== 准备 ===
 1.
下载/安装Python ~ [[http://www.python.org|下载/安装Python]]
 1. 下载/安装MoinMoin ~ [[http://moinmoin.wikiwikiweb.de|下载/安装MoinMoin]]
 1. 下载/安装kibot ~
  *
[[http://svn.rdev.kingsoft.net/matter/tasks/wiki.KUP/irclogger|下载Kibot]]    * 执行{{{
Line 51: Line 41:
=== 配置kibot ===
配置kibot.conf, 例如:
  
{{{
=== 配置 ===
 1. 配置kibot.conf, 例如:{{{
Line 73: Line 62:
=== 配置Wiki irssi parser ===
安装irssi parser
, 执行
  
{{{
 1. 配置Wiki irssi parser, 执行{{{
Line 79: Line 66:

===
配置WikiIRC日志主页面 ===
创建IRC日志主页面, 例如, KspegIrcLogs. 注意, 主页面必须在根目录中, 不能是子页面.
  
{{{
 1. 配置WikiIRC日志主页面,创建IRC日志主页面, 例如, KspegIrcLogs. 注意, 主页面必须在根目录中, 不能是子页面.{{{
Line 95: Line 79:
打开Wiki页面, http://wiki.server/KspegIrcLogs, 即可浏览历史IRC记录 打开指定Wiki页面, 即可浏览历史IRC记录

 * {{attachment:IrcChart.png}}
 * {{attachment:IrcLogWiki.png}}
Line 109: Line 96:
创建 by -- ZoomQuiet [[[DateTime(2008-12-16T07:12:37Z)]]]
||<^
>[[PageComment2]]||<^>[:/PageCommentData:PageCommentData]''||
创建 by -- ZoomQuiet <<DateTime(2008-12-16T07:12:37Z)>>

IRCBOT配置指南

  • 文档属主: ZoomQuiet

  • 版本历史:
    • v0.6~081216 ZoomQuiet 分享到啄木鸟

    • v0.5~080901 Richard KSPEG创立

描述

源码

irclogger-080901.7z

依赖

安装Step by step

准备

  1. 下载/安装Python ~ 下载/安装Python

  2. 下载/安装MoinMoin ~ 下载/安装MoinMoin

  3. 下载/安装kibot ~
    • 下载Kibot

    • 执行

      cd kibot-0.0.12
      ./configure
      make
      make install

配置

  1. 配置kibot.conf, 例如:

    [admin]
    debug = 2 5
    logfile = - log5
    
    [files]
    base_dir = /home/liaojie/moin/kibot/
    
    [irc]
    nick = kibot
    server = irc.freenode.net
    channels = #kibot
    
    [mod_kibot]
    moin_home = /path/to/moin
    irc_log_path = /path/to/moin/kibot/logs
    irc_log_file = KspegIrcLogs
    irc_ignore_nick = ["NickServ", "freenode-connect"]
  2. 配置Wiki irssi parser, 执行

    cd parser
    copy irssi.py /path/to/moin/data/plugin/parser/
  3. 配置WikiIRC日志主页面,创建IRC日志主页面, 例如, KspegIrcLogs. 注意, 主页面必须在根目录中, 不能是子页面.

    = Channel #Kspeg on freenode =
    
    <<MonthCalendar>>

运行

运行:

  • kibot -C /path/to/kibot.conf

查看IrcLog

打开指定Wiki页面, 即可浏览历史IRC记录

  • IrcChart.png

  • IrcLogWiki.png

相关信息


反馈

创建 by -- ZoomQuiet 2008-12-16 07:12:37

IrcLogBotHowto (last edited 2009-12-25 07:10:24 by localhost)