=======
 SNARF 
=======
| 

about
-----
| 

:author:  Wijnand 'tehmaze' Modderman - http://tehmaze.com
:contact: IRCNET/#dunkbots
:website: http://plugins.gozerbot.org
:license:  BSD
 
| 

description
-----------
| 

the snarf plugin gets the title of the web page of the provided url or the last url in the log

| 


| 

commands
--------
| 


1) snarf (title)

    fetch the title from an URL

    ::

        <user> !snarf http://gozerbot.org
        <output> gozerbot.org: Gozerbot :: The IRC bot and Jabber bot
        <output>  in one

4) snarf-cfg

    plugin configuration

    ::

        <user> !snarf-cfg
        <output> options: allow=['text/plain', 'text/html', 'application/xml']

3) snarf-cfgsave

    save plugin configuration

    ::

        <user> !snarf-cfgsave
        <output> config saved

3) snarf-enable (snarf-on)

    enable snarfing in the channel

    ::

        <user> !snarf-enable
        <output> ok

3) snarf-list

    show in which channels snarfing is enabled

    ::

        <user> !snarf-list
        <output> snarfers enable on: test: #test

3) validate (valid)

    validate an URL

    ::

        <user> !validate http://gozerbot.org
        <output> gozerbot.org: Failed validation, 28 Errors | modified:
        <output>  (undefined) | server: Apache/2.2.4 (FreeBSD) mod_ssl/2.2.4
        <output>  OpenSSL/0.9.8b DAV/2 mod_python/3.2.10 Python/2.4.3
        <output>  | size: (undefined) | content-type: text/html | encoding:
        <output>  utf-8 | doctype: XHTML 1.0 Strict

7) snarf-disable (snarf-off)

    disable snarfing in the channel

    ::

        <user> !snarf-disable
        <output> ok
