WordPress Google Reader Widget

Number 3 in Widget-A-Day is a Google Reader widget.

This widget will display your latest shared stories. You can change the amount of stories to display and how to display them.

UPDATE- 1.1, 1.2

Download googlereader.zip

Default display:
googreader1cropped.png

Admin panel:
googreader2cropped.png

Download googlereader.zip

SVN Checkout
svn co http://svn.wp-plugins.org/google-reader-widget/trunk

Requirements

Installation

  1. Download googlereader.zip
  2. Extract and upload googlereader.php to the plugins/ directory
  3. Enable Google Reader in the Plugin admin panel
  4. In widget admin panel, place Google Reader in the sidebar, and edit it to enter your user id

Features

  • Displays your latest shared items from Google Reader
  • Completely customizable display
  • Caching for large traffic sites


User ID

In order to get your shares, you need to know your user id according to Google Reader. This can be found by going to the ‘Shared Items’ link, and copying the 20 digit number at the end of your shared items link.

So something like:
http://www.google.com/reader/shared/02774557510273097991
Where 02774557510273097991 would be my user id.

Formatting

There are 3 parts needed to format the output.

The first part, called items start in the admin panel, is the first part of the widget after the title. For the default formatting, this is just <ul>.

The second part, called items end, is the ending of the widget. By default, this is:
</ul>
<a href="%googlereader%" style="float:right;">Shared Items</a>

The third part is what is called for each item. By default, this is:
<li style="list-style-type: none;"><a href="%link%">%title%</a></li>

The premise of calling each value is this:

  1. start
  2. item
  3. item
  4. item
  5. end

The formatting for items is:

  • %link% - Link to the item
  • %title% - Title of the item
  • %site% - The title of the site the item is from
  • %sitelink% - The link to the site the item is from
  • %number% - The number of the current item
  • %comment% - The comment (note) made when sharing an item

The formatting for start and end is:

  • %googlereader% - Link to your Google Reader shared page
  • %count% - Number of items shown
  • Download googlereader.zip (googlereader.tar.gz)

    New Version

    I’ve made a new version based on suggestions form the comments. This one will allow you to link to just the originating site. This adds two new variables the style can use.

    • %site% - The title of the site the item is from
    • %sitelink% - The link to the site the item is from

    This has been merged with the current version.


    96 Comments to “WordPress Google Reader Widget”

    1.  Widget Test » Blog Archive » Example Widgets | May 30, 2007 @ 1:17 pm

      […] WordPress Widget WordPress Last.fm Widget Widget WordPress Google Reader Widget WordPress Countdown Widget WordPress Weather […]

    2.  Dennis | June 9, 2007 @ 12:27 pm

      I just installed this widget, and it works like a charm. But is it possible to get it to show the name of the blog for each item?

    3.  ah_skeet | June 9, 2007 @ 12:58 pm

      Just made a version that does.

      Download the new version, and you can use the variables %site% and %sitelink% to access the site name and url.

      More info - http://nothingoutoftheordinary.com/2007/05/26/wordpress-google-reader-widget/#newversion or just scroll up a little bit

    4.  Dennis | June 9, 2007 @ 1:15 pm

      Cool, thanks!

    5.  Mazoo | June 17, 2007 @ 10:49 pm

      Hi,

      I’m new to WordPress and have no coding experience, but I’ve done a good job in following instructions to fix problems with building my blog so far. The Google Reader widget you’ve designed works wonderfully on my blog, but I’m having a problem with “& g t ;” appearing where a “>” should appear on news feeds I’ve posted? (As in “NY Times > Home Page” reads NY Times & g t ; Home Page) You can see it at:

      grottomazoo.com

      Any help you can offer would be appreciated.

    6.  ah_skeet | June 17, 2007 @ 11:32 pm

      Mazoo, your blog’s DB is down, but I found and fixed the problem.

      For the RSS feed, all &’s are changes to &amp;, so I changed it to replace all instances to just &, but it’ll go back through to make sure the & wasn’t just an &amp;

      I added this on lines 58-59:

      $stories = str_replace("&amp;", "&", $stories);
      $stories = preg_replace("/&(?!(amp|[#0-9] |lt|gt|quot|copy|nbsp);)/ix","&amp;",$stories);

      Just download the files again, and replace googlereader.php with the new version.

      Let me know if you encounter any other problems.

    7.  Steve Casey | June 18, 2007 @ 11:34 pm

      I have created a new Google Reader widget that uses RSS and a widget text box in WordPress. You don’t need to do any programming to support it. All the steps are on my site - http://www.chimp-simple.com/2007/06/18/6-steps-to-creating-a-google-reader-rss-widget-in-wordpress/

      Enjoy,
      S

    8.  ah_skeet | June 18, 2007 @ 11:49 pm

      Steve, you didn’t really create anything. You’re just using what is automatically generated by Google Reader and copying it into a text widget. That relies on Javascript, which means a longer loading time and won’t always work. Plus, only so much can be done with it.

      And you don’t need any programming knowledge to use this. Knowing HTML can help if you want to customize it though.

    9.  micke | July 4, 2007 @ 8:46 am

      This widget looks really interesting, but I can’t get it to work. I uploaded it, activated it and I can drag and drop and configure it in the widgets-management. It shows up correctly, and the link to my shared page that is placed at the end is correct - but no items show up at all in the sidebar (except for the “title”, “items start” and “items end”-code.

      I have shared four items, which are displayed on my shared items page in Google and when I check the feed from Google, it contains data. Anyone else had this problem?

    10.  micke | July 4, 2007 @ 9:53 am

      Ahem. Nevermind. My hosting provider turned off file_get_contents(); for security reasons. I changed the code to use curl(); and voila!, it works.

      Thanks for a great widget!

    11.  Norm Gregory | July 21, 2007 @ 10:21 pm

      What this is the significance of the “Cache Time?”

    12.  ah_skeet | July 22, 2007 @ 3:46 pm

      It’s just the interval that it will check your shared items RSS feed.

      If you set it to 0 or -1, it’ll check every page load, which will slow down the page loading time since it has to request and parse the content, instead of just echoing the cached content.

      3600 means it won’t check updates if it has checked less 1 hour (3600 seconds) ago. It should be good time for most people.

    13.  Norm Gregory | July 22, 2007 @ 4:09 pm

      Makes sense. Thanks for the response. And congrats a very nice, easy to use, plug-in. I tried a couple other Google Reader feed widgets. None were as nicely laid out or easy to install/administrate as yours.

    14.  ah_skeet | July 22, 2007 @ 4:25 pm

      Great. Glad you like it.

    15.  Mike Pirnat | July 23, 2007 @ 11:10 am

      Very cool - this solves the problem with parsing Atom correctly. Any chance this can get support for multiple widget instances, instead of only getting the one?

    16.  Sleep Interrupted » Blog Archive » The turn of the screw | July 26, 2007 @ 2:35 pm

      […] may be losing the war at the moment but there’s one battle I can win: With some help from the Google Reader Widget for WordPress I’ve added the contents of my news feed to the right-hand side of the blog. […]

    17.  ah_skeet | July 26, 2007 @ 3:22 pm

      Mike, thought I responded earlier to your comment, but yes, there should be a multiple widget version soon. I’ve been working on one for the YouTube widget. Once I get that working and finding the best/quickest way to implement it, I’ll probably start adding it to each widget.

    18.  kismitt | August 6, 2007 @ 2:02 pm

      Google Reader for your cell phone.

      Asterbox.com announces the beta release of their Java mobile platform. They have openly declared what many users have felt: surfing the web on a mobile device is a disappointing experience. Their claims that the internet on the phone is dead, but can live on through web services have been embodied in the Asterbox mobile platform. The Java-based platform utilizes web APIs to deliver content and interactivity to end users in a new and innovative way. The software currently provides access to the Google Reader service, but more functionality is in the works.

    19.  jpb | August 8, 2007 @ 11:08 am

      i’m trying to use the Google Reader Widget, and getting this error: Warning: file_get_contents(http://www.google.com/reader/public/atom/user/10503069598462794774 /state/com.google/broadcast?n=9): failed to open stream: HTTP request failed! HTTP/1.0 404 Not Found in /html/wp/wp-content/plugins/googlereader.php on line 55

      line 55 is

      $stories = file_get_contents($uri);

      so i thought that maybe this was the same problem as micke’s hosting problem. But when I replace file_get_contents with curl();, it gives me another error:

      Fatal error: Call to undefined function: curl() in /html/wp/wp-content/plugins/googlereader.php on line 55

      Any ideas?

    20.  jpb | August 8, 2007 @ 11:51 am

      micke, can you tell me a little more about using curl();? do you have to load libraries or anything? i tried changing the “file_get_contents()” to “curl()” and its not working…

    21.  ah_skeet | August 8, 2007 @ 12:24 pm

      jpb, from the looks of it, it seems you have a space after your user id which makes the url actually http://www.google.com/reader/public/atom/user/10503069598462794774%%20/state/com.google/broadcast?n=9. (only 1 %, since WordPress changes %20 automatically to a space) which doesn’t exist, but http://www.google.com/reader/public/atom/user/10503069598462794774/state/com.google/broadcast?n=9 does work.

      Make sure your user id doesn’t have an extra spaces or new lines or anything at the end (or beginning). It’s saying the actual url is returning a 404, so it not really the function having problems, and using curl, you should still run into the same problem.

      To make sure you don’t have that problem, you can change:

      $userid = urlencode($options['userid']);

      to

      $userid = preg_replace("/[^0-9] /ix", "", $options['userid']);

      It will remove all non-numeric characters.

      And to use curl, you don’t just use a curl() function, or at least I don’t think you do.

      Pretty sure you would have to do something like:

      $curl_handle=curl_init();
      curl_setopt($curl_handle,CURLOPT_URL,$uri);
      curl_setopt($curl_handle,CURLOPT_CONNECTTIMEOUT,2);
      curl_setopt($curl_handle,CURLOPT_RETURNTRANSFER,1);
      $stories = curl_exec($curl_handle);
      curl_close($curl_handle);
    22.  jpb | August 8, 2007 @ 12:36 pm

      ah_skeet, yr a saint. Good catch on the trailing space, and thanks for taking the time to lay this all out for me. Be assured that I’ll come to you every time I have a technical problem. ;-)
      Thanks again!

    23.  ah_skeet | August 8, 2007 @ 12:47 pm

      Haha, no problem.

      Also, I thought I had fixed this, but somewhere down the line, I broke it again.

      In Widget Formatting, change %site to %site% to display the site name instead of %site.

    24.  jpb | August 8, 2007 @ 12:51 pm

      Thanks again! I’ve been poking around, trying to figure that “%site% problem just now. The trailing “%” did the trick.

    25.  links for 2007-08-17 at Chris Dalby Untangles Networks | August 17, 2007 @ 6:25 pm

      […] Nothing to see here… » WordPress Google Reader Widget Wordpress google reader shared items widget. Works great. (tags: googlereader widgets wordpress) […]

    26.  Jon | August 27, 2007 @ 11:57 pm

      FYI, those who are on a host that doesn’t allow file_get_contents…

      here’s the exact code you need to slap in there:

      // replacing with cURL
      $ch = curl_init();
      $timeout = 5; // set to zero for no timeout
      curl_setopt ($ch, CURLOPT_URL, $uri);
      curl_setopt ($ch, CURLOPT_RETURNTRANSFER, 1);
      curl_setopt ($ch, CURLOPT_CONNECTTIMEOUT, $timeout);
      $stories = curl_exec($ch);
      curl_close($ch);

      //$stories = file_get_contents($uri);

    27.  Ivo Silvestro | September 12, 2007 @ 2:23 pm

      I think on line 47
      echo $before_widget.$widgettitle.$options['cache'].$afterwidget;
      should be
      echo $before_widget.$widgettitle.$options['cache'].$after_widget;

      Bye!

    28.  ah_skeet | September 12, 2007 @ 5:11 pm

      @Ivo, right, it should be, but I thought I had fixed that a few versions ago.

    29.  Ivo Silvestro | September 13, 2007 @ 8:03 am

      Sorry but on line 47 of a fresh downloaded version of the plugin I read $afterwidget and not $after_widget…

    30.  Simplicity is Clarity » Blog Archive » Fixin’ Shit | September 13, 2007 @ 7:37 pm

      […] All of the weird plugins I’m using now. Dagon Design Sitemap Generator, FeedBurner FeedSmith, Google Reader widget, Google Sitemaps, PXS Mail Form (modified for Akismet), Twitter widget, Wordpress.com Stats (which […]

    31.  Lawrence Salberg | October 9, 2007 @ 1:33 pm

      Thanks for this. Tried two others that didn’t have the code that you did for parsing out curly quotes and other sundry HTML nonsense. Very nicely coded and quite handy for simple stuff, or even more complex. Finally someone beat Google at their own game. Thanks a million. I owe you!

    32.  posthumous | October 13, 2007 @ 5:59 pm

      Thanks for this great plugin and thanks to ah_skeet for the workaround.

    33.  Ali | October 24, 2007 @ 1:10 pm

      you rock. seriously. i’ve been messing with rss widgets and feedburner and other crap, all to no avail. this widget worked like a freaking charm. thank you!

    34.  Jonathan | November 2, 2007 @ 9:21 am

      I was wondering if this plugin has been tested with WP 2.3.1? Or if their are hacks to make it run?

      I love the idea, and would love to see it progressing. I would be of more help, but my programming skills are novice at best.

      Thanks for your time.

    35.  ah_skeet | November 2, 2007 @ 9:39 am

      Not been tested, but I think it would work. I don’t think they changed too much, especially in the widget part, with the version change.

    36.  Mike | November 19, 2007 @ 1:22 pm

      Nice! Works like a charm. I was having a lot of problems with the RSS widget. It was taking the URL from the item link and summary xml:base and concatenating them together.

      Anyway, Thanks!

    37.  WordPress Google Reader Widget :: Jason David Pelker | November 19, 2007 @ 1:31 pm

      […] together. I realized this must be a Google-side issue but a quick web search brought me to the WordPress Google Reader Widget. You can see the results in the sidebar. […]

    38.  Interesting websites for SEO, Web Marketing and everday work from Sante - November 29th | November 29, 2007 @ 7:31 pm

      […] Nothing to see here? » WordPress Google Reader Widget - This widget will display your latest shared stories. You can change the amount of stories to display and how to display them. […]

    39.  wicks picks - :: for the 3 people who read this, I salute you » Blog Archive » Google Reader is saving the environment | November 30, 2007 @ 10:08 pm

      […] first one found was the Google Reader sidebar widget for Wordpress. It’s straightforward. Input your Reader ID, # of articles to display, cache time, maybe […]

    40.  Länklista + passinfo | Åsiktstorped | December 1, 2007 @ 6:16 am

      […] Jag använder en widget för att presentera de inlägg jag delar ut från Google Reader, kallad Google Reader Widget. Om någon är intresserad av den och har Loopia som leverantör behövs ett hack i filen, eftersom […]

    41.  Jonathan | December 2, 2007 @ 3:36 pm

      As far as I can tell it doesn’t work with 2.3.1…if there is a way to get this to work I would be very interested as I love the idea.

    42.  micke | December 2, 2007 @ 3:46 pm

      Jonathan: doesn’t it work for you? I upgraded my installation last week, and I’m running the Google Reader Widget without any problems. Did it work for you before upgrading to 2.3.1?

    43.  Charl Botha | December 15, 2007 @ 5:04 pm

      Thanks for making this! I’d like to use other Google Reader public feeds (i.e. not always just the Shared Items). Are you planning changes like this, or should I take a bang at it using your code? How are the multiple widget changes coming?

    44.  Charl Botha | December 15, 2007 @ 5:32 pm

      Okay, I’ve hacked together a version that takes an arbitrary Google Reader public feed instead of a userid. I’ve put it up at http://cpbotha.net/thingies/googlereader_arb_feedurl.zip if anyone’s interested.

    45.  Showing shared items from Google Reader in the sidebar | December 19, 2007 @ 9:18 am

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

    46.  James | December 21, 2007 @ 1:34 am

      @ Charl,

      I wasn’t really planning on doing really any changes, unless Google did something to break it.

      The multiple widgets thing were coming, but th way I was doing it got broken in one of Wordpress’s updates. I’ll try working on this break.

    47.  Confessions of an addict · cpbotha.net | December 31, 2007 @ 9:44 am

      […] in which case your latest posts will appear, via Google Reader, on my sidebar.  I modified the Google Reader plugin so that it can show an arbitrary feed, not just your Shared Items (see my comments on that post for […]

    48.    Google Reader is saving the environment | The Butter Room | Conversations about Technology, Sports, and Media | January 17, 2008 @ 10:03 pm

      […] first one found was the Google Reader sidebar widget for Wordpress. It’s straightforward. Input your Reader ID, # of articles to display, cache time, maybe […]

    49.  My favourite WordPress plugins » DamienG | February 11, 2008 @ 8:54 am

      […] Google Reader widget adds a sidebar widget to show the stories you have chosen to share in your sidebar so no need for the annoying link-list posts (unless you need to add opinion or commentary of course). Configurable via Plugins > Google Analytics. […]

    50.  A list of the most useful Wordpress plugins | February 21, 2008 @ 8:57 am

      […] Google Reader widget […]

    51.  Helpedia - Blog » Blog Archive » Plugins und Widgets auf dem Helpedia-Blog | February 21, 2008 @ 6:07 pm

      […] Google Reader Widget Ein weiteres, wie ich finde, großartiges Plugin, welches es per Text-Widget ermöglicht, in der […]

    52.  -20 | March 15, 2008 @ 11:12 am

      At the end of every link ‘/fromfeed’ is added so I alway direct people to a 404.

      My bad maybe, but I’m missing what I did wrong

    53.  James | March 16, 2008 @ 9:31 pm

      It’s probably because of an error in the script. On line 47, it should be $after_widget (Thanks Ryan). I had fixed it before, but it slipped back in. You can either change it or download it again and you shouldn’t have that problem. If you still do, it’s probably something else and I can look into it.

    54.  -20 | March 20, 2008 @ 7:38 pm

      Hey James,

      Thanks for that quick response, the solution however didn’t work. The ‘/formfeed’ is still around.

      If you could check the thing out in the wild on my site, don’t rush, I’m patient.

      Thanks again,

      Ger

    55.  -20 | March 21, 2008 @ 5:14 pm

      Hey James,

      No need to look further, problem solved. Shared one item from particular site, think this site adds ‘/fromfeed’ themselves.

      Won’t be shared any longer.

    56.  Invite unknown bloggers to your blog using social media! | ReviewSaurus - The Techie Dino! | March 28, 2008 @ 4:43 pm

      […] Google Reader : This excellent widget displays your recent shared items in Google reader. Google reader is my […]

    57.  Svensk nybörjarguide till Wordpress 2.5 | Åsiktstorped | March 30, 2008 @ 3:35 pm

      […] Google Reader Widget - Denna ser till att jag snyggt kan lista alla inlägg som jag delat med mig av i min Google Reader. När jag läser något jag tycker att andra ska läsa, delar jag ut det och det dyker automagiskt upp i “sidebar” (högerspalten) på http://www.asiktstorped.se/inspiration […]

    58.  thesimplicity | April 16, 2008 @ 6:05 pm

      I can’t get this to work for the life of me. The widget displays fine but no stories show up. I’ve double checked all the user variables, I’m running wordpress 2.5 and PHP 5, so I’m not sure what could be wrong.

    59.  acedanger | April 22, 2008 @ 11:02 am

      I’m having the same problem thesimplicity is describing

    60.  jayncoke | April 30, 2008 @ 11:18 am

      same thing happening for me as thesimplicity and acedanger. would love to see this working…

    61.  James | April 30, 2008 @ 5:49 pm

      Can any of you give me a screenshot or just the values in your widget admin panel?

      If you don’t want to put it here, you can send it to j{at}meswilson.com

    62.  acedanger | April 30, 2008 @ 6:33 pm

      check it out at http://dfktv.com/2008/04/google-reader-widget-admin-panel/

    63.  James | April 30, 2008 @ 7:54 pm

      Uggh, that’s disappointing. Just tried a fresh 2.5.1 install. No problem.

      Maybe a list of your plugins installed or phpinfo() or something. Maybe file_get_contents is returning “” for some reason.

      You could try something like:

      <?php
      header("Content-type: text/xml");
      echo file_get_contents('http://www.google.com/reader/public/atom/user/01748055517437296386/state/com.google/broadcast');
      ?>

      And see if it outputs this.

      If it doesn’t or just nothing, then it’s file_get_contents.

      Same config:
      http://nothingoutoftheordinary.com/gr-sized-1.png
      Results:
      http://nothingoutoftheordinary.com/gr-sized-2.png

    64.  acedanger | April 30, 2008 @ 9:14 pm

      code on my site does not output the same thing as the your site: http://www.dfktv.com/file_get_contents.php. from the output, file_get_contents is disabled. I’m using dreamhost.

      here is my phpinfo page http://www.dfktv.com/phpinfo.php

    65.  acedanger | April 30, 2008 @ 9:16 pm

      looks like file_get_contents is disabled (using dreamhost) http://www.dfktv.com/file_get_contents.php
      phpinfo page - http://www.dfktv.com/phpinfo.php

    66.  acedanger | April 30, 2008 @ 9:34 pm

      file_get_contents is disabled apparently: http://www.dfktv.com/file_get_contents.php
      here is my phpinfo page http://www.dfktv.com/phpinfo.php

    67.  James | May 1, 2008 @ 3:57 am

      Then that’s the problem. Earlier in the comments there is a way to make it work with curl instead of file_get_contents.

      I was planning on making it an option to use whichever, but haven’t yet gotten around to do it. Depending on what I’m doing tomorrow, I might do it then.

    68.  acedanger | May 1, 2008 @ 4:45 am

      sorry for all of the duplicate posts, I was having some website issues last night with posting…

    69.  thesimplicity | May 2, 2008 @ 9:54 am

      ack, I’m on Dreamhost as well. I had no idea they disabled file_get_contents by default. I’d LOVE a version of this that uses cURL.

    70.  countnazgul.com » Blog Archive » Diigo bookmarks 05/06/2008 (p.m.) | May 6, 2008 @ 5:37 pm

      […] Nothing to see here… » WordPress Google Reader Widget […]

    71.  Velanche | May 9, 2008 @ 9:05 pm

      Hi There:
      This widget looks promising. The problem is that I’m working with a 3-column theme that’s supposed to be widgetized. Whenever the widget is turned on and place, it totally replaces the sidebar with the widget and, thus, effectively rids of the other items on my sidebar.

      If I understand the theme that I’m working on, the two sidebars (right and left) start off “after the divs) with a class for each sidebar, yet the class names aren’t in the CSS itself.

      I’d love to use the widget, or at least be pointed to a similar plugin. Oh, I am using WP 2.5 on a production machine.

      Thanks; hope to hear from you,
      Velanche

    72.  [scribkin] Scribkin’s WordPress Plugins - Let Me Show You Them | May 17, 2008 @ 2:42 pm

      […] Google Reader widget […]

    73.  Fred | May 19, 2008 @ 12:21 am

      Weirdly, it seems that if the title for the box is too long, access to the admin panel is lost.

    74.  dimon_prodigy | June 4, 2008 @ 1:41 pm

      Is there a version for WP2.5.1?

    75.  Ben Wagaman | June 14, 2008 @ 1:22 pm

      If you want to use CURL on DH, replace:
      $stories = file_get_contents($uri);

      with
      $ch = curl_init();
      curl_setopt ($ch, CURLOPT_URL, $uri);
      curl_setopt ($ch, CURLOPT_RETURNTRANSFER, 1);
      curl_setopt ($ch, CURLOPT_CONNECTTIMEOUT, 5);
      $stories = curl_exec($ch);
      curl_close($ch);

    76.  acedanger | June 16, 2008 @ 7:04 pm

      Thanks Ben, that worked as expected. Of course, as I was editing the code, I happened to look in the README file and saw those exact instructions.

    77.  Brian | June 17, 2008 @ 9:27 pm

      I’ve just started using this widget a few days ago on my brand new WordPress blog. I’m in the process of moving my BlogSpot blog over, and had to find a replacement for the Google Shared Items. So far… it’s ok, but I’m having problems. It seems that when I share items, then go look at my blog to ensure they’re showing up - they’re not. I have to edit the widget, make a change (or I just discovered not even change anything), then click Change, and Save Changes, then when I refresh my blog the newly shared items appear. This is on WP 2.5.1. Anybody else seeing this, or have a clue how to fix it?

    78.  James | June 17, 2008 @ 11:51 pm

      @Brian, That’s probably because the results are cached (default 60 minutes or 3600 seconds). You can turn off caching by setting cache time to 0 or -1, which will request the shared items feed every page load. Or you can just lower it to something like 15 minutes or 900 seconds to have it update more frequently.

    79.  dimon_prodigy | June 18, 2008 @ 1:04 am

      Anybody know - how to display ALL latest stories from Google Reader, not only SHARED?

    80.  Schulte | July 2, 2008 @ 1:03 pm

      James, are you planning on adding the ability to designate a tag so users can show certain shared items?

    81.  James | July 2, 2008 @ 10:59 pm

      @Schulte, updated. Only one tag is supported though. If you can have a multiple tags on the RSS feed, let me know.

    82.  Leonaut.com | July 3, 2008 @ 9:16 am

      WordPress Google Reader Widget…

      This widget will display your latest shared stories. You can change the amount of stories to display and how to display them….

    83.  Timmy | July 3, 2008 @ 8:32 pm

      Any Idea? It was working on wp 2.5.1 until I upgraded to 1.6 yesterday.

    84.  Timmy | July 3, 2008 @ 9:08 pm

      I managed to revert this to version 1.5 and it works on WP 2.5.1

    85.  James | July 3, 2008 @ 10:22 pm

      @Timmy, I did it wrong. I thought since I only changed a few lines, I couldn’t screw it up, so I didn’t test it.

      I fixed it. I tested it on a fresh install of 2.5.1, and it seemed to work. So you can upgrade to 1.7, and it should be good.

      If you aren’t going to use the tag functionality though, you can keep using 1.5. But I did find that since it had extra whitespace after the ?>, it caused an error after saving the widget configuration.

    86.  chris | July 4, 2008 @ 7:07 pm

      Is there a way to have a clicked link open in another tab/window for this widget? I want to share my shared google items, but don’t want people to leave my page. Thanks.

    87.  James | July 4, 2008 @ 7:35 pm

      @chris, add target="_blank" after the href="..." in items end and item.

      So, something like <a href="%link%"> would become <a href="%link%" target="_blank">

    88.  Schulte | July 6, 2008 @ 8:39 am

      James, that did it. Thanks. For your consideration — how about adding support for multiple Google Reader Widgets (see Flexi Pages widget for an example)?

    89.  SKaLATaRNET » Blog Archive » Extra plugins | July 6, 2008 @ 2:37 pm

      […] Google Reader widget […]

    90.  Petyo | July 20, 2008 @ 10:42 pm

      Patch to show user comments:

      Removed. See next comment

    91.  Petyo | July 20, 2008 @ 10:44 pm

      Somehow the previous comment did not work as I expected, so here is the patch with user comments:

      http://underlog.org/googlereader.patch

    92.  James | July 21, 2008 @ 1:15 am

      Yeah, Wordpress destroyed that comment formatting.

      Nice work. Added it to the main version.

    93.  Chris | July 21, 2008 @ 11:16 pm

      James thank you so much! It worked - guess I need to brush up on my HTML

      Chris
      http://www.politicalpitstop.com

    94.  Out of the Woods » Having Fun | July 31, 2008 @ 9:18 am

      […] administration tool, and I was able to add links to my Google Reader shared items by dropping a plugin in the right spot. If you’re a blogger, or are thinking of starting, and run your own server, […]

    95.  Gioxx’s Wall » Blog Archive » Wordpress: di plugin e funzionalità | July 31, 2008 @ 9:38 am

      […] Google Reader widget […]

    96.  Andrew | August 1, 2008 @ 2:51 pm

      This is a great plugin! I know it’s been a while since you’ve been making a widget a day, but widgets that showed delicious links and facebook posted items would be stellar. Keep up the good work.

    Leave a Reply


Close
E-mail It