(Update: The original bug has now been fixed. I also noticed Johnny K figured out the code required to remove the styling. However, I prefer the output and options offered by FeedBurner so I’m going to stick with my method).
When I started using Google Reader I saw a really nice feature that I was keen to use; Shared Items. For each news item Google Reader provides a “share” button that when clicked adds the item to a public page belonging to the user. For example, here’s mine. Users may create multiple pages for different categories and share their pages with family and friends. They may also incorporate the these items on their own pages by including Google-provided JavaScript.
It was this last feature that I was most interested in. Before now, items in my “Shared News” list have been manually created using mini-blog entries with a special category and some custom code. I thought that by switching to Google Reader’s Shared Items I would save myself a great deal of time - while reading feeds it would only take a single button click to publish items of interest to my shared page. Cool!
However; Although it was easy to use the JavaScript provided by Google Reader to display my shared items, giving them a look and feel consistent with the rest of my main page proved to be virtually impossible.
Google Reader offers several pre-canned color options for published news items. Amongst these is a ‘none’ option that, I assume, is intended to emit the list of items using only HTML tags. Unfortunately selecting this option has no effect on the JavaScript that’s generated, and attempting to manually tweak the code to use the ‘none’ style results in the list of items failing to display. While it’s possible to modify aspects of the provided styles via CSS and judicious use of the ‘!important’ tag, others style attributes seem impossible to change.
Luckily there’s an easy workaround using FeedBurner and only a little effort. In about 10 minutes you’ll be able to include Google Reader’s Shared Items on your site with any CSS you desire.
- Add the RSS Feed from your Shared Items to a new or existing FeedBurner account.
- Within FeedBurner, from the ‘Publicize’ menu select BuzzBoost and choose the display options you desire.
- Paste the JavaScript from BuzzBoost into your webpage and use the provided guide to customize the appearance. Wrapping the items in a specific div and modifying the header and ul/li tags takes care of most of the work.
- Should you wish to hide the FeedBurner icon at the bottom of the list, simply add the ‘display:none;’ attribute to the img tag within your Shared Items div.
Voila!
I’m sure the Google Reader team will address the problems with the Shared Items formatting sometime in the future, but given the (surprising) lack of comments about this on the Google Reader Groups I’m not sure what the priority will be in the great scheme of things. In the meantime it’s nice to have an easy to implement workaround for a great feature.





2006/10/18, 06:50
I wonder whether there’s any simple way to add a one specific item from someone’s feed into my shared items but not necessarily subscribe to this feed first?
2006/10/18, 10:46
No, there doesn’t seem to be. I would really like to be able to mix & match the contents of my Google Reader shared feed with items I find myself, but without using a second list that pulls items from Wordpress there isn’t a way to do this.