Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
A simple Tropo script and Sinatra app to record podcasts and send to Posterous
Ruby
branch: master

Fetching latest commit…

Cannot retrieve the latest commit at this time

Failed to load latest commit information.
.gems
.gitignore
README.md
config.ru
example_posterous.yaml
phone2post.rb
phone2postTest.rb
test.mp3
tropo.rb

README.md

Phone2Post

A simple Tropo script and Sinatra application which records a podcast over the phone and then posts the mp3 to Posterous

Install

For the server: clone this repo, copy example_posterous.yaml to posterous.yaml and edit as shown below. Push to Heroku.

For the telephony part: upload tropo.rb to Tropo, and change the URL to point to your server.

Configuration

Edit posterous.yaml as shown below:

--- 
"0000": 
    username: myemail@domain.com
    password: mysecretpassword
    site_id: posterous_site_id

where posterous_site_id can be found by executing:

curl -u myemail@domain.com:mysecretpassword http://posterous.com/api/getsites

Operation

  1. Phone the number provide by Tropo
  2. Listen to the prompt and enter your 4 digit PIN code
  3. When prompted, record your podcast and press # to post
  4. Tropo will send the mp3 file to your Sinatra app, which will send it to Posterous, which can autobroadcast it to the world!
Something went wrong with that request. Please try again.