]> git.donarmstrong.com Git - infobot.git/commitdiff
* Updated FAQ with some hopefully helpful starter tips for fact packs
authordjmcgrath <djmcgrath@c11ca15a-4712-0410-83d8-924469b57eb5>
Sun, 25 Jan 2009 02:18:43 +0000 (02:18 +0000)
committerdjmcgrath <djmcgrath@c11ca15a-4712-0410-83d8-924469b57eb5>
Sun, 25 Jan 2009 02:18:43 +0000 (02:18 +0000)
git-svn-id: https://svn.code.sf.net/p/infobot/code/trunk@1859 c11ca15a-4712-0410-83d8-924469b57eb5

FAQ

diff --git a/FAQ b/FAQ
index ea26c5e6ebae14a8bf5dd00f365cee3af91ca631..30681dfc3bcdf25619c6190c3ffe4e0008aa0303 100644 (file)
--- a/FAQ
+++ b/FAQ
@@ -1,5 +1,21 @@
 # $Id$
 
 # $Id$
 
+Q: What are factpacks and how do I install them?
+A: A factpack is a partial database of factoids that you can import into
+   your configured infobot by running the script called "factpack.pl".
+
+   # IMPORTANT: Run from the bots base directory!
+   eg: ./scripts/factpack.pl /path/to/areacodes.fact
+
+Q: Can I remove a fact pack I have installed?
+A: Yes, but at the moment, you need to manually use SQL commands in your
+   favorite SQL program. The "created_by" field in the factoids will be
+   set to the filename of the fact pack you installed. For example, if
+   you installed the "areacodes.fact" file, "created_by" would be set to
+   "areacodes.fact". The SQL to remove the above example would be:
+
+   sql> DELETE FROM factoids WHERE created_by = 'areacodes.fact';
+
 Q: The bot exits after I run 'factstats testing' or 'kernel' or anything
    that uses fork(). Is this a bug in the bot?
 
 Q: The bot exits after I run 'factstats testing' or 'kernel' or anything
    that uses fork(). Is this a bug in the bot?