Skip to content

Instantly share code, notes, and snippets.

@JayCuthrell
Created September 20, 2010 07:29
Show Gist options
  • Save JayCuthrell/587537 to your computer and use it in GitHub Desktop.
Save JayCuthrell/587537 to your computer and use it in GitHub Desktop.
[macbookpro]$ cd Projects/
[macbookpro]$ git clone git://github.com/ivey/rss-to-notifo.git
[macbookpro]$ cd rss-to-notifo/
[macbookpro]$ sudo gem update --system
Password:
Updating RubyGems
Updating rubygems-update
Successfully installed rubygems-update-1.3.7
Updating RubyGems to 1.3.7
Installing RubyGems 1.3.7
RubyGems 1.3.7 installed
[macbookpro]$ sudo gem install bundler --pre
Successfully installed bundler-1.0.0.rc.6
1 gem installed
Installing ri documentation for bundler-1.0.0.rc.6...
Installing RDoc documentation for bundler-1.0.0.rc.6...
[macbookpro]$ bundle install
Fetching git://github.com/ivey/notifo.git
Fetching source index for http://rubygems.org/
Installing crack (0.1.8)
Installing httparty (0.4.5)
Using notifo (0.1.2) from git://github.com/ivey/notifo.git (at master)
Installing simple-rss (1.2.3)
Using bundler (1.0.0.rc.6)
Your bundle is complete! Use `bundle show [gemname]` to see where a bundled gem is installed.
[macbookpro]$ chmod 755 rss2notifo.rb
[macbookpro]$ ./rss2notifo.rb
Usage: rss2notifo.rb [@options] FEED_URL
-u, --user USER Notifo username
-k, --key APIKEY Notifo API key
-l, --label LABEL Application label
-t, --title TITLE Event title
-d, --db DATABASE Database file for seen items
-q, --quiet Don't send, just update database
-v, --verbose Tell me what's going on
[macbookpro]$ ./rss2notifo.rb -u usernamehere -k apikeyhere -l RWH -t Update -d fubar -v http://www.readwriteweb.com/hack/rss.xml
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment