RSS Post Importer - Use Case - How to Automatically Generate Articles Based on RSS Feed Content Using ChatGPT


Use Case - How to automatically generate articles based on RSS feed content using ChatGPT

Back to User Guide

Note: This guide requires:

Introduction

The RSS Post Importer plugin lets you import posts or pages from an external site to your WordPress site. It can be useful for linking together sites that you own that should share content mutually, or for scraping similar sites for content that relates to what your site is about.

The integration with ChatGPT allows to generate new unique articles on your site taking the RSS feed content as a base.

Use Case Front-End

Example of the original content from RSS feed:

Example of the original content from RSS feed - RSS Feed Importer WordPress Plugin
Example of the original content from RSS feed

Example of writing a new article based on the content from RSS feed:

Example of writing a new article based on the content from RSS feed - RSS Importer WordPress
Example of writing a new article based on the content from RSS feed

Example of translating to French the content fetched from RSS feed:

Example of translating to French the content fetched from RSS feed - WordPress RSS Multi Importer Plugin
Example of translating to French the content fetched from RSS feed

Use Case Assumptions

In this example we will consider how to integrate the plugin with ChatGPT and automatically generate articles based on the RSS feed content. 

We assume that you have already bought the plugin, but not installed it yet.

It follows:

Installing the Plugin

The process is the same for all CM plugins and add-ons.

CreativeMinds Customer Account Dashboard - Downloads tab
CreativeMinds Customer Account Dashboard
  • Download the plugin from your customer dashboard.
  • Log in to WordPress and navigate to the WordPress Admin  → Plugins settings.
  • Click on Add New.
  • Activate it and add the license.

Learn more: Getting Started - Plugin Overview


Quick Recap

As in this example use case guide we cover only how to integrate the plugin with ChatGPT and configure its settings. We recommend you to get to know first how to work with the plugin in general. You can learn the following in our another use case guide: 

  • Configuring the plugin
  • Creating a Feed
  • Choosing What's Important in the Feed
  • Choosing What's Important in the Post
  • How the Posts Are Displayed (Post Template)
  • Managing Feeds
  • Fetch History

Learn more about it here: 

What is ChatGPT

ChatGPT is an AI chatbot that uses natural language processing and machine learning to generate conversations based on user input. It is based on OpenAI's GPT-3 model and can be used to create automated conversations for websites and applications.

ChatGPT processes text using tokens. Tokens are pieces of words used for natural language processing. For English text, 1 token equals about 4 characters or 0.75 words. Every time the plugin requests the information, it spends tokens which are paid. When you register your account, OpenAI gives a start credit which you can spend. When your credit is run out, you can pay to continue using the service.

Learn more about Tokens and check the Pricing Plans.

In order to connect your forum with ChatGPT, you need to obtain the API Key.

Creating API Key

To get the API key, please do the following:

  1. Go to the OpenAI website at https://openai.com/.
  2. Click on the “Get Started” button.
  3. Fill in your email address and password to create a new account.
  4. Verify your email address by clicking the link sent to your email.
  5. Once you have verified your email address, log in to your OpenAI account.
  6. Click on the “API keys” link in the right-hand navigation menu.
  7. Click the “Create new Secret key” button.
  8. Copy the API key that is generated from the popup.
  9. Keep your API key safe and secure, as it provides access to your OpenAI account and services.

As creating an API key is committed on a third-party service side, so the process of obtaining an API key can have some minor changes from time to time. Follow the instructions on the OpenAI site.

Enabling ChatGPT Integration On Your Site

To configure the default integration settings, navigate to Admin Dashboard → CM RSS Post Importer Pro → Options → Chat GPT tab.

Navigation to the ChatGPT integration settings - RSS Feeds Importer Plugin
Navigation to the ChatGPT integration settings

There you can find the following settings:

ChatGPT integration settings - RSS Feed Importer WordPress Plugin
ChatGPT integration settings
  • Enable Chat GPT - Turn on this option to activate ChatGPT feature.
  • Chat GPT API Key - Enter here the API key obtained from OpenAI site.
  • Chat GPT Model - The plugin supports two versions of ChatGPT which you can choose - GPT 3.5 Turbo and GPT 4 (beta). Have a note that currently the version GPT 4 may not be available for you as it is in a limited beta stage and requires joining the waitlist on the OpenAI page.
  • Chat GPT Reply Length - Set the maximum length of the reply requested from the ChatGPT. This value is set in tokens. Warning: longer replies use more tokens, so you can reach limit faster. Learn more about Pricing Plans.
  • Chat GPT AI Temperature - This option allows to define how accurate the generated content will be. This value ranges from 0 to 2. Higher values like 0.8 will make the output more random, while lower values like 0.2 will make it more focused and deterministic.
  • Chat GPT AI Role - Here you can define the role for the Chat GPT assistant to make your content more specialized. This way, if you define the assistant as an expert in some certain area, it will generate the content related to your main topic.
  • Chat GPT Prompt Title Template - Specify the request which the plugin will be sending to ChatGPT for generating new title for the article. Important: this template must contain the following placeholder: {rss_title}.
  • Chat GPT Prompt Content Template - Specify the request which the plugin will be sending to ChatGPT for generating new content for the article. Important: this template must contain the following placeholder: {rss_content}.

When you finished configuring the settings, click the button Save Changes at the bottom of the page.

Saving the changes - RSS Importer WordPress
Saving the changes

So, let's enable the ChatGPT feature, add an API key, and change both prompt templates to:

  • Write a new title based on this: {rss_title}
  • Write a new article based on this: {rss_content}

This is how our settings look like after setting up:

Editing ChatGPT integration settings - WordPress RSS Multi Importer Plugin
Editing ChatGPT integration settings

These settings are the default ones. For each added RSS feed you can enable or disable the ChatGPT integration and override some of the default settings.

So, let's configure the RSS feed import.

RSS Feed Settings

To manage RSS feeds, navigate to Admin Dashboard → CM RSS Post Importer Pro → RSS Feeds. There you can either add new RSS feed by clicking the Add RSS Feed button or edit the existing feed by hovering on it and clicking Edit.

Adding/editing RSS feeds - RSS Feeds Importer Plugin
Adding/editing RSS feeds

TIP

We will not consider the whole process of adding/editing the RSS feed, only the part related to the ChatGPT integration. To learn more about this process, check these use case guides:

In the box General, find the section Settings for Chat GPT. The options there allow you to enable the ChatGPT feature for this RSS feed and override some of the global plugin settings.

Settings for overriding global ChatGPT integration settings - RSS Post Importer
Settings for overriding global ChatGPT integration settings

The settings are:

  • Use Chat GPT for current feed - Check the box to enable the ChatGPT feature for the current RSS feed. By default, it's disabled.

Next 5 options allow you to override the global plugin settings:

  • Chat GPT AI Role
  • Chat GPT Reply Length
  • Chat GPT Temperature
  • Chat GPT Prompt title template
  • Chat GPT Prompt content template

If some field is empty, then it follows the global plugin settings.

Let's create 2 feeds with the same RSS source:

1. The first one will follow the global ChatGPT integration settings. Here we will just enable the first option and keep all other fields empty, so the task will be to write a new article based on the content fetched from RSS feed:

Enabling ChatGPT feature for the current RSS feed - RSS Feed Importer WordPress Plugin
Enabling ChatGPT feature for the current RSS feed

2. For the second field, we will change the prompt template for the title and content - the task will be to translate the content to French:

Overriding global plugin settings for ChatGPT integration - RSS Importer WordPress
Overriding global plugin settings for ChatGPT integration

Examples of Generated Content

First let's see the original content article in the RSS feed:

Example of the original content from RSS feed - WordPress RSS Multi Importer Plugin
Example of the original content from RSS feed

Here's the example of the post, where ChatGPT should write a new article:

Example of writing a new article based on the content from RSS feed - RSS Feeds Importer Plugin
Example of writing a new article based on the content from RSS feed

And here's the example of the post, where the ChatGPT should just translate the content to French:

Example of translating to French the content fetched from RSS feed - RSS Post Importer
Example of translating to French the content fetched from RSS feed

TIP

If you want to have more control over the published content, you can hold the generated content for moderation. When editing the RSS import process, find the box Post Template (Export). You can choose the necessary Status for the generated posts in the relevant option, for example - Draft. This way, you can review and edit articles before publishing them.

Changing the post status for the generated content - RSS Feed Importer WordPress Plugin
Changing the post status for the generated content

End Result

Following the instructions found in the plugin and guides, you should be able to integrate the plugin with ChatGPT and automatically generate articles based on the RSS feed content.

Use Case Front-End

Example of the original content from RSS feed:

Example of the original content from RSS feed - RSS Importer WordPress
Example of the original content from RSS feed

Example of writing a new article based on the content from RSS feed:

Example of writing a new article based on the content from RSS feed - WordPress RSS Multi Importer Plugin
Example of writing a new article based on the content from RSS feed

Example of translating to French the content fetched from RSS feed:

Example of translating to French the content fetched from RSS feed - RSS Feeds Importer Plugin
Example of translating to French the content fetched from RSS feed

More information about the RSS Post Importer plugin for WordPress

Other WordPress products can be found at CreativeMinds WordPress Store

Let us know how we can Improve this Product Documentation Page

To open a Support Ticket visit our support center
Did this answer your question? Thanks for the feedback There was a problem submitting your feedback. Please try again later.