Limnoria-doc/use/plugins/web.rst

77 lines
1.1 KiB
ReStructuredText
Raw Normal View History

2011-06-28 08:11:32 +02:00
.. _plugin-web:
The Web plugin
==============
2011-06-28 08:13:53 +02:00
.. _command-urlunquote:
2011-06-28 08:11:32 +02:00
urlunquote <text>
^^^^^^^^^^^^^^^^^
Returns the text un-URL quoted.
2011-06-28 08:13:53 +02:00
.. _command-netcraft:
2011-06-28 08:11:32 +02:00
netcraft <hostname|ip>
^^^^^^^^^^^^^^^^^^^^^^
Returns Netcraft.com's determination of what operating system and
webserver is running on the host given.
2011-06-28 08:13:53 +02:00
.. _command-urlquote:
2011-06-28 08:11:32 +02:00
urlquote <text>
^^^^^^^^^^^^^^^
Returns the URL quoted form of the text.
2011-06-28 08:13:53 +02:00
.. _command-size:
2011-06-28 08:11:32 +02:00
size <url>
^^^^^^^^^^
Returns the Content-Length header of *<url>*. Only HTTP urls are valid,
of course.
2011-06-28 08:13:53 +02:00
.. _command-title:
2011-06-28 08:11:32 +02:00
title <url>
^^^^^^^^^^^
Returns the HTML *<title>*...*</title>* of a URL.
2011-06-28 08:13:53 +02:00
.. _command-doctype:
2011-06-28 08:11:32 +02:00
doctype <url>
^^^^^^^^^^^^^
Returns the DOCTYPE string of *<url>*. Only HTTP urls are valid, of
course.
2011-06-28 08:13:53 +02:00
.. _command-headers:
2011-06-28 08:11:32 +02:00
headers <url>
^^^^^^^^^^^^^
Returns the HTTP headers of *<url>*. Only HTTP urls are valid, of
course.
2011-06-28 08:13:53 +02:00
.. _command-fetch:
2011-06-28 08:11:32 +02:00
fetch <url>
^^^^^^^^^^^
Returns the contents of *<url>*, or as much as is configured in
supybot.plugins.Web.fetch.maximum. If that configuration variable is
set to 0, this command will be effectively disabled.