This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/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) |