Skip to content
A Lita.io plugin to parse URIs in chat and post the title of the page.
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
lib
locales
spec
templates
.gitignore
.rspec
.travis.yml
Gemfile
LICENSE
README.md
Rakefile
lita-web-title.gemspec

README.md

lita-web-title

A simple plugin to parse URIs in chat and return the title. Also follows 30x redirects if they are found

Installation

Add lita-web-title to your Lita instance's Gemfile:

gem "lita-web-title"

Configuration

Required attributes

None

Optional attributes

  • ignore_patterns (String or Array) - A pattern or list of patterns. When a URL matches any of these patterns, Lita will silently ignore it. Default: nil. Example: config.handlers.web_title.ignore_patterns = ["rpm.newrelic.com","example.com","my(dev|stg|prd).com"]

Usage

dosman-bot > http://bit.ly/1RmnUT
Google
You can’t perform that action at this time.