Voicemail2twitter 206-203-4184
twitter.com/barcampdcaudio Voicemail gets emailed to a script, converted to mp3, and posted to a twitter account.
What you need <ul><li>Free k7.net voicemail to email account </li></ul><ul><li>Linux webserver </li></ul><ul><li>Ruby scri...
 
 
 
voicemail2twitter.rb <ul><li>#! /usr/bin/env ruby </li></ul><ul><li>require 'rubygems' </li></ul><ul><li>require_gem 'acti...
.forward file in user’s home <ul><li>cd ~ </li></ul><ul><li>vi .forward </li></ul><ul><li>|~/voicemail2twitter.rb </li></ul>
Inspiration <ul><li>Slapcast.com – for a few years now providing voicemail bridge to wordpress, typepad, blogger, etc. </l...
Upcoming SlideShare
Loading in …5
×

Voicemail2twitter

587 views

Published on

Ruby script that posts voicemail to your twitter account.

Published in: Technology
0 Comments
0 Likes
Statistics
Notes
  • Be the first to comment

  • Be the first to like this

No Downloads
Views
Total views
587
On SlideShare
0
From Embeds
0
Number of Embeds
55
Actions
Shares
0
Downloads
14
Comments
0
Likes
0
Embeds 0
No embeds

No notes for slide

Voicemail2twitter

  1. 1. Voicemail2twitter 206-203-4184
  2. 2. twitter.com/barcampdcaudio Voicemail gets emailed to a script, converted to mp3, and posted to a twitter account.
  3. 3. What you need <ul><li>Free k7.net voicemail to email account </li></ul><ul><li>Linux webserver </li></ul><ul><li>Ruby script: voicemail2twitter.rb </li></ul><ul><li>Postfix (sendmail, etc could work as well) </li></ul><ul><li>Free Twitter account </li></ul>
  4. 7. voicemail2twitter.rb <ul><li>#! /usr/bin/env ruby </li></ul><ul><li>require 'rubygems' </li></ul><ul><li>require_gem 'actionmailer' </li></ul><ul><li>require 'twitter‘ </li></ul><ul><li>43 lines of code with plenty of whitespace… </li></ul><ul><li>I’ll post the rest on blog.slapcast.com later this weekend! </li></ul>
  5. 8. .forward file in user’s home <ul><li>cd ~ </li></ul><ul><li>vi .forward </li></ul><ul><li>|~/voicemail2twitter.rb </li></ul>
  6. 9. Inspiration <ul><li>Slapcast.com – for a few years now providing voicemail bridge to wordpress, typepad, blogger, etc. </li></ul><ul><li>Dave Winer’s twittergram.com service </li></ul><ul><li>Slapcast.com code was written in perl but I’ve been doing more and more in ruby lately. </li></ul>

×