Differences between revisions 1 and 2
Revision 1 as of 2008-10-06 06:05:54
Size: 2235
Editor: ZoomQuiet
Comment:
Revision 2 as of 2009-11-28 15:31:06
Size: 2168
Editor: Elias
Comment: 删除对PageComment2组件的引用
Deletions are marked like this. Additions are marked like this.
Line 108: Line 108:
||<^>[[PageComment2]]||<^>[:/PageCommentData:PageCommentData]''||

TableOfContents

Include(ZPyUGnav)

IRCBOT配置指南

  • 文档属主: Richard
  • 版本历史:
    • v0.6~081001 ZoomQuiet 分享到外部维基

    • v0.5~080901 创立

描述

  • 在MoinMoin中显示IRC聊天记录

源码

[http://svn.rdev.kingsoft.net/matter/tasks/wiki.KUP/irclogger 源码]

依赖

[http://moinmo.in/ MoinMoin 1.6以上]

安装Step by step

下载/安装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]

  2. 安装kibot, 执行
    • cd kibot-0.0.12
      ./configure
      make
      make install

配置kibot

配置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"]

配置Wiki irssi parser

安装irssi parser, 执行

  • cd parser
    copy irssi.py /path/to/moin/data/plugin/parser/

配置WikiIRC日志主页面

创建IRC日志主页面, 例如, KspegIrcLogs. 注意, 主页面必须在根目录中, 不能是子页面.

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

运行

运行:

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

查看IrcLog

打开Wiki页面, http://wiki.server/KspegIrcLogs, 即可浏览历史IRC记录

相关信息


反馈

创建 by -- ZoomQuiet [DateTime(2008-10-06T06:05:54Z)]

ZoomQuiet/2008-10-01 (last edited 2009-12-25 07:16:17 by localhost)