February 18, 2020
•
263

How to Retrieve RSS Feed Items and Post to WordPress

Use Integromat to watch for RSS feed items and auto post them to a Wordpress site. No more consuming time manually publishing content to multiple sites!

A woman with a laptop reading news using her RSS channel.

What this scenario does: Watches for RSS feed items and posts them to a Wordpress site.

Level of difficulty: Beginner

Implementation Time: Approximately 20 mins

Prerequisites: The following is needed to setup the scenario:

  1. Your Wordpress site
  2. Your second website /channel which will serve as the source of information (Wordpress optional)
  3. RSS feed reader installed

RSS or Really Simple Syndication is a free web-based content distribution method that helps you retrieve updates of your favorite content automatically from various sites using a RSS reader.

In Make, you can retrieve RSS feed items from one of your websites and automatically distribute them to your other sites, social media channels etc. This tutorial shows you exactly how to do that however to keep it simple, the feeds are posted to just 1 Wordpress site. Let’s begin.

Step 1: Add the RSS app and configure

Go over to your Make dashboard. To create the scenario, click on the Create a new scenario button on the top right corner:

Create a new scenario button in Make

  • You may select the apps you wish to integrate on this screen or simply skip this step as you will be able to do that directly when building your scenario:
Choosing apps for a new scenario
  • You will see an empty module with a question mark. Click on the question mark, search for RSS and select it:
Searching for the RSS app
  • Now click on the Watch RSS feed items trigger module since you want to watch for the latest feeds:
RSS Watch RSS feed items module
  • Next, copy the RSS URL from your Website that you want to receive feed items from and paste it to the URL field in the RSS > Watch RSS feed items module. You can set the Maximum number of returned items (feeds in this case) that Make will return during a single execution. If the number is set too high, it can result in timeout errors. Let’s set this to 2:
RSS module maximum number of items
  • If you click the advanced settings, there are fields for Username and Password should this be required to receive feeds from the site:
RSS module advanced settings

Step 2: Add the Wordpress app and configure

The RSS module is now configured. Next, you need to add the Wordpress app. Click on the small circle on the right of the RSS module to add the next module:

Adding the next module after RSS

  • Search for Wordpress in the search box and select it:
Searching for WordPress in Make
  • A box with 2 more options will appear, select the first Wordpress app. The legacy app is no longer in use and will be discontinued once Wordpress deprecates the old API:
WordPress app versions in Make
  • Next, select the Create a Post module since this is the intention:
WordPress Create a Post module
  • Now you need to create a connection to your account. Click on Add, enter your Wordpress credentials and click Continue:
Adding a WordPress connection
  • In the Type field, select Posts from the menu. Now you need to map the elements outputted by the RSS module to the relevant fields in the Wordpress module. Map the Title element to the Title field, the Description element to the Content field and the Summary element to the Excerpt field. Lastly, map the Date**created element to the Date** field:
Mapping the RSS date to the WordPress post
  • Scroll down to the Status field. Here you have the option of selecting one of the various statuses. To publish the article immediately once received, select Publish from the menu:
WordPress post status set to Publish
  • Next is the Format field. Here you have a list of format options to choose from depending on the type of post. For this demo, choose the standard option:
WordPress post format setting
  • In the Categories field, select the category that you want the post to be added to. You can also select tags in the field below:
WordPress categories and tags
  • Next, you can select the Author from the menu in the Author field or toggle the Map switch and map the relevant element. To retrieve the Featured media ID, the relevant Wordpress module will need to be added prior to the Wordpress > Create a post module. For the sake of simplicity, let’s leave this field blank. Lastly, under the Comments and Ping status fields, select Open:
WordPress comment and ping status

Step 3: Test the scenario

Your scenario is configured and good to go but you still need to do a quick test. Click on the Save button at the bottom of the screen. Next, upload new content to your website that you are watching for feeds and then click on the Run once button to execute the scenario once:

Run once button

  • As a side note, if you would like to retrieve older content from the website, right click on the RSS module and select Choose where to start. Here, select All RSS feed items or manually select the ones you want:
Choosing which RSS items to process
  • If the execution was successful, you will see 2 numbered circles above each module that you can click to view the module’s output. The number in the circle signifies the number of operations consumed by each module in a single execution. Here is what the scenario looks like after the execution:
Scenario after execution
  • Click on the output of the Wordpress module. You can see that 2 items were received from the RSS module corresponding to the 2 operations and posted to the Wordpress site:
WordPress module output
  • Here’s a look at the posts on the website:
Posts published on the WordPress site
  • Now go back to the scenario and click on the clock icon. Here you can set your preferred schedule:
Scenario schedule settings
  • Finally, set the scenario to on by clicking the switch at the bottom left corner:
Turning the scenario on

There you have it! No more consuming time manually publishing content to multiple sites!

Happy Automating!