Differences between revisions 2 and 3
Revision 2 as of 2008-09-11 02:54:37
Size: 2113
Editor: ZoomQuiet
Comment:
Revision 3 as of 2009-11-28 15:39:00
Size: 2046
Editor: Elias
Comment: 删除对PageComment2组件的引用
Deletions are marked like this. Additions are marked like this.
Line 103: Line 103:
||<^>[[PageComment2]]||<^>[:/PageCommentData:PageCommentData]''||

TableOfContents

Include(ZPyUGnav)

IRCBOT配置指南

  • 文档属主: [[Richard|廖杰]]

  • 版本历史:
    • v0.5~080901 创立

描述

  • 在MoinMoin中显示IRC聊天记录

依赖

安装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://you.wiki.server/KspegIrcLogs, 即可浏览历史IRC记录

相关信息

::-- [[Richard]] [<<DateTime(2008-09-01T10:21:15Z)>>]


反馈

创建 by -- ZoomQuiet [DateTime(2008-09-11T02:53:31Z)]

ZoomQuiet/2008-09-01 (last edited 2009-12-25 07:18:15 by localhost)