<?xml version="1.0" encoding="utf-8"?>
<!-- generator="FeedCreator 1.7.2-ppt DokuWiki" -->
<?xml-stylesheet href="http://www.otfbot.org/lib/exe/css.php?s=feed" type="text/css"?>
<rdf:RDF
    xmlns="http://purl.org/rss/1.0/"
    xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
    xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
    xmlns:dc="http://purl.org/dc/elements/1.1/">
    <channel rdf:about="http://www.otfbot.org/feed.php">
        <title>OTFBot - The friendly Bot</title>
        <description></description>
        <link>http://www.otfbot.org/</link>
        <image rdf:resource="http://www.otfbot.org/lib/images/favicon.ico" />
       <dc:date>2010-09-05T01:53:14+02:00</dc:date>
        <items>
            <rdf:Seq>
                <rdf:li rdf:resource="http://www.otfbot.org/topbar?rev=1283385687&amp;do=diff"/>
                <rdf:li rdf:resource="http://www.otfbot.org/docs/xmpp?rev=1283384074&amp;do=diff"/>
                <rdf:li rdf:resource="http://www.otfbot.org/tests?rev=1283211447&amp;do=diff"/>
                <rdf:li rdf:resource="http://www.otfbot.org/docs/quick-start?rev=1283196357&amp;do=diff"/>
                <rdf:li rdf:resource="http://www.otfbot.org/download?rev=1283195862&amp;do=diff"/>
                <rdf:li rdf:resource="http://www.otfbot.org/dev?rev=1283169517&amp;do=diff"/>
                <rdf:li rdf:resource="http://www.otfbot.org/docs/plugins?rev=1283025923&amp;do=diff"/>
            </rdf:Seq>
        </items>
    </channel>
    <image rdf:about="http://www.otfbot.org/lib/images/favicon.ico">
        <title>OTFBot - The friendly Bot</title>
        <link>http://www.otfbot.org/</link>
        <url>http://www.otfbot.org/lib/images/favicon.ico</url>
    </image>
    <item rdf:about="http://www.otfbot.org/topbar?rev=1283385687&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2010-09-02T02:01:27+02:00</dc:date>
        <dc:creator>allo</dc:creator>
        <title>topbar</title>
        <link>http://www.otfbot.org/topbar?rev=1283385687&amp;do=diff</link>
        <description>*  Home
	*  Download
	*  Documentation
		*  Plugins
		*  Jabber
		*  FAQ
		*  Git apidocs

	*  Development
		*  Tests 
		*  cgit

	*  Bugs</description>
    </item>
    <item rdf:about="http://www.otfbot.org/docs/xmpp?rev=1283384074&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2010-09-02T01:34:34+02:00</dc:date>
        <dc:creator>allo</dc:creator>
        <title>docs:xmpp</title>
        <link>http://www.otfbot.org/docs/xmpp?rev=1283384074&amp;do=diff</link>
        <description>The bot can use a jabber account.
to do so:

	*  make sure you have python-wokkel installed
	*  enable the xmppClient service in config
	*  
		*  add some xmppClient plugins in main.xmppClientPlugins list
		*  add some ircClient plugins in main.xmppClientIRCPlugins list (experimental). be aware most ircClient plugins are not tested for xmppClient.</description>
    </item>
    <item rdf:about="http://www.otfbot.org/tests?rev=1283211447&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2010-08-31T01:37:27+02:00</dc:date>
        <dc:creator>allo</dc:creator>
        <title>tests</title>
        <link>http://www.otfbot.org/tests?rev=1283211447&amp;do=diff</link>
        <description>Here should be documented which plugins where (successfully) tested and what was tested / what was not tested (if appliable)


ircClient</description>
    </item>
    <item rdf:about="http://www.otfbot.org/docs/quick-start?rev=1283196357&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2010-08-30T21:25:57+02:00</dc:date>
        <dc:creator>allo</dc:creator>
        <title>docs:quick-start - created</title>
        <link>http://www.otfbot.org/docs/quick-start?rev=1283196357&amp;do=diff</link>
        <description>$ twistd -n gen-otfbot-config
[...]
$ twistd -n otfbot</description>
    </item>
    <item rdf:about="http://www.otfbot.org/download?rev=1283195862&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2010-08-30T21:17:42+02:00</dc:date>
        <dc:creator>allo</dc:creator>
        <title>download</title>
        <link>http://www.otfbot.org/download?rev=1283195862&amp;do=diff</link>
        <description>Development Versions


Use Git to get the most current version of the bot. Please use Git if you want to develop plugins, because 0.9 is outdated and will soon be replaced by 1.0.

Grab your copy with the following command:

git clone http://git.otfbot.org/otfbot.git</description>
    </item>
    <item rdf:about="http://www.otfbot.org/dev?rev=1283169517&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2010-08-30T13:58:37+02:00</dc:date>
        <dc:creator>allo</dc:creator>
        <title>dev</title>
        <link>http://www.otfbot.org/dev?rev=1283169517&amp;do=diff</link>
        <description>For API-Documentation See API Documentation

How to create a (ircClient) plugin?

Have a look at our example plugin to see which callbacks exist. you can react on each of those as you like using python code.

The most simple plugin is just


from otfbot.lib import chatMod
from otfbot.lib.pluginSupport.decorators import callback

class Plugin(chatMod.chatMod):
    @callback
    def command(self, user, channel, cmd, options):
        &quot;&quot;&quot;just echo every line back to channel&quot;&quot;&quot;
        self.bot.send…</description>
    </item>
    <item rdf:about="http://www.otfbot.org/docs/plugins?rev=1283025923&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2010-08-28T22:05:23+02:00</dc:date>
        <dc:creator>Thomas</dc:creator>
        <title>docs:plugins</title>
        <link>http://www.otfbot.org/docs/plugins?rev=1283025923&amp;do=diff</link>
        <description>information
 name  short description  feed		 posts headlines from newsfeeds.  flyspray	  weather	 displays weather reports.  youtube	 search for a phrase on youtube and return a videolink  tv		 displays the tv-schedule.  url	 displays the title of urls and creates tinyurls.  version	 answers to CTCP version requests.  math	 simple calculator and dice function.  moon	 display moon-phase reminder	 provides a !remind command.  seen	 provides infos about when a certain user was last seen.  quotesfro…</description>
    </item>
</rdf:RDF>
