[wordpress插件] DiffenDIFF

wordpress 插件 文章 2020-04-17 00:31 495 0 全屏看文

AI助手支持GPT4.0

评分
0
描述

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

Diffen 比较插件可让WordPress博客作者轻松搜索并在他们的博客中嵌入比较。

You can compare anything on Diffen – baseball players, credit cards, computer processors, religions, countries, companies…you get the idea.

您可以在Diffen上进行比较-棒球运动员,信用卡,计算机处理器,宗教,国家,公司...您就会明白。

We wanted to share with WordPress bloggers this ability to compare anything.

我们想与WordPress博客分享这种比较任何功能的能力。

And we wanted to do it seamlessly so you would not have to leave your editing interface inside WordPress to do this search.

而且我们希望无缝地进行操作,因此您不必将编辑界面留在WordPress内即可进行搜索。

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.

只需输入要比较的两件事,然后按Enter。

If Diffen has the data you need (it usually does), you will see a nicely formatted comparison chart for your search terms.

如果Diffen拥有您需要的数据(通常是这样),您将看到搜索词的格式正确的比较表。

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.

WordPress不允许在编辑器中查看iFrame(例如YouTube嵌入),但请放心,它在那里。

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.

有时您可能需要调整height属性,但是在大多数情况下,它只是起作用。

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

该插件搜索Diffen,并在找到要比较的内容时,将iFrame嵌入博客文章中(就像嵌入YouTube或Slideshare一样)。

What if the search does not return anything?

如果搜索不返回任何内容怎么办?

This is v0.1 for the Diffen comparison plugin.

这是Diffen比较插件的v0.1。

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.

我们正在努力扩展功能集,以便该服务在Diffen上不可用时自动从Wikipedia中提取内容。

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

它将“正常工作”。

安装步骤

    1. Upload diffen.zip to the /wp-content/plugins directory.
    2. diffen.zip 上载到 / wp-content / plugins 目录。

    3. Activate the plugin through the Plugins menu in WordPress.
    4. 通过WordPress中的插件菜单激活插件。

    5. Create a new comparison inside the post editor.
    6. 在帖子编辑器中创建一个新的比较。

下载地址
https://downloads.wordpress.org/plugin/diffen.2.1.zip
-EOF-

AI助手支持GPT4.0