Title: Google Shared Contents
Author: samkon
Published: <strong>2009 年 5 月 22 日</strong>
Last modified: 2009 年 5 月 22 日

---

搜索插件

**该插件尚未通过WordPress的最新3个主要版本进行测试**。 当与较新版本的WordPress一起
使用时，可能不再受到维护或支持，并且可能会存在兼容性问题。

![](https://s.w.org/plugins/geopattern-icon/google-shared-contents.svg)

# Google Shared Contents

 作者：[samkon](https://profiles.wordpress.org/samkon/)

[下载](https://downloads.wordpress.org/plugin/google-shared-contents.1.0.zip)

 * [详情](https://cn.wordpress.org/plugins/google-shared-contents/#description)
 * [评价](https://cn.wordpress.org/plugins/google-shared-contents/#reviews)
 *  [安装](https://cn.wordpress.org/plugins/google-shared-contents/#installation)
 * [开发进展](https://cn.wordpress.org/plugins/google-shared-contents/#developers)

 [支持](https://wordpress.org/support/plugin/google-shared-contents/)

## 描述

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.

## 屏幕截图

 * [[
 * Noting something from a webpage to google reader.

## 安装

 * 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:

## 常见问题

  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{}
    ```

## 评价

此插件暂无评价。

## 贡献者及开发者

「Google Shared Contents」是开源软件。 以下人员对此插件做出了贡献。

贡献者

 *   [ samkon ](https://profiles.wordpress.org/samkon/)

[帮助将「Google Shared Contents」翻译成简体中文。](https://translate.wordpress.org/projects/wp-plugins/google-shared-contents)

### 对开发感兴趣吗?

您可以[浏览代码](https://plugins.trac.wordpress.org/browser/google-shared-contents/)，
查看[SVN仓库](https://plugins.svn.wordpress.org/google-shared-contents/)，或通过
[RSS](https://plugins.trac.wordpress.org/log/google-shared-contents/?limit=100&mode=stop_on_copy&format=rss)
订阅[开发日志](https://plugins.trac.wordpress.org/log/google-shared-contents/)。

## 额外信息

 *  版本 **1.0**
 *  最后更新：**17 年前**
 *  活跃安装数量 **10+**
 *  已测试的最高版本为 **2.7.1**
 *  语言
 * [English (US)](https://wordpress.org/plugins/google-shared-contents/)
 * 标签
 * [google](https://cn.wordpress.org/plugins/tags/google/)[Google Reader](https://cn.wordpress.org/plugins/tags/google-reader/)
 *  [高级视图](https://cn.wordpress.org/plugins/google-shared-contents/advanced/)

## 评级

尚未提交反馈。

[Your review](https://wordpress.org/support/plugin/google-shared-contents/reviews/#new-post)

[查看全部评论](https://wordpress.org/support/plugin/google-shared-contents/reviews/)

## 贡献者

 *   [ samkon ](https://profiles.wordpress.org/samkon/)

## 支持

有话要说吗？是否需要帮助？

 [查看支持论坛](https://wordpress.org/support/plugin/google-shared-contents/)

## 捐助

您愿意支持这个插件的发展吗?

 [ 捐助此插件 ](http://www.samkon.org)