Rack::Linkify

Added by techiferous at November 15, 2009 09:53 Star_small_grayStar_small_grayStar_small_grayStar_small_grayStar_small_gray
GitHub stats:
Magnifier watcher(s)
Arrow_branch fork(s)
Wrench

About

Dead links (like this one http://you.cant.click.this.com/) are magically transformed into live links! Rack::Linkify is very generous in what it considers a link; it will turn http://www.google.com, www.google.com, and just plain google.com into a link.

Rack::Linkify can also turn text that looks like @this into a twitter link.

Usage

URLs only:

use Rack::Linkify

Enable Twitter links, too:

use Rack::Linkify, :twitter => true
blog comments powered by Disqus