taketin / hubot-url-title

Returns the title when a link is posted

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

hubot-url-title

Returns the title when a link is posted.

Installation

Install the module:

npm install --save hubot-url-title

(this will update your package.json).

Then add hubot-url-title to external-scripts.json:

["hubot-url-title"]

Configuration

Regular expression used to exclude URLs

HUBOT_URL_TITLE_IGNORE_URLS

If you use HipChat, it's useful to ignore sites already supported by HipChat:

HUBOT_URL_TITLE_IGNORE_URLS="github.com|twitter.com|imgur.com|youtube.com|spotify.com|instagram.com"

Comma-separated list of users to ignore

HUBOT_URL_TITLE_IGNORE_USERS

Release workflow

git ci -m 'new cool feature'
git ci -m 'new nice feature'

npm version [<newversion> | major | minor | patch]

git push
git push --tags

npm publish .

About

Returns the title when a link is posted


Languages

Language:CoffeeScript 100.0%