Skip to content

Instantly share code, notes, and snippets.

@reecejn
reecejn / postfromgooglereader.rb
Created January 14, 2012 12:36 — forked from danwoolley/postfromgooglereader.rb
Post from Google Reader to Wordpress blog
#!/usr/local/bin/ruby
# Get from your personal Google Reader public share.
# Post to your WordPress blog.
# Written by Dan Woolley on 9/8/07 for http://tzetzefly.com
# Command line: ruby postfromgooglereader.rb <post_type> <days_back>
# where <post_type> is 'draft', 'live', or 'test' (default is draft)
# and <days_back> is number of days back to get from Google Reader (default is 1)