How I share Google Reader items in Twitter

So, I wanted to be able to tweet items from Google Reader. I know things like twitterfeed exist, but I decided I wanted to be able to tweet items from Reader, or share items into my standard shared items, or both. I found which descibed how to to it using a Greasemonkey script.

However, the script used tiny.url to shorten URLs. I wanted to use, so I rewrote the getTinyAndInsert function and added a function.

If you want to use this script, you’ll have to sign up for a API key. After you sign up, you should get a login and API key. Replace the getTinyAndInsert function in the Greasemonkey script with:

function getTinyAndInsert(event) {
  var thelongurl = url;
  var bitlyLogin = "BITLY_LOGIN";
  var bitlyAPIKey = "BITLY_APIKEY";
  var commandurl = "" + thelongurl + "&longUrl=" + thelongurl + "&login=" + bitlyLogin + "&apiKey=" + bitlyAPIKey
  urlinput.value = "making url tiny...";
		method: 'GET',
		url: commandurl,
		onload: function(responseDetails) {
			if (responseDetails.status == 200) {
				var myFoundArray = responseDetails.responseText.match(/[a-zA-Z0-9]+/g);
				if (myFoundArray != null) {
					urlinput.value = myFoundArray[0];
				else {
					urlinput.value = "error shortening";

Be sure to use your BITLY_LOGIN and BITLY_APIKEY. Save the google_reader_twitter.user.js and reload Google Reader.

The function can probably be improved, but it works for me. YMMV. Good luck.

If you use this, please follow me.

say cheese

Cruddy camera on my phone. But the smile makes up for it.

Carter’s missing his buddy Harley, who is back at the vet to have a small tumor cut off his eyelids.

By Air, Land, and Sea (err, lake)

Well, the dust has settled and life has resumed as we know it. We all have just returned from a very long awaited and very needed two week vacation. With Harley in tow, we all drove to Arkansas and dropped Carter off with Boppa and Grammy (Will's parents). He had a blast playing with his cousins, swimming, and becoming addicted to chocolate milk. Meanwhile, Will and I departed for 4 days to Las Vegas to celebrate our 10th anniversary.

Thanks to Aunt Betsy, Will's youngest sister, who lives there, we had the most wonderful time. She graciously offered us her car and her home to make our trip very convenient.

The highlights from our trip included getting all dressed up to see the Phantom of the Opera, eating fancy gourmet food, rocking out to the awesome Beatles show "Love" – Cirque De Solei, and for me, melting away with my relaxing spa day.

Though we had a great time, we definitely missed our sweet boy. I couldn't fight back the tears as the airport escalator revealed his precious smile when he saw us standing at the top. That kind of reunion was truly priceless. After tons of tears, hugs, and kisses, we all drove back to Grammy and Boppa's house in Jonesboro.

We packed all over again and all headed to Mountain Home, Arkansas to enjoy our family's little blessing – the lakehouse. We spent a whole week with all of the family swimming, playing, laughing and enjoying the beauty of God's creation. Carter got to ride in a boat and a jet ski for the first time. He didn't like it as much as he thought he would. Harley got to swim and was in absolute heaven. Will got to enjoy endless hours of Guitar Hero on the Wii, and I just enjoyed relaxing.

Though fun was had by all, we were all glad to be home. We want to especially thank Aunt Bets for all of her advice and hospitality, The Guerry family for mid-trip housing both there and back, and most of all Boppa and Grammy for caring for our precious son and dog for four days (and nights)so that we could enjoy some special time together. You all made our summer!