このプラグインは WordPress の最新3回のメジャーリリースに対してテストされていません。もうメンテナンスやサポートがされていないかもしれず、最新バージョンの WordPress で使用した場合は互換性の問題が発生する可能性があります。

GPlus

説明

gplus is a WordPress Plugin.

It provides a WordPress Widget that displays a list of your recent
Google+ activities in the sidebar. The plugin uses the Google+ API, and
authenticates via an API key that YOU (the installer) acquire via the
Google API Console.

Because it uses the public REST API of Google+ that Google documents and
supports, this plugin is very reliable and simple. (Other WordPress
widgets that say they show Google+ activity have relied on
screen-scraping, which makes them brittle and unreliable.)

Dependencies

This plugin depends on and uses the published google-api-php-client,
available at http://code.google.com/p/google-api-php-client/ .

Rather than requires the installer to download this code, it is packaged
within the plugin. The Google API php client library is licensed
independently from the gplus WordPress plugin; The former is licensed
under the Apache 2.0 license.

Thanks

Thanks for your interest!

You can make a donation at http://cheeso.members.winisp.net/GplusWidgetDonate.aspx

Check out all my plugins:
https://wordpress.org/extend/plugins/search.php?q=dpchiesa

-Dino Chiesa

スクリーンショット

  • This shows the rendering of the Widget in the sidebar of a WP blog.
  • This shows how to activate gplus in the Plugins menu in the WP Admin backend
  • Configuring the settings for the gplus widget in the WP Admin backend.

インストール

  1. Download gplus-wp-plugin.zip and unzip into the
    /wp-content/plugins/ directory.

  2. From the WordPress admin backend, Activate the plugin through the
    ‘Plugins’ menu.

  3. From the WordPress admin backend, in the Widgets menu, drag-and-drop
    the widget to your sidebar. You can place it in any position you
    like.

  4. Specify the settings for the widget:
    Title, Google+ ID, API Key, the maximum number of items to
    show, and the cache lifetime.

That’s it !

FAQ

Why do I need an API Key?

You need an API key from Google so that the requests that your wordpress
page sends to Google, will be authorized and allowed. Every time the
page loads, it sends out a request to Google, and gets the list of
activities. Google wants to know who’s asking for this information, and
the API key lets them track that.

Where do I get an API Key?

To get an API Key, you need to visit.
https://code.google.com/apis/console and click “API Access” on the
right-hand-=side navigation menu.

Copy and paste the API Key to the appropriate place in the Widget
configuration menu.

Will I be charged by Google for the requests?

No. The API key is free to get; you don’t even need to ask for it. In
fact Google will just display the API key when you login to the API
Console. I don’t speak for Google, but it seems to me they use the key
only for tracking purposes.

Google may throttle the level of requests if you use this plugin on a
heavily loaded site. In that case you may need to use OAuth2.0, which I
have not yet builtin to the plugin. But I could be convinced, for the
right price. 😉

How do I get my Google+ ID?

You can get it by examining a particular URL when you login to Google+.

First, you need to be on Google+. Go to https://plus.google.com and
login or sign up. It’s free to signup. (But you already knew that,
because you are on Google+, otherwise why would you want a G+ widget?)

Then, click the link for your profile. It will go to a URL like this:

https://plus.google.com/u/0/77373737273737373737/posts

Your id is the long string of digits in the middle there.

Can I set the visual style of the widget from the admin backend?

No, I haven’t built that capability into this simple plugin, just yet.
Let me know if you have strong requirements in this area.

You can “manually” apply css styling to the list. The css class name
used for the UL that holds the list of Google+ activities is ‘gplus’.

Does the plugin cache the results of its queries?

Yes. You can set the cache lifetime in the widgets panel of the admin
UI.

What does it mean, “cache lifetime”?

The term “cache lifetime” refers to the time period that the widget will
re-use results from the Google+ Activity query. When rendering itself
on a page, if the Widget has requested and received a list of activities
from Google within the cache lifetime (say, within the past 10 minutes),
then the widget will re-use those results. If the Widget has no saved
results, or the saved results are older than the configured cache
lifetime, then the widget will send a new request to Google to get the
information.

評価

このプラグインにはレビューがありません。

貢献者と開発者

GPlus はオープンソースソフトウェアです。以下の人々がこのプラグインに貢献しています。

貢献者

“GPlus” をあなたの言語に翻訳しましょう。

開発に興味がありますか ?

コードを閲覧するか、SVN リポジトリをチェックするか、開発ログRSS で購読してみてください。

変更履歴

2012.06.20

  • optionally display the google+ logo in the widget

2012.06.19

  • refactored to render the form via a view php file.

2012.06.14

  • more intelligent handling of whitespace in activity strings. This
    fixes an issue with ragged left margins when some activities were
    rendered in HTML.

2012.06.05

  • add caching

2012.6.4

  • fix some messages
  • add donation button

2012.5.19

  • minor refactoring in php module
  • first checkin to svn

2012.5.15

  • GPLv3 license.
  • Tighten up some documentation.

2012.5.12

  • initial release