Home Plugins google reader widget
Google Reader Widget logo

Google Reader Widget

by sk33t on WordPress.org

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

(0)
Default Display

Default Display

Requirements

  • WordPress 2.2+ or 2.0.x/2.1.x with WordPress Widgets
  • PHP 4.3.0 or greater (needed for function file_get_contents)
  • Your Google Reader 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

    .

    The second part, called items end, is the ending of the widget. By default, this is:


Shared Items

The third part is what is called for each item. By default, this is:

  • %title%
  • 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
    Active installations30+
    Weekly downloads
    22+69.23%
    Version1.9.1
    Last updated3/4/2009
    WordPress version2.0.2
    Tested up to2.7.1
    Tags
    googleGoogle Readerreaderwidget