The Perl Toolchain Summit needs more sponsors. If your company depends on Perl, please support this very important event.

NAME

Bot::BasicBot::Pluggable::Module::Blog

SYNOPSIS

Chump-like blogging engine. somewhat specialist. See http://2lmc.org/blog for an example of it's use. This requires a mysql datyabase back-end.

Will require some hacking to make work. Sorry.

IRC USAGE

Commands are:

blog <text>

Creates a new blog entry and makes it current.

chump <text>

Creates a new blog entry, makes it current, and will say the id of the just created entry.

bc <text>

Add a comment to the last blog entry

<number>: <text>

Comment on the entry with blog_id <number>. Can be a blog_id or a timestamp.

unblog <entry>

Removes a blog entry. say 'unblog last' to remove the last-blogged entry. 'entry' can be a blog_id or a timestamp.

showblog <id>

Shows the contents of the given blog entry. 'id' can be a blog_id, a timestamp, or 'last'.

searchblog <terms>

Searches blog entries for the given text.

VARS

db_name

local mysql database name for chumping to go into.

db_user

username to connect to database

db_pass

password to connect to database. Stored in the bot in cleartext and can be got by anyone with a bot login, beware.

USING THE OUTPUT

See the web page code in the examples/ folder

TODO