ifttt
Whether you’re a blogger, programmer, or just casual user of WordPress, you probably know WordPress is a helpful tool which can be used for a variety of tasks. Whether you’re trying to roll out your own self-hosted business powerhouse or are just trying to share your knowledge with the world, having an efficient workflow is vital to your success.
无论您是博客的撰写者,程序员还是只是WordPress的临时用户,您都可能知道WordPress是一个有用的工具,可用于各种任务。 无论您是要推出自己的自托管业务强国,还是只是想与世界分享您的知识,高效的工作流程对于您的成功至关重要。
Although using WordPress can sometimes be an intensive process, you can simplify your work by using IFTTT (short for ‘If This Then That’). IFTTT is a robust macro creation tool, with a simple to use interface. If you’ve ever used Microsoft Office from years past, you’re probably familiar with VBA scripting and the hassles it caused. Today however, things have changed and IFTTT allows you to to automate common tasks with a few clicks.
尽管使用WordPress有时可能是一个密集的过程,但是您可以使用IFTTT (“ If This Then That”的缩写)简化工作。 IFTTT是强大的宏创建工具,具有易于使用的界面。 如果您曾经使用过Microsoft Office,那么您可能对VBA脚本及其带来的麻烦很熟悉。 但是今天,情况发生了变化,IFTTT允许您单击几下即可自动执行常见任务。
For those unfamiliar with IFTTT, the service is relatively easy to pick up. First, you choose the application you want to automate (IFTTT supports 142 channels WordPress IFTTT section) and then you can choose from pre-made tasks or you can create your own.
对于不熟悉IFTTT的人,该服务相对较容易上手。 首先,您选择要自动化的应用程序(IFTTT支持142个通道的WordPress IFTTT部分 ),然后可以从预制任务中进行选择,也可以创建自己的任务。
Creating your own ‘recipe’ (the IFTTT name for macros) simply involves setting a trigger, and an action to occur. Everything is done via the web and you don’t need to touch a line of code. If you have a self-hosted WordPress install, then you’ll need to ensure that XML-RPC is enabled on your site (under Settings > Writing) for IFTTT to work. Additionally, if you have a security plugin installed on your site, you should ensure that it also isn’t blocking XML-RPC.
创建自己的“食谱”(宏的IFTTT名称)仅涉及设置触发器和要执行的操作。 一切都通过网络完成,您无需触摸任何代码。 如果您具有自托管的WordPress安装,则需要确保在站点上(在“设置”>“编写”下)启用了XML-RPC,IFTTT才能正常工作。 另外,如果您的站点上安装了安全性插件,则应确保它也不会阻止XML-RPC。
Integrating IFTTT with WordPress doesn’t require installing a new plugin or tweaking your site. All you need to do is provide IFTTT with your website URL and a username and password. If security is a concern for you, it’s always a good idea to create credentials specifically for IFTTT rather than using your administrator credentials.
将IFTTT与WordPress集成不需要安装新的插件或调整您的网站。 您需要做的就是向IFTTT提供您的网站URL以及用户名和密码。 如果您担心安全性,则始终最好为IFTTT创建凭据,而不要使用管理员凭据。
IFTTT features two types of triggers and two types of actions for recipes created on the site. The triggers include adding a new post and adding a new post with a specific tag or category. The IFTTT WordPress actions include creating a standard post, and creating a photo post.
IFTTT为站点上创建的配方提供两种类型的触发器和两种类型的操作。 触发器包括添加新帖子以及添加具有特定标签或类别的新帖子。 IFTTT WordPress动作包括创建标准帖子和创建照片帖子。
Since social media is a vital component of virtually any blog, we’re going to focus on that first. Sure, you could use IFTTT to share posts to Facebook, Twitter and other social sites, but you can also do that with Jetpack. The list below is focused on less conventional uses which aren’t as apparent:
由于社交媒体几乎是所有博客的重要组成部分,因此我们将首先关注它。 当然,您可以使用IFTTT将帖子分享到Facebook,Twitter和其他社交网站,但也可以使用Jetpack进行操作 。 以下列表主要针对不太明显的不太常规的用途:
Instagram: If you’re an avid Instagram user, you can have Instagram photos tagged with a specific keyword posted to your WordPress category under a specific category. (see recipe).
Instagram :如果您是Instagram狂热用户,则可以将带有特定关键字的Instagram照片发布到特定类别下的WordPress类别中。 ( 请参阅食谱 )。
SoundCloud: If you’re a podcaster or musician who uses SoundCloud to share your content, you can have WordPress generate a blog post automatically whenever you add new content (see recipe).
SoundCloud :如果您是使用SoundCloud共享您的内容的播客或音乐家,则可以在每次添加新内容时让WordPress自动生成博客文章( 请参阅食谱 )。
YouTube: Managing video is a difficult process as is. Make your life a bit easier by creating your blog posts automatically when you upload videos to YouTube (see recipe)
YouTube :管理视频本身是一个困难的过程。 在将视频上传到YouTube时自动创建博客帖子,从而使您的生活更轻松( 请参阅食谱 )
Auto blogging: Sometimes you might have a situation where you’ll have posts from an outside blog which you need featured on your site. By using IFTTT, you can pull posts from an RSS feed and have them reposted through your WordPress site (see recipe).
自动博客 :有时,您可能会遇到来自外部博客的帖子,而这些帖子需要在网站上显示。 通过使用IFTTT,您可以从RSS提要中提取帖子,并通过WordPress网站重新发布它们( 请参阅食谱 )。
Evernote archival: Although backing up your WordPress website is a relatively simple task, it never hurts to have redundancy in your workflow. By using IFTTT you can automatically back up your blog posts to Evernote (see recipe).
Evernote档案 :尽管备份WordPress网站是一项相对简单的任务,但在工作流程中具有冗余性也无济于事。 通过使用IFTTT,您可以自动将博客文章备份到Evernote( 请参阅食谱 )。
Although IFTTT is a great way to help streamline post creation when it comes to handling multimedia posts, when using a recipe to create a WordPress post, you should have IFTTT create a draft so you can edit the post beforehand to ensure it fits your SEO strategy. Since posting videos and multimedia alone isn’t much good for your readers, it makes sense to add content to the posts before they go live.
尽管在处理多媒体帖子时,IFTTT是帮助简化帖子创建的一种好方法,但是在使用配方创建WordPress帖子时,您应该让IFTTT创建草稿,以便可以事先编辑帖子以确保它适合您的SEO策略。 由于仅发布视频和多媒体内容对您的读者并没有多大好处,因此在发布之前将内容添加到发布中是有意义的。
On a more positive note, with IFTTT, the sky literally is the limit for what you can achieve. The recipes mentioned in this article are only meant to be a primer. As mentioned earlier, you can always create your own recipes to fit your needs.
更为积极的一点是,使用IFTTT,天空实际上是您可以实现的极限。 本文中提到的食谱仅是入门指南。 如前所述,您始终可以创建自己的配方来满足您的需求。
翻译自: https://www.sitepoint.com/automate-wordpress-with-ifttt/
ifttt
相关资源:25个经典网站源代码