Skip to content

A Lita.io plugin to parse URIs in chat and post the title of the page.

License

Notifications You must be signed in to change notification settings

Cloudxtreme/lita-web-title

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

36 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

About

A Lita.io plugin to parse URIs in chat and post the title of the page.

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • Ruby 100.0%