Archive | Ruby

Google Reader Starred items to

I use from Reinvented Software as my archiving solution – my knowledge base. I like the product because it leaves the pdfs I create on the filesystem and the db contains the tags and links associated with each file. I used to use Yojimbo, but it keeps all the files in their database. I am not sure it is that big of an issue (especially because we are considering SharePoint as a document management system!), but I am living with I just need a way to get my data to my iPhone – but that is another issue.

My information consumption workflow starts in Google reader, and Reeder for the iPad and iPhone, and ends in Interesting items are “Starred” in Google Reader, and I needed a way to get the starred items to I could not find a way to do it in bulk until I ran across this post explaining how to dump your starred items to a html document. I took the script a little further and I used apple script to import the url into


require "rubygems"
require "open-uri"
require "simple-rss"
feed = ""
rss = SimpleRSS.parse open(feed)
rss.entries.each do |item|
puts "Downloading: #{item.title.sub( ":", "-" )}\n"
%x(osascript -e 'tell application \"Together\" to import url \"#{}\" as web PDF')

Make your starred items public, and change the “0000000000000000000000” to your user id (as described in the the original post). Run it, and 50 starred items at a time will be added to your
My colleague suggested that I unstar the item automatically after added to Together, but I will have to sit down and figure that out.

Powered by WordPress. Designed by WooThemes