极客软件:WordPress评论审​​核通知程序

Many people like myself don’t completely trust the various WordPress spam filters and elect to moderate all comments before they show up on the actual site, which ends up flooding your email with moderation notices.

像我这样的许多人并不完全相信各种WordPress垃圾邮件过滤器,并选择审核所有评论,然后再将其显示在实际网站上,最终使审核通知泛滥成灾。

In my quest to keep a clean inbox, I’ve created a small application that notifies me directly on my desktop when new comments come in to the moderation queue. It accesses the WordPress XML-RPC API by means of a small WordPress plugin that I’ve created.

为了保持收件箱的整洁,我创建了一个小应用程序,当新评论进入审核队列时,它会在桌面上直接通知我。 它通过我创建的一个小型WordPress插件访问WordPress XML-RPC API。

First, screenshots… notice the icon in the system tray. You can quickly launch your comment moderation page via the right-click menu.

首先,截图...请注意系统托盘中的图标。 您可以通过右键菜单快速启动评论审核页面。

极客软件:WordPress评论审​​核通知程序

When there are new comments, you’ll see this little message pop up, and then the icon will change to some random icon alert icon I found somewhere. If you click on the text it will take you to the moderation page.

当有新评论时,您会看到一条小消息,然后该图标将变为我在某处发现的一些随机图标警报图标。 如果单击文本,将带您进入审核页面。

极客软件:WordPress评论审​​核通知程序

The settings page is about as simple as it gets. Just enter in the base url of your blog and it’ll figure out the right path to xmlrpc. (unless you’ve renamed xmlrpc.php, in which case this won’t work at all)

设置页面就这么简单。 只要输入您博客的基本URL,它就会找出xmlrpc的正确路径。 (除非您已重命名为xmlrpc.php,在这种情况下这根本无法使用)

极客软件:WordPress评论审​​核通知程序

The password is encrypted and stored in the xml file in the same directory. Don’t assume this is entirely secure, however. Remember that all XML-RPC utilities are insecure unless you are using SSL or something like that.

密码被加密并存储在同一目录的xml文件中。 但是,不要以为这是完全安全的。 请记住,除非您使用SSL或类似的东西,否则所有XML-RPC实用程序都是不安全的。

Naturally, I don’t guarantee anything with this software, and am not responsible if it breaks windows, melts all the spinach in your freezer, or dyes your hair green.

自然,我对这个软件不做任何保证,如果它破窗,融化冰箱中的所有**或染成绿色,我也不承担任何责任。

I will be releasing the source code to this utility shortly, since it was based partially on the open source Google Reader Notifier.

我将很快将源代码发布到该实用程序,因为它部分基于开放源代码Google Reader Notifier

Technical Note

技术说明

The WordPress plugin implements a new XML-RPC method called geek.getCommentModerationCount. This method could be called by any other language that can handle XML-RPC, so the WordPress plugin could be used by itself.

WordPress插件实现了一个新的XML-RPC方法,称为geek.getCommentModerationCount。 任何可以处理XML-RPC的语言都可以调用此方法,因此WordPress插件可以单独使用。

This means somebody could easily write an application for Linux or OS X to call the same method. (hint) It would even be possible to implement other WordPress functions this way, through a plugin.

这意味着有人可以轻松地为Linux或OS X编写应用程序以调用相同的方法。 (提示)甚至可以通过插件以这种方式实现其他WordPress功能。

Take a look at the WordPress plugin for the details, it’s very simple.

看一下WordPress插件的详细信息,这很简单。

WordPress Support Plugin Installation (Required)

WordPress支持插件安装(必需)

The WordPress plugin should be copied to your wp-content/plugins/ folder in your WordPress installation, and then activated in the Plugins panel. I’ve tested with WordPress 2.0 and WordPress MU.

WordPress插件应复制到WordPress安装中的wp-content / plugins /文件夹中,然后在“插件”面板中**。 我已经用WordPress 2.0和WordPress MU测试过。

Notifier Installation

通知程序安装

Unzip the file and put it into a directory where you’d like to keep it. If you want it to run on startup, you’ll have to create a shortcut to it in your startup folder.

解压缩文件并将其放入您要保留的目录中。 如果希望它在启动时运行,则必须在启动文件夹中创建它的快捷方式。

Once you launch the application, you can configure the settings and it should work.

启动应用程序后,您可以配置设置,它应该可以正常工作。

System Requirements

系统要求

.NET 2.0 Framework

.NET 2.0框架

Support

支持

Leave feedback in the comments. If you have issues with this application, you can always ask your question on the forum.

在评论中留下反馈。 如果您对此应用程序有疑问 ,可以随时在论坛上提问

Download WordPress Notifier

下载WordPress通知程序

翻译自: https://www.howtogeek.com/howto/the-geek-blog/how-to-geek-software-wordpress-comment-moderation-notifier/