[WordPress] 外掛分享: Diffen

首頁外掛目錄 › Diffen
WordPress 外掛 Diffen 的封面圖片
10+
安裝啟用
尚無評分
4108 天前
最後更新
問題解決
WordPress 3.0.1+ v2.1 上架:2013-03-21

內容簡介

Diffen 比較外掛讓 WordPress 博客可以輕鬆搜尋並嵌入比較內容到他們的博客。

在 Diffen 上,您可以比較任何事物 - 棒球選手、信用卡、電腦處理器、宗教、國家、公司......您可以想像得到的。我們希望與 WordPress 博客分享這種比較任何事物的能力。我們希望做得無縫,這樣您就不必離開 WordPress 內部的編輯介面進行搜索。

那麼這是如何運作的?
該外掛會在您的編輯控制台上新增一個按鈕。聰明的我們稱其為「新增比較」,因為這正是該外掛能幫助您做的事情。此按鈕就在新增媒體按鈕旁邊,功能類似。單擊按鈕,會彈出一個浮動框,允許您搜尋比較。只需輸入您想比較的兩件事物,然後按 Enter。

如果 Diffen 有您需要的數據(它通常會有),您將看到一張漂亮格式化的比較圖表,適用於您的搜索詞。點擊一次,該圖表將添加到您的博客文章中。WordPress 不允許內嵌框架(例如 YouTube 內嵌)在編輯器內查看,但請放心,它是存在的。預覽您的文章,您將看到它。有時您可能需要調整高度屬性,但在大多數情況下,它只是起到了魔法般的作用。快樂比較吧!

技術方面:
有技術基礎的用戶可能對幕後發生的情況感興趣。該外掛會搜索 Diffen,當它找到所請求的比較時,會將一個內嵌框架嵌入到博客文章中(就像 YouTube 或 Slideshare 的內嵌一樣)。

如果搜索沒有返回任何結果該怎麼辦?
這是 Diffen 比較外掛的 v0.1 版本。我們正在努力擴展其功能集,以便在 Diffen 上無法找到內容時自動從維基百科中提取內容。我們將很快推出此功能,最好的部分是,您不必升級插件即可從此功能中受益。它將「就這樣工作」。

外掛標籤

開發者團隊

⬇ 下載最新版 (v2.1) 或搜尋安裝

① 下載 ZIP → 後台「外掛 › 安裝外掛 › 上傳外掛」
② 後台搜尋「Diffen」→ 直接安裝(推薦)
📦 歷史版本下載

原文外掛簡介

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.”

延伸相關外掛

文章
Filter
Apply Filters
Mastodon