Sitebeagle tells you when a website has changed or if it's down.
Ruby NewLisp
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
legacy
.gitignore
.hound.yml
.ruby-version
Gemfile
Gemfile.lock
README.rdoc
TODO
api_tester.rb
auth.yaml.sample
client_include.rb
dm.rb
get_oauth.rb
sitebeagle.rb
streaming_api.rb
trends.rb
twitter_oauth_include.rb
unfollower.rb
viame.rb

README.rdoc

README

Sitebeagle watches a site for you.

“Beagles make good watch dogs.” – from the wikipedia entry for Beagles

By: barce

Note: We are moving sitebeagle to Ruby using OAuth authentication. The newLISP part was cool and I got to find out about new things, but right now I just need something that works & now. - barce 9/29/2010

requirements:

curl
twitter account from http://twitter.com/ for sending changes / outages
twitter account from http://twitter.com/ for receiving changes / outages
ruby

how to use:

=1= get a consumer_key and consumer_secret for this application from twitter
=2= put those into a file called auth.yaml
=3= edit get_oauth.rb. point it to auth.yaml and set oauth_confirm_url .
=4= run get_oauth.rb
=5= note values for access_token and access_secret
=6= put those values into auth.yaml
=7= run sitebeagle.rb by typing: ./sitebeagle.rb http://example.com 5 twitter_username

known issues: if a site changes its html each time when you go to it, sitebeagle won't work

work around:

use the regex functionality on sitebeagle to isolate the html you want to monitor, e.g.:
./sitebeagle.rb --url http://www.meetup.com/Data-Mining/ --user barce --alerts 5 --regex upcomingTab.*span

License:

This file is part of Sitebeagle.

Sitebeagle is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation, either version 3 of the License, or
(at your option) any later version.

Sitebeagle is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
GNU General Public License for more details.

You should have received a copy of the GNU General Public License
along with Sitebeagle.  If not, see <http://www.gnu.org/licenses/>.