Shrinks URLs using tinyurl.com and ln-s.net.
| Commands for ShrinkUrl |
| ln | <url> |
Returns an ln-s.net version of <url>. |
| shrinkurl | <command> [<args> ...] |
Command dispatcher for the ShrinkUrl plugin. Use 'list ShrinkUrl' to see the commands provided by this plugin. Use 'config list plugins.ShrinkUrl' to see the configuration values for this plugin. In most cases this dispatcher command is unnecessary; in cases where more than one plugin defines a given command, use this command to tell the bot which plugin's command to use. |
| tiny | <url> |
Returns a TinyURL.com version of <url> |
Configuration Variables for
the ShrinkUrl plugin
- supybot.plugins.ShrinkUrl.public
- Default: True
- Channel Specific: False
- Help: Determines whether this plugin is publicly visible.
- supybot.plugins.ShrinkUrl.shrinkSnarfer
- Default: False
- Channel Specific: True
- Help: Determines whether the shrink snarfer is enabled. This snarfer will watch for URLs in the channel, and if they're sufficiently long (as determined by supybot.plugins.ShrinkUrl.minimumLength) it will post a smaller URL from either ln-s.net or tinyurl.com, as denoted in supybot.plugins.ShrinkUrl.default.
- supybot.plugins.ShrinkUrl.minimumLength
- Default: 48
- Channel Specific: True
- Help: The minimum length a URL must be before the bot will shrink it.
- supybot.plugins.ShrinkUrl.nonSnarfingRegexp
- Default:
- Channel Specific: True
- Help: Determines what URLs are to be snarfed; URLs matching the regexp given will not be snarfed. Give the empty string if you have no URLs that you'd like to exclude from being snarfed.
- supybot.plugins.ShrinkUrl.outFilter
- Default: False
- Channel Specific: True
- Help: Determines whether the bot will shrink the URLs of outgoing messages if those URLs are longer than supybot.plugins.ShrinkUrl.minimumLength.
- supybot.plugins.ShrinkUrl.default
- Default: "ln"
- Channel Specific: True
- Help: Determines what website the bot will use when shrinking a URL. Valid strings: ln and tiny.