Skip to content

Instantly share code, notes, and snippets.

@penso
Created September 10, 2009 21:59
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save penso/184852 to your computer and use it in GitHub Desktop.
Save penso/184852 to your computer and use it in GitHub Desktop.
require 'superfeedr'
Superfeedr.connect(APP_CONFIG['superfeedr_login'], APP_CONFIG['superfeedr_password']) do
Superfeedr.subscribe(feed) do |result|
if result
puts "Subscribed to : #{feed}"
update_attribute(:sent, true)
end
end
end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment