Skip to content

freibuis/lita-google-ranking

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

lita-google-ranking

Build Status

Lita (robot) handler for getting rank of DOMAIN on google web search with a KEYWORD.

Installation

Add lita-google-ranking to your Lita instance's Gemfile:

gem "lita-google-ranking"

Configuration

in lita_config.rb

config.handlers.google_ranking.gl = "tw"
config.handlers.google_ranking.lr = "lang_zh"
config.handlers.google_ranking.cr = "countryTW"

domain alias

config.handlers.google_ranking.domain_alias = { alias: "domain" , domain: "www.my.long.domain.name.com" }

Usage

lita gr DOMAIN KEYWORD : send KEYWORD to google web search, and return rank of DOMAIN from search results

"KEYWORD" ranking of DOMAIN is 3

License

MIT

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • Ruby 100.0%