Articles tagged with 37signals

Tinder gets the unofficial 37Signals nod

37signals February 22 2007

Daniel Morrison pointed out to me this morning that Tinder has officially attained “unofficial” status from 37Signals.

From the Campfire site:

Tinder on campfirenow.com

That’s pretty exciting. I’ll blog in a couple days with more details on the project that I wrote Tinder for.

posted by brandon | updated February 22nd 11:31 AM | 1 comment

Tinder: Listening is just as important as speaking

37signals January 27 2007

I just released an update to Tinder, the really unofficial Campfire API, that allows listening in on a room:

campfire = Tinder::Campfire.new 'mysubdomain'
campfire.login 'myemail@example.com', 'mypassword'

room = campfire.find_room_by_name 'Room 1'

messages = room.listen
#=> [{:person=>"Brandon", :message=>"I'm getting very sleepy", :user_id=>"148583", :id=>"16434003"}]
#listen takes an option block, which causes it to poll for new messages every 5 seconds and call the block for each message. It works great for heckling (ok, maybe that’s not the intent):
room.listen do |m|
  room.speak "You're dumb!" if m[:person] == 'Brandon'
end

Check out my original post for more information about Tinder. Feedback and patches are welcome!

Thanks to Jesse Newland for the listening code.

posted by brandon | updated January 27th 01:29 AM | 11 comments

About

I'm Brandon Keepers, a web application developer that likes beautiful code, valid markup and adherence to standards. As a part of Collective Idea in Holland, Michigan, I practice Agile software development primarily using Ruby on Rails.

-86.103171 42.785037

Contact:

more ยป

Syndicate