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

説明

The Diffen comparison plugin allows WordPress bloggers to easily search for and embed a comparison on their blog.

You can compare anything on Diffen – baseball players, credit cards, computer processors, religions, countries, companies…you get the idea. We wanted to share with WordPress bloggers this ability to compare anything. And we wanted to do it seamlessly so you would not have to leave your editing interface inside WordPress to do this search.

So how does it work?
The plugin adds a new button to your editing dashboard. Geniuses that we are, we called it “Add a Comparison” because that is exactly what the plugin helps you do. This button is right next to the Add Media button and functions in a very similar fashion. Click on the button and an overlay pops up that allows you to search for the comparison. Simply enter the two things you want to compare and hit Enter.

If Diffen has the data you need (it usually does), you will see a nicely formatted comparison chart for your search terms. One click and the chart will be added to your blog post. WordPress does not allow iFrames (like YouTube embeds) to be viewed inside the editor but rest assured it’s there. Preview your post and you will see it. You might have to adjust the height attribute sometimes but for the most part, it just works. Like magic. Happy comparing!

Under the covers:
Technically-minded users may be interested in what happens behind the scenes. The plugin searches Diffen and when it finds the comparison being requested, embeds an iFrame into the blog post (just like a YouTube or Slideshare embed).

What if the search does not return anything?
This is v0.1 for the Diffen comparison plugin. We are working on expanding the feature set so that the service automatically pulls in content from Wikipedia if it’s not available on Diffen. We will launch this soon and the best part is that you will NOT have to upgrade the plugin to benefit from this feature. It will “just work.”

スクリーンショット

  • A button to “Add a Diffen comparison” will appear in the post editor.
  • You can preview and resize the comparison chart you have created.
  • You can also choose a dark theme for the embed if that suits your blog’s design better.

インストール

  1. Upload diffen.zip to the /wp-content/plugins directory.
  2. Activate the plugin through the Plugins menu in WordPress.
  3. Create a new comparison inside the post editor.

FAQ

See FAQ.

評価

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

貢献者と開発者

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

貢献者

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

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

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

変更履歴

1.0

  • Initial release.
  • Allows authors to generate and embed comparison charts from Diffen.com

2.0

  • Confirmed compatibility with WordPress 3.9
  • Added the option to embed light or dark themed skin

2.1

  • Tested compatibility with WordPress 4.1.
  • Made the error message easier to understand when a comparison cannot be found.