ace’s blog

a place for me to record events in my life.

ace’s blog header image 2

Showing shared items from Google Reader in the sidebar

December 19th, 2007 · Comments · Blogging, Web Development, Website, WordPress Plugin, XML

I’ve been trying to make use of the Shared Items in Google Reader and show them on my blog. I’ve tried a couple of different RSS widgets without success, until this morning.

I found a widget that will display the feed correctly. It is called Google Reader widget and was written by James Wilson.

The problem with using the pre-installed RSS feed widget from Wordpress was that the URL linked is malformed and if clicked, would take the user to a page that did not exist, resulting in an error page. For example, one of my shared items is a post that I wrote when we found out the gender of our new baby (which is a boy :D). From the pre-installed RSS widget, the following URL is linked: “http://feeds.feedburner.com/~r/acedanger/~3/173558267/http://www.acedanger.com”; from  the new widget, the URL linked is “http://feeds.feedburner.com/~r/acedanger/~3/173558267/”.

The reason for the malformed URL is because of the formatting of the XML produced. The pre-installed widget is expecting the XML to be formatted according to the RSS 2.0 standard but  the XML produced by the Google Reader Shared Items feed is in the Atom standard.

That’s about as technical as I get. I know there is a difference but don’t care to be bothered with the details (not right now anyway).

Tags: , ,

Tags:

Trackbacks

blog comments powered by Disqus