This plugin hasn’t been updated in over 2 years. It may no longer be maintained or supported and may have compatibility issues when used with more recent versions of WordPress.

Google Shared Contents

Description

Plugin allows you to publish your shared contents which you shared
with your ‘Google Reader’ account, by using your ‘Google ID’.

Just feel free to develope this plugin yourself.
For more information you can contact with me:

URL: www.samkon.org
mail: guardian@samkon.org

Clues

* You may want to use the plugin on more than one area on your site. So you may want to have different content count number for different areas on your site. You can use the count number you want instead of “defined” expression seen above. For example if you want to display last 5 shared contents you can use the function seen below:

<?php if (function_exists('load_google_sharings')): ?>
<?php load_google_sharings('5'); ?>
<?php endif; ?>

In this way plugin will skip the default count number you typed in your control panel and use the expression you give in function.

Warnings

The most important thing: You can get trouble with PHP 4 versions. Plugin may not work. This site runs on a PHP 4 server and a reason that I couldn’t solve yet causes fail. I will give more information about that when I try it on different PHP 4 servers. Also If you try and tell me the result I will be glad.

Plugin uses SimpleXML libraries that is supported by PHP 5. Nothing went wrong with it yet.

Screenshots

  • Noting something from a webpage to google reader.

Installation

  • download google-sharings.zip file and unzip it. Than put the unziped folder into “wp-content/plugins/” folder.

    • activate the plugin from your WP control panel.
    • Type your Google ID and the content count number will be displayed on your site by clicking “Options“, than “Google Sharings” from your control panel.
    • than modify your theme’s any file (depending on your choose where to display it) you want by adding function given below:

FAQ

What are the requirements for this Plugin?

You just need a Google ID (account). If you don’t know what your Google ID is:

Login to your Google Reader acount and click “shared items” on left sidebar. Than you will see a link that has a path to contents you shared before as below:

http://www.google.com/reader/shared/06800100454687167248

The equivalent data in path you get to bolded data above is your Google ID.

How can I have a button to directly share some content from webpages with Google Reader

Login to your Google Reader acount and click “Notes” on left sidebar. Than you can drag and drop the sampled buton to any area you want on your browser. Or you can manually create a button has a location as below (pleace remove the line spaces):

javascript:var%20b=document.body;var%20GR________
bookmarklet_domain='http://www.google.com';if(b&amp;
&amp;!document.xmlVersion){void(z=document.createElement
('script'));void(z.src='http://www.google.com/reader/
ui/link-bookmarklet.js');void(b.appendChild(z));}else{}

Contributors & Developers

“Google Shared Contents” is open source software. The following people have contributed to this plugin.

Contributors