=======
 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 :: Welcome

2) 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

4) snarf-disable (snarf-off)

5) snarf-enable (snarf-on)

6) snarf-list

7) validate (valid)

    validate an URL

    ::

        <user> !validate http://gozerbot.org
        <output> gozerbot.org: Failed validation, 8 errors | modified: (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 | size: (undefined) | content-type: text/html |
        <output>  encoding: utf-8 | doctype: XHTML 1.0 Strict
